Cov txheej txheem:
Video: Arduino Scoreboard Lights: 3 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Nov yog ib qhov haujlwm uas kuv tau ua rau ntu ntawm cov ntawv ntaus nrig. Kuv xav tau ib yam dab tsi uas beeped thiab taws teeb. Kuv pom sai sai tias koj tuaj yeem siv cov txuj ci no rau ntau yam kis las sib txawv thiab tsis yog laj kab nkaus xwb. Qhov project ua dab tsi tiag, yog teeb 2 LEDs thiab beep rau 2 vib nas this. Cov xim nyob ntawm seb khawm twg koj thawb rau ntawm IR chaw taws teeb.
Khoom siv
Nov yog cov npe ntawm qhov sib txawv thaum ua qhov haujlwm no:
- Arduino Nano lossis Arduino Uno (Kuv siv Nano kom txuag chaw tab sis koj tuaj yeem siv Uno ib yam nkaus.)
- 8 LEDs
- 8 220Ω resistors
- Jumper xov hlau
- IR tus txais + chaw taws teeb
- Active Buzzer (Tsis teb los tau)
- Daim ntawv loj loj
Kauj Ruam 1: Muab Cov Khoom Siv
Ua ntej, tso cov LEDs nyob rau ob qho tom ntej no ib sab hla lub khob cij (Zoo li hauv daim duab). Xyuas kom tseeb tias koj cov pins zoo nyob rau sab saud ntawm lub khob cij. Tom qab ntawd ntxiv koj 220Ω resistors uas nqa los ntawm qhov tsis zoo ntawm LEDs mus rau qhov tsis zoo sawb ntawm lub khob cij. (Saib hauv daim duab) Tom qab qhov chaw IR sensor nyob qhov twg ntawm koj lub khob cij. Thaum kawg, nrhiav qhov chaw zoo nrog ntau qhov chaw nyob ib puag ncig nws kom tso koj lub suab nrov.
Kauj Ruam 2: Txuas Nws
Tam sim no kuv yuav teev cov pawg sib txawv ntawm qhov chaw tso xov hlau. Koj kuj tuaj yeem saib hauv daim duab yog tias koj xav ua qhov ntawd.
- Hlau cov kab zoo thiab tsis zoo rau ntawm daim phiaj los ntawm koj Arduino.
- Hlau tus pin zoo ntawm txhua lub LEDs los ntawm qhov chaw ntawm lub khob cij.
- Qhov no tsis meej pem los piav qhia, tab sis sire ob xim thiab txuas rau lawv, yog li koj muaj ib qho xim tso tawm. (Ua qhov no rau txhua xim)
- Tam sim no, txuas txhua qhov kev sib txuas xim mus rau chaw nres nkoj digital ntawm Arduino.
- Hlau tus pin zoo ntawm lub buzzer rau lub chaw nres nkoj digital ntawm Arduino thiab tus pin tsis zoo rau qhov tsis zoo sawb.
- Hlau koj lub IR sensor mus rau qhov chaw nres nkoj digital
Tam sim no koj ua tiav!
Tsis tas li, yog tias koj xav tau koj tuaj yeem siv tinkercad koj tuaj yeem txuas xov tooj rau koj txoj haujlwm!
Kauj ruam 3: Programming
Kuv txuas cov ntaub ntawv.ino rau Arduino IDE. Muaj cov lus sau hauv txoj cai piav qhia nws ua haujlwm li cas.
Tsis tas li thaum koj ua tiav nco ntsoov txheeb xyuas kuv lub vev xaib ntawm no!
Pom zoo:
Raspberry Pi Scoreboard: 4 Kauj Ruam
Raspberry Pi Scoreboard: Hnub no kuv yuav piav qhia qhov kuv tau ua cov qhab nia no uas tau tswj los ntawm raspberry pi thiab siv los ntawm 5V lub zog xa khoom. Nws siv kev sib xyaw ntawm ws2811 thiab ws2812b leds rau teeb pom kev zoo thiab cov qauv tsim los ntawm plywood thiab liab ntoo qhib. Rau kev piav qhia
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
Li-ion Battery Bluetooth Scoreboard: 4 Kauj Ruam (nrog Duab)
Li-ion Battery Bluetooth Scoreboard: Taw Qhia Txoj Haujlwm yog ua raws li kuv Cov Lus Qhia los ntawm xyoo tas los: Bluetooth Table Tennis ScoreboardThe Scoreboard tau mob siab rau kev nyiam ua kis las ncaws pob thiab ntaus ntaus pob tesniv Tab sis nws tsis siv rau lub rooj ntaus pob tesniv xwb. Nws tuaj yeem siv rau lwm qhov
Table Tennis Scoreboard: 16 Kauj Ruam (nrog Duab)
Table Tennis Scoreboard: Nkees nkees taug qab koj cov qhab nia Table Tennis / Ping Pong? Lossis tej zaum koj tsuas yog mob ib txwm tsis nco qab nws? , games, server, thiab p
Cricket Scoreboard Siv NodeMCU: 9 Kauj Ruam (nrog Duab)
Cricket Scoreboard Siv NodeMCU: Nyob Zoo! Tsis ntev los no kuv tau qhia rau lub ntiaj teb IoT (Internet ntawm Yam) raws li kuv tau hla cov cuab yeej nrov tshaj plaws hauv daim teb no, ESP8266. Kuv xav tsis thoob los ntawm qhov kawg ntawm qhov muaj peev xwm uas tau qhib los ntawm cov cuab yeej me me thiab pheej yig no. Raws li kuv yog