Cov txheej txheem:

Dimming Illuminator- rau Lub Sijhawm Ib Leeg Ib Leeg Ib Leeg: 4 Kauj Ruam (nrog Duab)
Dimming Illuminator- rau Lub Sijhawm Ib Leeg Ib Leeg Ib Leeg: 4 Kauj Ruam (nrog Duab)

Video: Dimming Illuminator- rau Lub Sijhawm Ib Leeg Ib Leeg Ib Leeg: 4 Kauj Ruam (nrog Duab)

Video: Dimming Illuminator- rau Lub Sijhawm Ib Leeg Ib Leeg Ib Leeg: 4 Kauj Ruam (nrog Duab)
Video: Vajtswv Txoj Lus: Kev Paub Vajtswv | Nqe Lus Uas Xaiv Tawm Los 29 2024, Hlis ntuj nqeg
Anonim
Dimming Illuminator- rau Lub Sijhawm Lub Sijhawm Lwm Yam
Dimming Illuminator- rau Lub Sijhawm Lub Sijhawm Lwm Yam

Chav tsev no tau dhau los vim yog kuv tus poj niam yws yws tias nws tsis pom lub moos chav pw thaum chav pw tsaus ntuj, thiab nws tsis xav tig lub teeb kom tsa kuv. Kuv tus poj niam tsis xav kom lub teeb pom kev ntawm lub moos, tsuas yog lub teeb txaus los nyeem tau lub sijhawm, tsis hais lub teeb pom kev ib puag ncig! sib txawv tas li thaum yav tsaus ntuj thiab thaum sawv ntxov. Qhov no tau muab rau kuv qhov kev xav tias txhua lub teeb pom kev ntawm lub moos yuav tsum yog sib piv sib piv rau lub teeb pom kev hauv chav pw. Qhov no coj mus rau kev tsim cov chav yooj yim hauv qab no, suav nrog ob kab ntawm 4 qhov ci ntsa iab dawb LEDs, nws qhov ci ci tau tswj los ntawm PIC tus txheej txheem los ntawm kev nkag los ntawm daim duab diode. PIC tau xaiv los ua kev tswj hwm, vim nws muaj ADC cov tswv yim txhawm rau paub cov duab diode, thiab PWM channel rau teeb pom kev zoo tswj ntawm LEDS. Chav tsev no ua haujlwm zoo tswj lub moos teeb pom kev zoo rau qib uas xav tau. Chav tsev tau yooj yim los tsim thiab yuav muaj ntau qhov kev siv uas qhov chaw teeb pom kev xav yuav tsum tau sib piv sib piv rau lub teeb ib puag ncig, piv txwv li lub teeb pom kev zoo rau cov cuab yeej siv tsheb.

Kauj Ruam 1: Daim Ntawv Teev Npe

Daim Ntawv Teev Npe
Daim Ntawv Teev Npe

1 tawm Cov ntawv luam tawm Circuit Board, lossis kab txaij yog tias koj ua nws txoj hauv kev yooj yim. 1 tawm lub zog hluav taws xob 15 txog 18 volts AC lossis DC.8 tawm qhov ci ci dawb LEDS 5mm (lossis raws li koj xav tau) Led 1 - 81 tawm GP Photo diode Led 91 tawm PIC 16F684 Micro. IC11 Tawm 1 Amp choj rectifier.1 tawm 7812 12Volt tus tswj hwm. IC21 tawm 78l05 5 Vlot tus tswj hwm. IC31 tawm 100 uF 25 VW electrolytic capacitor.3 tawm 0.01 capacitors (ib qho me me yuav txaus) 1 tawm 470R 1/8thw resistor R51 tawm 470K 1/8thw resistor R41 tawm 1M 1/8thw resistor R32 tawm 1R 1/8thw resistor R1- 2 Cov hlau thiab cov laug raws li xav tau.

Kauj Ruam 2: Circuit Board

Circuit Board
Circuit Board

Yog tias koj tab tom siv kab txaij txaij ces koj yuav tsum txiav txim siab koj tus kheej txheej! Yog tias koj xav ua koj tus kheej cov ntawv luam tawm Circuit board thov thov rub cov ntaub ntawv tiag tiag hauv EAGLE hom, lossis siv daim duab txuas thiab ua nws tus kheej li. theej nws thiab siv txhua txoj hauv kev pcb uas koj ib txwm siv los tsim nws. Yog tias koj nyam yam tsis muaj cov khoom siv los ua lub rooj tsavxwm thaum kawg email rau kuv thiab kuv yuav pom yog tias kuv tuaj yeem muab PCB rau koj (qhov no yog nyob ntawm tus lej thov uas kuv muaj rau PCBs!).

Kauj Ruam 3: Cheebtsam thiab PIC Programming

Cheebtsam thiab PIC Programming
Cheebtsam thiab PIC Programming

Cov khoom siv tau npaj txhij txhua, thiab yuav tsum tsis muaj teeb meem kom tau txais. Yog tias koj xav xaj PIC los ntawm kuv, tom qab ntawv thov los ntawm Email thiab kuv yuav teb nrog tus nqi thauj khoom PIC ua ntej. Rau koj tus kheej program koj tus kheej PIC 16F684 cov ntaub ntawv HEX nyob ntawm no. Ua tib zoo ntxig thiab txhim kho tag nrho cov khoom siv (ua raws cov qauv txheej txheem ntawm no), pib nrog cov qib qis qis xws li cov ua haujlwm ua ntej. Cov laug thiab txiav cov ceg tivthaiv. Ua saib xyuas tias cov khoom siv tau raug kho kom raug lossis cov khoom yuav raug puas tsuaj. Nco tseg tias LEDS muaj ib sab tiaj (cov cathode!). PIC yuav tsum yog lub hauv paus teeb tsa hauv Dil qhov (socket) thiab nco ntsoov tias nws raug teeb tsa kom raug nrog lub thais ntawm qhov kawg raug raws li daim duab teeb tsa. Nco tseg cov cim polarity ntawm tus choj rectifier thiab Electrolytic capacitor! ob zaug xyuas koj cov khoom sib dhos thiab tseem luam tawm lub rooj tsav xwm hauv vaj huam sib luag (rau cov txuas txuas/luv lossis qhib cov kab hluav taws xob lossis cov khoom sib txuas kom raug), ua ntej thov lub zog. Lub Circuit Court thiab PIC tau raug pov thawj thiab sim, yog li nws tsis ua haujlwm raws li qhov xav tau qhov ua txhaum yog nrog kev tsim lossis ua tsis tiav, feem ntau yuav yog qhov ua txhaum nyob ntawm sab tooj liab ntawm PCB, DOUBLE CHECK txhua yam (A kos duab pom yog qhov tseem ceeb tshaj plaws uas koj tuaj yeem ua ua ntej lwm qhov!).

Kauj ruam 4: Xeem

Kev Xeem
Kev Xeem
Kev Xeem
Kev Xeem

Tam sim no koj lub rooj sib tham yuav tsum npaj kom muaj zog thiab ntsuas ntsuas. Txuas lub hwj chim rau hauv pawg thawj coj saib (15-rau-18 Volts DC lossis AC) thiab nthuav tawm cov duab tiv thaiv mus rau lub teeb ci ib txwm, cov zis LEDS yuav tsum ua kom muaj zog tag nrho (Tsis txhob saib ncaj qha rau lawv, nws tuaj yeem ua rau koj lub qhov muag puas tsuaj). Tom ntej ntxoov ntxoo daim duab diode nrog koj txhais tes lossis zoo dua tseem nrog ib qho ntawm cov tub dub, thiab lub teeb tso tawm yuav tsum txo qis mus rau lub teeb qis heev. Yog tias qhov kev ntsuas no ua pov thawj pom zoo ces koj tau ua tiav, txwv tsis pub koj yuav tsum rov qab mus rau ntu yav dhau los thiab mus dhau qhov ua txhaum nrhiav kev txiav txim dua. lub rooj tsavxwm nyob deb li 1 meter ntawm lub moos Chav pw kom lub ntsej muag ntawm lub teeb pom kev zoo ib yam, thiab nws ua haujlwm tau zoo heev. Yog tias koj muaj lwm daim ntawv thov koj tuaj yeem txav tau qhov Photo diode deb ntawm lub rooj tsavxwm ntawm kev txuas txuas thiab txuas nws txoj haujlwm zoo dua rau koj daim ntawv thov.

Pom zoo: