Cov txheej txheem:
- Kauj Ruam 1: Kauj Ruam 1: Tshooj rau Koj Teeb
- Kauj Ruam 2: Kauj Ruam 2: Teeb Lub Tsev
- Kauj Ruam 3: Kauj Ruam 3: Coding
Video: Arduino Teeb Sensor Buzzer: 3 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Kev tsim qauv no yog siv los tso rau sab hauv ntawm qhov chaw tsaus thiab lub tswb nrov nrov yuav nrov thaum twg koj qhib qhov chaw tsaus. Nws siv lub teeb tiv taus lub teeb thiab nyob ntsiag to thaum tsaus ntuj thiab ua suab nrov thaum nws yog lub teeb. Qhov no yuav pab koj tiv thaiv koj cov khoom thiab ua kom koj muaj kev ntseeg ntau dua. Raws li photons (lub teeb) tsaws rau ntawm lub ntsuas, qhov ua haujlwm yuav qis dua. Qhov pom kev ntau dua yog peb yuav muaj kev tiv thaiv qis dua. Los ntawm kev nyeem qhov sib txawv ntawm qhov ntsuas, peb tuaj yeem kuaj pom yog nws lub teeb, tsaus ntuj lossis tus nqi nruab nrab ntawm lawv.
Kauj Ruam 1: Kauj Ruam 1: Tshooj rau Koj Teeb
1) Ib qho Arduino, 2) Ib lub khob cij
3) Piezo buzzer
4) Jumper xov hlau (Txiv neej)
5) 10 kΩ resistor (xim av-dub-txiv kab ntxwv)
6) Photoresistor (LDR)
Kauj Ruam 2: Kauj Ruam 2: Teeb Lub Tsev
Ua raws daim duab siv cov ntaub ntawv los saum toj no
Kauj Ruam 3: Kauj Ruam 3: Coding
Txuas koj Arduino dhuav mus rau koj lub khoos phis tawj thiab muab cov lej no tso rau hauv kab ntawv saib
const int tsaus = 200; // teeb tsa qhov tsaus ntuj tsis pom kevconst int suab = 60; // teeb tsa suab nrov los ua qhov tsis muaj teeb tsa teeb tsa () {pinMode (3, OUTPUT); pinMode (A2, INPUT); Serial.begin (9600); } void loop () {int teeb = analogRead (A2); yog (lub teeb <tsaus) {Serial.print (lub teeb); Serial.println ("Nws tsaus ntuj"); } lwm {Serial.print (lub teeb); Serial.println ("Nws yog lub teeb"); suab (3, suab, 10);
} ncua (10); }
Pom zoo:
Dusty Wall Arduino Animated Led Teeb Nrog Teeb Lub Teeb: 11 Cov Kauj Ruam (nrog Duab)
Dusty Wall Arduino Animated Led Lamp Nrog Lub Teeb Pom Kev: Kuv nyuam qhuav muaj me nyuam thiab tom qab ua nws chav pw, kuv xav tau lub teeb ntawm phab ntsa. Raws li kuv nyiam heev LED kuv txiav txim siab los tsim ib yam.Kuv nyiam lub dav hlau dav dav, yog li vim li cas ho tsis tso lub dav hlau los ntawm daim duab tas luav rau ntawm phab ntsa, ntawm no thaum nws pib thiab kuv ua li cas
Lub teeb Sensor Buzzer: 5 Kauj Ruam
Lub Teeb Sensor Buzzer: Hauv qhov kev sim no peb yuav ua haujlwm nrog lub ntsuas hluav taws xob uas yog tus tiv thaiv uas nyob ntawm lub teeb. Hauv qhov chaw tsaus, tus tiv thaiv yuav muaj qhov ua haujlwm siab heev. Raws li photons lub teeb tsaws ntawm tus ntes, qhov ua haujlwm yuav txo qis. Mas lig
DIY LED Teeb - Niaj Hnub Teeb Meem Teeb Nrog Cov Chaw Taws Teeb: 8 Kauj Ruam (nrog Duab)
DIY LED Teeb - Niaj Hnub Teeb Mood Teeb Nrog Chaw Taws Teeb: Hauv kab lus no kuv yuav mus hla cov txheej txheem Kuv tau siv los tsim qhov no zoo heev pyramid zoo li tus LED Mood Teeb.Kuv siv maple rau cov qauv tseem ceeb thiab qee qhov mahogany txhav ntxiv rau lub zog. Rau lub teeb Kuv siv RGB LED teeb uas tuaj nyob hauv 16 ko taw
LED Teeb Teeb Duab Cwjmem: Cov Cuab Yeej rau Teeb Teeb Doodles: 6 Kauj Ruam (nrog Duab)
LED Teeb Teeb Lub Cwjmem: Cov Cuab Yeej rau Teeb Doodles: Kuv tus poj niam Lori yog tus neeg siv tsis tu ncua thiab kuv tau ua si nrog kev yees duab ntev ntev rau ntau xyoo. Kev tshoov siab los ntawm PikaPika pab pawg teeb pom kev zoo thiab yooj yim ntawm cov koob yees duab digital peb tau siv lub teeb duab kos duab kom pom tias peb tuaj yeem ua dab tsi
Arduino: Ua Teeb Teeb Teeb: 9 Kauj Ruam
Arduino: Ua Teeb Ntawm Teeb Teeb: Txoj haujlwm no tseem ua haujlwm nyob rau hauv qhov xwm txheej FEEDBACK APPRECIATED !!! Phau ntawv qhia no yuav qhia koj txog cov txheej txheem ntawm kev tsim teeb tsa kev tswj thiab teeb tsa cov teeb pom kev zoo thaum tseem qhia koj qhov pib ntawm Arduino. Qee qhov kev paub yog xav tau