Cov txheej txheem:
- Kauj Ruam 1: Qhov Yuav Tsum Tau
- Kauj Ruam 2: Ntxig Cov Khoom rau hauv Breadboard
- Kauj Ruam 3: Txuas cov LEDs
- Kauj Ruam 4: Txuas IR Tus Txais
- Kauj Ruam 5: Tshaj Tawm Txoj Cai thiab teeb tsa Cov Chaw Taws Teeb
- Kauj Ruam 6: Showcase
Video: IR LED Controller: 6 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Hnub no, koj yuav kawm paub yuav ua li cas thiaj tsim tau qhov yooj yim IR LED Tswj. Tsuas yog ua ke IR chaw taws teeb nrog qee qhov LEDs thiab koj tau txais kev qhia zoo tshaj plaws rau IR tswj. Cov ntu rau qhov kev tsim no tau muab los ntawm Kuman, koj tuaj yeem pom lawv hauv lawv Arduino UNO Kit.
Kauj Ruam 1: Qhov Yuav Tsum Tau
1 x Arduino board (Kuv siv UNO)
1 x USB Cable
1 x IR Txais
1 x IR Chaw Taws Teeb
3 x LEDs (Cov xim tsis muaj teeb meem)
3 x 220 ohm resistors
1 x 9V Roj teeb thiab clip (Tsis teb los tau)
Koj yuav tuaj yeem yuav cov khoom uas kuv tau siv ntawm allchips.ai
Lawv lub khw yuav nce txog thaum lub Ib Hlis xaus. Nyob twj ywm
Kauj Ruam 2: Ntxig Cov Khoom rau hauv Breadboard
Pib los ntawm kev ntxig qhov tsim nyog rau hauv lub khob cij. Lawv txoj haujlwm tsis muaj teeb meem, tso lawv tseg txawm li cas los xij koj nyiam. Cov no suav nrog cov LEDs, cov xav tau tiv thaiv thiab IR tus txais. Ib kawg ntawm tus tiv thaiv mus rau anode ntawm LED (+) thiab lwm qhov - mus rau qhov khoob khoob khoob khoob khoob khoob khoob.
Kauj Ruam 3: Txuas cov LEDs
Tom qab cov kauj ruam saum toj no, koj yuav tsum xaus nrog anode (cov hlau lead ntev dua) ntawm txhua LED txuas nrog lub zog tiv thaiv. Tam sim no, txuas txhua tus tiv thaiv rau Arduino Pin sib xws (koj tuaj yeem hloov nws tom qab hauv txoj cai). Lawv yog raws li hauv qab no: 6, 4 thiab 2. Lwm qhov kawg ntawm LEDs (- lossis cathode) mus rau GND txoj kev tsheb nqaj hlau ntawm lub khob cij.
Kauj Ruam 4: Txuas IR Tus Txais
Tus pin ntawm sab laug mus rau Pin 8 ntawm Arduino (koj tuaj yeem hloov nws hauv txoj cai tom qab). Ib nrab mus rau txoj kev tsis zoo ntawm daim ntawv qhia zaub mov (GND) thiab ib qho ntawm sab xis - mus rau txoj kev tsheb nqaj hlau zoo (5V). Tam sim no koj tau npaj nrog ntu kho vajtse! Tam sim no los txog software.
Kauj Ruam 5: Tshaj Tawm Txoj Cai thiab teeb tsa Cov Chaw Taws Teeb
Txuas Arduino rau koj lub PC. Xaiv qhov chaw nres nkoj COM raug thiab xa cov cai uas koj tuaj yeem pom ntawm no. Xav tias dawb los hloov tus lej tus lej thiab hloov kho txoj cai txawm li cas los xij koj xav tau. Tsis txhob disconnect koj Arduino tseem.
Teeb tsa cov chaw taws teeb
Qhib Serial Monitor thiab taw koj lub chaw taws teeb rau tus txais. Nias cov nyees khawm uas koj xav siv rau kev tswj ib tus los ntawm ib tus thiab sau tseg ntawm cov lej uas tshwm ntawm qhov screen. Koj tuaj yeem saib ntawm daim duab thib ob saum toj no rau kev siv. Kuv siv 0, 1, 2 thiab 3 ntawm cov chaw taws teeb. Tom qab txiav txim siab qhov twg koj yuav siv, hloov kho lawv hauv cov cai tom qab txhua "rooj plaub" ntawm "hloov" los ntawm kev yooj yim rho tawm qhov muaj txiaj ntsig uas kuv tau siv, sau "0x" (tsis muaj nqe lus) ua raws tus yuam sij coded uas koj xav tau. Ua qhov no rau txhua tus ntawm LEDs ntxiv rau 0, uas tig tag nrho lawv tawm.
Pom zoo:
Arduino Tsheb Rov Qab Chaw Nres Tsheb Ceeb Toom - Cov Kauj Ruam ntawm Kauj Ruam: 4 Kauj Ruam
Arduino Tsheb Rov Qab Chaw Nres Tsheb Ceeb Toom | Cov kauj ruam ib kauj ruam: Hauv txoj haujlwm no, kuv yuav tsim qhov yooj yim Arduino Tsheb Rov Qab Tsheb Nres Tsheb Nres Sensor Siv Arduino UNO thiab HC-SR04 Ultrasonic Sensor. Qhov no Arduino raws Lub Tsheb Rov Qab ceeb toom tuaj yeem siv rau Kev Tshawb Fawb Txog Tus Kheej, Robot Ranging thiab lwm yam
Arduino Attiny85 Smart Controller Controller: 3 Kauj Ruam
Arduino Attiny85 Ntse Tus Kheej Tswj:
Tsev Automation Kauj Ruam ntawm Kauj Ruam Siv Wemos D1 Mini Nrog PCB Tsim: 4 Kauj Ruam
Tsev Automation Kauj Ruam Ib Leeg Siv Wemos D1 Mini Nrog PCB Tsim: Tsev Automation Kauj Ruam los ntawm Kauj Ruam siv Wemos D1 Mini nrog PCB Tsim cov tub ntxhais kawm ntawv qib siab. Tom qab ntawd ib tus ntawm peb cov tswv cuab tuaj
Arduino Raws DIY Game Controller - Arduino PS2 Game Controller - Ua Si Tekken Nrog DIY Arduino Gamepad: 7 Kauj Ruam
Arduino Raws DIY Game Controller | Arduino PS2 Game Controller | Ua Si Tekken Nrog DIY Arduino Gamepad: Nyob zoo cov neeg, ua si game yog ib txwm lom zem tab sis ua si nrog koj tus kheej DIY kev cai game Controller yog kev lom zem dua.Yog li peb yuav ua tus tswj kev ua si siv arduino pro micro hauv cov lus qhia no
NES Controller Shuffle (Nintendo Controller MP3, V3.0): 5 Kauj Ruam (nrog Duab)
NES Controller Shuffle (Nintendo Controller MP3, V3.0): Kuv tag ripped tawm ryan97128 ntawm nws tsim rau Nintendo Controller MP3, Version 2.0 thiab kuv hnov tias nws tau txais lub tswv yim los ntawm txhua qhov txawj ntse Morte_Moya, yog li kuv tsis tuaj yeem siv credit rau tag nrho lawv cov ntse. Kuv tsuas yog xav ntxiv qhov yooj yim dua thiab rov them dua