Cov txheej txheem:

Throbbing Apple Logo Sticker: 3 Kauj Ruam (nrog Duab)
Throbbing Apple Logo Sticker: 3 Kauj Ruam (nrog Duab)

Video: Throbbing Apple Logo Sticker: 3 Kauj Ruam (nrog Duab)

Video: Throbbing Apple Logo Sticker: 3 Kauj Ruam (nrog Duab)
Video: And You, How Would You Lift A BMW R 1250 GS? Criminel Rider #shorts #bmw 2024, Kaum ib hlis
Anonim
Throbbing Apple Logo Sticker
Throbbing Apple Logo Sticker

Qhov me me gizmo ntxiv lub cim "pw tsaug zog Mac throb" rau ib qho zoo li Apple lub logo decal.

Lub tswv yim rau qhov no tuaj txog thaum hla Apple Store hauv Palo Alto, California lig ib hmo. Tom qab teev, thaum lub khw "tsaug zog," lub teeb pom kev zoo lub log tawm sab hauv sab hauv ib yam nkaus li lub zog ntsuas ntawm lub Mac pw, thiab kuv tsuas yog poob rau luag. Tsis cuam tshuam, hnub tom qab tus phooj ywg tau qhia kuv nws lub Toyota Yaris tshiab, lub tsheb me me uas ntxim nyiam uas nws zoo li qub "jelly taum" iMac tau ua kom pom tseeb dua los ntawm Apple lub logo txiav txim siab nws tau tso rau tom qab lub qhov rais. Ob leeg tsuas yog quaj kom tau ua ke …

Kauj Ruam 1: Ntaus Ntawv

Tus Ntaus
Tus Ntaus

Kuv tau sim ua kom tiav ib qho ntawm cov phiaj xwm yooj yim siv ib qho ntawm Microchip's PIC10 microcontrollers, cov cuab yeej siv tau yooj yim uas raug nqi tsawg dua 70 xees ib leeg. Tsuas yog ob peb ntu xav tau:

- Lub microcontroller nws tus kheej. Hauv qhov no kuv tau siv saum npoo-PIC10F206 raws li nws yog yam kuv muaj ntawm tes, tab sis tsuas yog hais txog ib qho yooj yim microcontroller yuav ua rau koj muaj cov chaw rau program nws. - LED dawb. Kuv tau ua cov throbbers siv ob sab saum toj thiab 3mm hla-qhov ntau yam. - A 3 volt lithium coin cell (CR2032 hauv qhov no). - Lub roj teeb tuav. - Circuit board kom muaj cov khoom siv. Txij li thaum kuv tau siv ntu ntu-ntu, Kuv tau xaiv los kos qee yam rau lub sijhawm. Yog tias siv cov khoom sib dhos dhau los, qhov tsim tau yooj yim txaus uas ib qho me me ntawm PCB perfboard nrog cov hlua dhia yuav zoo. - Lub khob ntshiab roj hmab nqus; pob ntawm rau ntawm lub khw muag khoom kho vajtse hauv zos. - Cov kua nplaum ntawm qee yam. Cov kua nplaum kub, kua nplaum nplaum los yog cyanoacrylate "Krazy Glue" yuav tsum ua haujlwm zoo. - Apple logo decal adhered to a clear glass window. Ob lub Cheebtsam uas feem ntau tshwm sim hauv microcontroller thiab LED cov haujlwm tau pom meej: tsis muaj qhov txwv tsis pub siv tam sim no rau LED (lub roj teeb lithium saib tau siv tsawg tsawg hauv tam sim no), thiab tsis muaj qhov txiav tawm lub peev xwm hla lub microcontroller lub zog ua (yooj yim tsis yog ' t xav tau hauv daim ntawv thov tsis raug cai no).

Kauj ruam 2: Txoj Cai

Nov yog PIC lub rooj sib txoos qhov chaws rau txoj haujlwm. Qhov kev siv ntawm LED tau hloov pauv siv qhov ntsuas qhov ntsuas qhov dav (PWM). Lwm Cov Lus Qhia thiab cov lus qhia nyob rau lwm qhov twb tau npog qhov no ntau yam zoo dua li kuv ua tau. Tsis muaj kev ua phem rau hauv kev tawm tswv yim tshawb nrhiav ib puag ncig lwm qhov yog tias koj tseem tsis tau paub txog qhov kev xav. PWM lub luag haujlwm voj voog tsis nce thiab nqis qis Kev kho Gamma tsim ib qho kev nthuav dav uas lub qhov muag pom tias yog qhov ze-linear nce hauv qhov ci. Vim tias kuv tub nkeeg thiab vim tias qhov chaw me me tau siv, tsis yog ua haujlwm tawm cov lus piav qhia ua haujlwm Kuv tsuas muaj lub rooj loj ntawm precomputed gamma-kho qhov tseem ceeb. PIC10F206 muaj chaw txaus kom muaj cov lus no, tab sis cov cuab yeej txwv ntau dua yuav tsis muaj qhov khoom kim heev no thiab yuav tsum muaj tus lej lej lej tiag tiag. Xov tus pin los ntawm PIC (GP2) yog siv rau qhov tso tawm. Tus pin no tau raug xaiv raws li kuv yuav txiav txim siab tom qab siv cov nti no sib piv ua haujlwm (muaj nyob ntawm pins GP0 thiab GP1) txhawm rau txheeb xyuas hmo ntuj lossis ntxoov ntxoo thiab pab kom throb tsuas yog thaum tsaus ntuj txaus. Raws li nws yog, lub cuab yeej tsuas throbs tsis kawg thaum lub roj teeb tau teeb tsa, tsis hais txog ib puag ncig. Lub voj voog ua haujlwm PWM nthuav tawm txhais tau tias LED tawm ntau lub sijhawm, thiab lub roj teeb tshiab tuaj yeem siv lub cuab yeej txuas ntxiv rau ob peb lub lis piam.

Kauj Ruam 3: Cov Khoom Kawg

Khoom Kawg
Khoom Kawg

Thaum sib sau ua ke, tus throbber tau yooj yim txuas (los ntawm lub khob nqus) mus rau lub qhov rais ncaj qha tom qab lub logo decal, thiab tom qab ntawd lub roj teeb tau tso.

Cov yeeb yaj kiab QuickTime txuas (tsuas yog hauv qab daim duab) qhia pom tus neeg ua haujlwm throbber. Lub khob nqus kuv siv ntawm no muaj cov nplhaib sib sib zog nqus uas ua rau pom qhov kawg, tab sis kuv tau pom txij li lub khob nqus dej uas zoo dua. Ob peb daim ntawv kawg ntawm lub luag haujlwm cuam tshuam: ua ntej, yog tias koj npaj yuav tso ib qho ntawm no rau hauv koj lub tsheb, nco ntsoov tias cov xeev thiab nroog tuaj yeem muaj txoj cai txwv tsis pub tso qee yam thiab xim teeb ntawm lub tsheb. Koj yuav xav ntxiv qhov hloov pauv kom nws tsuas pom thaum nres tsheb. Qhov thib ob, qee lub zej zog tuaj yeem yuam kom rov ua dua tshiab rau tag nrho lossis rau qee hom roj teeb. Ob qho ntawm cov kev cai no sib txawv los ntawm qhov chaw, yog li koj yuav tsum tau ua koj tus kheej kev tshawb fawb rau kev siv kom raug. Qhov no yuav luag zoo nkaus li tshwm sim zoo nkauj fanboyish. Qhov tseeb kuv muaj thiab txaus siab siv txhua yam ntawm cov kab ke sib txawv nyob rau niaj hnub; qhov no tsuas yog qee yam rau luag. Thov, tsis muaj kev tsov kev rog me me, cia peb txaus siab rau qhov nws yog dab tsi. Ua tsaug!

Pom zoo: