Cov txheej txheem:
- Kauj Ruam 1: Qhov Chaw / Cov Cuab Yeej
- Kauj Ruam 2: Ua PCBs & Program PIC
- Kauj Ruam 3: Cov Txheej Txheem Hauv Qab
- Kauj Ruam 4: Cov Cuab Yeej Sab saum toj
- Kauj Ruam 5: Cov Zaub Zaub
- Kauj ruam 6: Ua tiav
Video: LED Binary Moos: 6 Cov Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:31
Nov yog qhov kev kho dua zaum ob ntawm kuv PIC raws li LED binary moos. Thawj qhov ntawv yog thawj PIC qhov kuv tau sim, nws tau siv PIC16F84A los ua ob lub sijhawm khaws thiab tswj cov zaub matrix, hmoov tsis nws tsis khaws sijhawm zoo thiab tau txais txog li ib feeb txhua lub lim tiam. PIC16F628A khiav ntawm 4MHz los tswj cov zaub, nws tseem siv DS1307 lub sijhawm tiag tiag nti los ua lub sijhawm khaws cia. Txhua thib ob DS1307 xa cov mem tes mus rau PIC nti, PIC tom qab ntawv nyeem lub sijhawm sab hauv los ntawm DS1307 hla I2C tsheb npav thiab tom qab ntawd qhia lub sijhawm nyob rau hauv binary ntawm LED zaub. Kab hauv qab ntawm LEDs tso tawm vib nas this, nruab nrab kab qhia cov feeb thiab kab sab saum toj yog rau teev. Lub sijhawm tso tawm hauv daim duab yog 01100: 010011: 011011 lossis hauv zauv 12:19:27. Lub sijhawm nyob hauv 24 teev hom ntawv yog li mus txog 10111: 111011: 111011 lossis 23: 59: 59 Cov PCB tuaj yeem ua ob tog, lossis raws li kuv tau ua ntawm no ib leeg ib sab nrog 7 xaim txuas txuas hauv qhov chaw tsis yog txheej txheej tooj liab sab saum toj. Nws muaj tus tswj hwm 5 volt yog li tuaj yeem siv tau los ntawm ib qho 9 - 15 volt DC fais fab mov.
Kauj Ruam 1: Qhov Chaw / Cov Cuab Yeej
Raws li cov txheej txheem PCB yooj yim thiab siv cov khoom siv koj yuav xav tau cov khoom siv hauv qab no: 1x PIC16F628A & programmer1x DS1307 lub sijhawm tiag tiag chip1x 32.768kHz saib crystal3x BC548 (lossis zoo sib xws) transistor2x PTM pushbuttons1x 78L05 regulator2x 220uF electrolytic capacitors17x Surface mount LEDs1x DC lub qhov hluav taws xob 8 x 100 ohm nto mount resistors1x 2k deg mount resistor12x xoom ohm txuas (Los yog 11 xoom ohm txuas thiab CR2016 cov roj teeb thaub qab) 1x 100nF nto mount capacitor50cm ib leeg tso tseg tswb xaim1x 9v - 15v DC fais fab mov nrog DC nkaus
Kauj Ruam 2: Ua PCBs & Program PIC
Thawj kauj ruam yog ua kom PCBs, txheej txheej PCB thiab kos duab rau lub moos tseem ceeb thiab lub rooj tsav xwm saib pom tau muab ua hauv Eagle hom. Lub moos PCB yog ob tog, tab sis txheej txheej saum toj kawg nkaus tsuas yog 7 qhov txuas, qhov no txhais tau tias PCB kuj tseem tuaj yeem ua ua ib txheej nrog 7 txoj kab txuas sib txuas, qhov no yog qhov kuv tau xaiv los ua raws li kuv tsis tuaj yeem ua ob zaug cov laug cam. Qhov PCB siv tshwj xeeb rau cov khoom siv saum npoo thaum lub sijhawm tseem ceeb PCB siv kev sib xyaw ntawm cov ntu saum toj thiab dhau los ntawm cov khoom sib xws. ICSP kev sib txuas ntawm lub rooj tsavxwm.
Kauj Ruam 3: Cov Txheej Txheem Hauv Qab
Solder lub 8 tus tiv thaiv, 1 lub tshuab hluav taws xob thiab xoom ohm txuas / thaub qab roj teeb raws li qhia rau sab hauv qab ntawm lub ntsiab PCB moos.
Kauj Ruam 4: Cov Cuab Yeej Sab saum toj
Txuas ntxiv tom ntej los ntawm cov khoom sib txuas kom ntseeg tau tias yuav tsum tau taw qhia rau 2 daim npav, 2 lub capacitors thiab tus tswj hwm kom raug.
Kauj Ruam 5: Cov Zaub Zaub
Rau cov zaub koj xav tau 17 nto mount LEDs, 6 100 ohm nto mount resistors, 11 xoom ohm txuas thiab 9 2cm ntev ntawm lub tswb xaim. Muab lawv tso rau PCB raws li daim duab hauv qab no, ua kom koj tau muab cov kab hluav taws xob LED tso rau hauv qhov kev qhia kom raug. Lub rooj tsav xwm pom ntawm no yog qhov hloov tshiab dua li siv nyob hauv cov duab hauv cov lus qhia no, nws muaj tsawg dua resistors yog li yooj yim dua thiab pheej yig dua kom ua. Kev saib xyuas yuav tsum tau ua thaum txhim kho xoom ohm txuas (resistors nrog xoom tsis kam) raws li muaj cov ciav hlau ntawm PCB khiav ntawm 2 cov kab laug sab, cov txuas yuav tsum tau muab tso rau kom tsis muaj cov hlau txuas mus rau PCB taug qab ntawm cov ntaub qhwv.
Kauj ruam 6: Ua tiav
Solder cov zaub PCB mus rau lub moos tseem ceeb PCB tom qab ntawd txhua yam uas yog sab laug yog txhawm rau txuas lub zog. PSU xav tau yam tsawg 9v DC thiab xav tau tsuas yog ntsuas ntawm kwv yees li 200mA lossis yog li, qhov nruab nrab txuas ntawm DC jack xav tau. zoo thiab sab nrauv yuav tsum yog 0v. Ua ntej lub zog txuas nrog lub moos yuav tsum tso tawm 22:03:00 thiab tam sim pib suav cov vib nas this. Tom qab ntawd txhua yam uas tshuav yog teeb tsa lub sijhawm, ib qho ntawm cov nyees khawm tau siv los teev cov feeb thiab lwm qhov teev cov sijhawm, sai li ob lub khawm tau nias nws teeb tsa lub vib nas this rau 0 thiab nce cov lus sib xws los ntawm 1.
Pom zoo:
Cov Tub Ntxhais Hluav Taws Xob Moos Moos: 9 Kauj Ruam (nrog Duab)
Cov Tub Ntxhais Hluav Taws Xob Moos: Kuv ib txwm tau nyiam los ntawm cov teev tsis txawv txav. Nov yog ib qho ntawm kuv qhov kev tsim kho tshiab kawg uas siv cov tub ntxhais txias txias tus lej los tso saib lub sijhawm. Cov lej tau muab tso rau ntawm ib daim me me ntawm Plexiglas uas muaj cov ntawv nyias nyias laminated rau tom qab
Cov Duab Duab Duab thiab Cov Duab 1: 4 Cov Kauj Ruam (nrog Duab)
Cov Duab Duab Cubes thiab Cov Duab 1: Thaum sim nrog qee cov ntoo ntoo thiab cov duab los qhia, kuv pom ob peb txoj hauv kev los ua cov voos thiab lwm yam duab los ntawm cov khoom siv yooj yim. Los ntawm kev muab cov no los ua Cov Ntawv Qhia, Kuv vam tias yuav txhawb nqa kev ua si thiab kev kawm. Kev hloov pauv ntawm qhov kev qhia no
Digital & Binary Moos hauv 8 Tus lej X 7 Segments LED Zaub: 4 Cov Kauj Ruam (nrog Duab)
Digital & Binary Moos hauv 8 Tus lej X 7 Segments LED Zaub: Nov yog kuv qhov hloov kho tshiab ntawm Digital & Binary Clock siv 8 Tus lej x 7 Segment LED Display.Kuv nyiam muab cov yam ntxwv tshiab rau cov cuab yeej ib txwm, tshwj xeeb tshaj yog cov moos, thiab qhov no yog siv 7 Seg zaub rau Binary Clock yog qhov tsis zoo thiab nws
Binary moos Siv Neopixels: 6 Cov Kauj Ruam (nrog Duab)
Binary Clock Siv Neopixels: Nyob zoo cov neeg, Kuv nyiam txhua yam LED cuam tshuam nrog thiab tseem nyiam siv lawv hauv txoj kev nthuav sib txawv Yog, Kuv paub Binary Clock tau ua tiav ntawm no ntau lub sijhawm, thiab txhua tus piv txwv zoo heev ntawm yuav ua li cas tsim koj tus kheej lub moos.Kuv nyiam heev
Binary moos: 5 Cov kauj ruam (nrog Duab)
Binary Clock: Nov yog qhov piv txwv yooj yim yuav ua li cas kom txias saib binary 24 teev. Liab LEDs qhia vib nas this, feeb LEDs ntsuab thiab teev LEDs daj. Cov ntaub ntawv muaj plaub lub nyees khawm los kho lub sijhawm. Lub moos ua haujlwm nrog 9 volts. Lub moos no yooj yim los ua thiab ntu