Cov txheej txheem:
- Kauj Ruam 1: Nqi Khoom
- Kauj ruam 2: Schematic Daim duab
- Kauj Ruam 3: Ntxig rau Array ntawm Pins
- Kauj Ruam 4: Ruaj Pins
- Kauj Ruam 5: Txhim Kho Cov LEDs
- Kauj Ruam 6: Ua tiav Txoj Haujlwm
Video: 8 Khoom Arduino Binary Counter: 6 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
8 Khoom Arduino Binary Counter van suav los ntawm 0 txog 255. Txoj haujlwm no yog lub txee nrog 8 LED's rau txuas nrog Arduino tus pin 5, 3, 4, 7, 10, 11, 12 & 13 kom nws suav los ntawm sab xis mus rau sab laug tsim cov lej los ntawm Xoom txog 255.
Kauj Ruam 1: Nqi Khoom
Koj yuav xav tau dab tsi:
1-Arduino Uno R3
1-PCB Arduino Mega
1-USB-B rau USB-A cable
8 x 5mm LED
2x5 Array ntawm tus pin rau Arduino
Soldering hlau
Dov yob
Tej zaum me ntsis xaim # 22
Kauj ruam 2: Schematic Daim duab
Txheeb xyuas kom zoo, daim duab schematic ntawm koj qhov project.
Kauj Ruam 3: Ntxig rau Array ntawm Pins
Ntxig cov kab pins rau hauv Arduino qhov, lawv yuav tsum tau muab tso rau hauv tus pin 3. 4, 5, 6, 7 thiab tus pin 10, 11, 12, 13, GND.
Kauj Ruam 4: Ruaj Pins
Thaum tso cov pins, npaj mus rau solder lawv.
Kauj Ruam 5: Txhim Kho Cov LEDs
Koj tuaj yeem teeb tsa LEDs li koj xav tau, tab sis qhov no yog kab ntawv uas koj tau ua rau txoj haujlwm. Txawm li cas los xij, Kuv tau siv me ntsis xaim #22 rau kev ua ob khub. Nws tuaj yeem ua tsaug rau ntawm cov duab. Nco tseg, koj tuaj yeem siv GND tsis ncaj rau txuas cov cathode pins uas tsis siv cov laug txawm tias tus pin GND rau Arduino.
Kauj Ruam 6: Ua tiav Txoj Haujlwm
Ntxig qhov project rau hauv Arduino pins ntawm koj qhov project. Yog tias koj ua raws txoj haujlwm no kom raug, mus ntsib:
Tom qab ntawd, xa cov cai ntawm:
tab sis koj tsuas yog ua qhov kev hloov pauv raws li koj tus kheej pins siv.
Pom zoo:
Hloov-Hloov Cov Khoom Ua Si: Cov Khoom Ua Si Cov Khoom Ua Si Ua Tau Zoo!: 7 Cov Kauj Ruam (nrog Duab)
Hloov-Hloov Cov Khoom Ua Si: Cov Khoom Siv Hluav Taws Xob Ua Tau Zoo!: Qho khoom ua si hloov pauv qhib txoj hauv kev tshiab thiab kev daws teeb meem kom tso cai rau menyuam yaus uas muaj lub cev muaj peev xwm txwv lossis kev xiam oos qhab kev loj hlob los cuam tshuam nrog cov khoom ua si ntawm nws tus kheej. Hauv ntau qhov xwm txheej, cov menyuam yaus uas xav tau cov khoom ua si hloov pauv tsis tuaj yeem nkag mus
Cov Khoom Plig Khoom Plig Khoom Plig Zoo Tshaj Plaws: 13 Kauj Ruam
Cov Khoom Plig Khoom Plig Khoom Plig Zoo Tshaj Plaws: Cov lus qhia no yuav piav qhia thiab piav qhia yuav ua li cas thiaj tsim tau lub tshuab ua khoom siv pub mis pub dawb, tuaj yeem tsim tau nrog cov tais zaub mov txuas nrog. Kuv tau txuas cov vis dis aus ntawm no piav qhia txog cov khoom ua haujlwm li cas thiab nws zoo li cas
4 Binary Binary Counter Up/Down: 11 Kauj Ruam
4 Bits Binary Counter Up/Down: Lub txee yog 4 bits binary counter nce/nqis. Ntawd yog, lub txee no tuaj yeem suav ntawm 0 txog 15 lossis los ntawm 15 txog 0 vim tias nws suav nrog nce lossis nqis. Txoj haujlwm yog lub rooj sib tham binary ua nrog 4029, 555, thiab 4-10 mm LED feem ntau los ntawm kev siv ob npaug
3 Tus lej Arduino Binary Counter: 8 Kauj Ruam (nrog Duab)
3 Tus lej Arduino Binary Counter: Txoj haujlwm no yog lub txee 1-999 los ntawm kev siv 4-LED rau txhua tus lej thaum nws tus lej tswj hwm yog anode los ntawm kev tso dawb cathodes rau cuam tshuam nrog nws cov kab sib xws ntawm LEDs thiab resistor ntawm qhov no thiab Arduino tus pin . Cov anodes uas nquag siv yuav
Rov Siv Cov Khoom Siv Yas Zib Zib Zib Zib Hnab Rau Hauv Cov Chaw Muag Khoom Chaw Muag Khoom: 6 Kauj Ruam
Reuse Recycle Plastic Chewing Gum Cannister Into Solder Station Dispenser: Cov lus qhia no yuav qhia koj yuav ua li cas siv cov yas zom zom tuaj yeem ua kom khaws cov kab laug sab zoo thiab huv. Qhov no yuav ua haujlwm ntawm lwm yam khoom siv spooled thiab; Txoj hlua, Hlau, Cables