Cov txheej txheem:

Virtual Rotating LED Beacon (Rundumlicht): 5 Kauj Ruam
Virtual Rotating LED Beacon (Rundumlicht): 5 Kauj Ruam

Video: Virtual Rotating LED Beacon (Rundumlicht): 5 Kauj Ruam

Video: Virtual Rotating LED Beacon (Rundumlicht): 5 Kauj Ruam
Video: Powerlantz Car Emergency LED Breakdown Light review. 2024, Kaum ib hlis
Anonim
Virtual Rotating LED Beacon (Rundumlicht)
Virtual Rotating LED Beacon (Rundumlicht)
Virtual Rotating LED Beacon (Rundumlicht)
Virtual Rotating LED Beacon (Rundumlicht)
Virtual Rotating LED Beacon (Rundumlicht)
Virtual Rotating LED Beacon (Rundumlicht)

Nov yog kuv thawj zaug me me * virtual * tig LED teeb. Thiab kuv thawj qhov kev qhia ib yam nkaus! Nws tsim los ntawm 4 x 0603 SMD LEDs. Lawv tsuas xav tau ib chav txog 2, 5 hli3. Txhawm rau ua kom lub ntsej muag hla mus rau qhov pom tseeb dua Kuv tau sau qhov program ntawm PIC12F629. Nws tsav txhua lub LED nrog PWM teeb liab. Pom qhov "virtual" tig cov nyhuv hauv cov vis dis aus … Tej zaum lwm zaus kuv sim nrog 0402 LEDs;-) Lub Tswv Yim tom qab qhov haujlwm no yog tsim kom muaj qhov pom tseeb tig lub teeb rau me me (1:87) tub ceev xwm, hluav taws lossis tsheb thauj neeg mob. Feem ntau lawv siv tsuas yog ib qho flashing LED. (Cov piv txwv ntawm qhov txuas hauv qab no tsis yog tsim los ntawm kuv! RC Feuerwehrfahrzeug hauv 1:87) Thiab tam sim no cia mus rau kuv Tshooj …;-)

Kauj Ruam 1: Ua Tus Workbench Me

Ua ib qho Workbench me me
Ua ib qho Workbench me me

Peb xav tau ib lub xwm fab txog 2.5 hli. Kuv siv 4 daim SMD qub thiab muab lawv tso rau ntawm PCB ua ke.

Ua ntej koj yuav tsum tau siv tus pin nkaus xwb. Tom qab ntawd khoov nti hauv txoj haujlwm raug thiab muab ib qho los yog lwm tus pin los kho lub nti. Nco ntsoov tias muaj ib lub qhov ntawm PCB nyob hauv nruab nrab ntawm 4 daim. Peb xav tau lub qhov no tom qab!

Kauj Ruam 2: Ntxig LEDs

Ntxig LEDs
Ntxig LEDs

Tam sim no tso 4 SMD LEDs (Loj 0603) hauv 4 daim.

Nco ntsoov tias qhov anode los ntawm txhua LED yog nyob rau sab saud! Txiav 3 daim ntawv me rau kev cais ntawm LEDs. (Koj tuaj yeem pom lawv hauv daim duab) Daim Ntawv Loj: - 1 x 2mm x 2mm - 2 x 2mm x 1mm

Kauj Ruam 3: Siv Thawj Tus Hlau

Solder Thawj Hlau
Solder Thawj Hlau
Solder Thawj Hlau
Solder Thawj Hlau
Solder Thawj Hlau
Solder Thawj Hlau

Tam sim no ntawm no yog ib qho ntawm qhov nyuaj.;-)

Siv cov xaim tooj liab nyias nyias nyias. Tshem tawm qhov sib cais ntawm 3mm. Khoov lub nplhaib me me zoo li qhia hauv daim duab thawj. Muab cov xaim nyob nruab nrab ntawm 4 SMD LEDs thiab tso lub nplhaib rau saum. (Thov txim tsis muaj daim duab ua ntej soldering.) Cuab tam nrawm thiab ua tib zoo saib tag nrho 4 LEDs thiab cov xaim xaim ua ke. (daim duab thib ob) Tam sim no koj tuaj yeem tshem 4 LEDs tawm ntawm "chaw ua haujlwm me me". (daim duab thib peb)

Kauj Ruam 4: Siv 4 Cathodes

Solder 4 Cathodes
Solder 4 Cathodes
Solder 4 Cathodes
Solder 4 Cathodes
Solder 4 Cathodes
Solder 4 Cathodes
Solder 4 Cathodes
Solder 4 Cathodes

Tam sim no muab 4 LEDs ntxeev rov qab rau hauv "workbench".

Siv tag nrho 4 cathodes los ntawm 4 LEDs mus rau 4 xaim. Yog tias koj ua tiav qhov ntu tsis yooj yim no koj dhau los ua ntau LED nrog 5 tus neeg sib cuag. 1 Anode thiab 4 Cathodes.

Kauj Ruam 5: PWM lossis Tsis PWM Uas Yog Cov Lus Nug

PWM lossis Tsis PWM Uas Yog Cov Lus Nug!
PWM lossis Tsis PWM Uas Yog Cov Lus Nug!
PWM lossis Tsis PWM Uas Yog Cov Lus Nug!
PWM lossis Tsis PWM Uas Yog Cov Lus Nug!
PWM lossis Tsis PWM Uas Yog Cov Lus Nug!
PWM lossis Tsis PWM Uas Yog Cov Lus Nug!

PWM tsav version zoo li muaj tiag ntau dua qhov yooj yim rau/tawm ib qho … Hauv kuv qhov xwm txheej kuv tsim 4 channel 8 Bit PWM teeb liab generator nrog PIC 12F629. Yog tias koj tsis muaj PIC, Atmel lossis xijpeem CPU lossis tsis muaj tus programmer lossis tsis yog cov txuj ci zoo koj tuaj yeem hais tias kuv tsis xav tau PWM. Tom qab ntawd koj tuaj yeem tsim qhov yooj yim 4 kauj ruam txee los ntawm 4017 CMOS cov lej zauv. Tsav los ntawm 555 oscillator. Yam yuav los: Tsim qee yam vaj tsev rau LEDs. Kuv xav txog 3mm LED. Kuv yuav tsum ua ob qho ntawm lawv nrog LED xiav thiab tso rau ntawm lub tsheb Tub Ceev Xwm me (1:87). Ua tsaug rau koj nyeem kuv cov lus Askiv yooj yim thiab muaj kev lom zem.;-) Yog tias koj tsim koj tus kheej "SMD LED tig teeb" thov qhia kuv daim duab ntawm nws. saib xyuas WattSekunde

Pom zoo: