Cov txheej txheem:
- Kauj Ruam 1: Kauj Ruam 1: Cov Khoom
- Kauj ruam 2: Kauj Ruam 2: Teeb tsa
- Kauj Ruam 3: Kauj Ruam 3: Tsis siv hluav taws xob
- Kauj Ruam 4: Kauj Ruam 4: Code
Video: Teeb duab caj npab uas tswj tau los ntawm Suab - Arduino Tsev Kawm Ntawv Txoj Haujlwm: 4 Cov Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Nov yog kuv thawj zaug ua haujlwm nrog Arduino, thiab ua haujlwm nrog qee yam zoo li no puas tau, yog li thov txim yog tias kuv tau ua yuam kev! Kuv tau txais lub tswv yim no thaum kuv xav txog kuv qhov kev nyiam ua, uas yog kev kos duab thiab nkauj. Yog li kuv tau sim ua ke ob qhov no! Ib txhais tes kos tus kheej uas cuam tshuam los ntawm lub suab.
Kauj Ruam 1: Kauj Ruam 1: Cov Khoom
- Arduino Ib
- Cov qhob cij
- Lub suab ntes (Sparkfun sen-12642)
- 2 (mini) Servo tus
- Tie wraps / zip ties
- Qee cov ntoo thiab ntawv
- qee yam uas koj tuaj yeem kos/sau nrog
Kauj ruam 2: Kauj Ruam 2: Teeb tsa
Kuv xub txuas rau hauv Servo's thiab tom qab ntawd lub suab ntes. Sparkfun sen-12642 lub tshuab ntsuas lub suab muaj 3 qhov tso tawm, Kuv tsuas yog siv "lub hnab ntawv" tso tawm.
Servo 1 = pin ~ 9
Servo 2 = pin ~ 10
Lub suab ntes = tus pin A0
Cov kab liab (5v) txuas nrog rau qhov zoo ntawm lub khob cij, thiab cov kab dub (hauv av) txuas nrog rau qhov tsis zoo.
Kauj Ruam 3: Kauj Ruam 3: Tsis siv hluav taws xob
Xyuas kom tseeb tias cov servo ruaj khov thiab nyob rau qhov chaw raug. Kuv siv khi qhwv kom khov lawv. Tom qab ntawd kuv tau siv cov hlua khi los khi (hloov pauv tau) cov ntu sab saud ntawm servo rau cov ntoo ntoo. Tom qab ntawd koj tuaj yeem txuas cov ntoo sab caj npab mus rau qhov kev pabcuam. Txuas tag nrho cov xov hlau mus rau Arduino thiab breadboard.
Tom qab ntawd kuv tau siv cov xov hlau txuas rau lub suab ntsuas.
Kauj Ruam 4: Kauj Ruam 4: Code
Kuv tsis muaj txoj hauv kev nyob ze kom ua tau zoo ntawm cov cim, tab sis kuv tau sim kuv qhov zoo tshaj plaws thiab internet tau pab ntau:)
#suav nrog Servo myservo1; Servo myservo2; int pos = 0; int PIN_ANALOG_IN = A0;
teeb tsa tsis muaj dab tsi () {Serial.begin (9600);
// Zaub xwm txheej
Serial.println ("Initialized"); myservo1.attach (9); myservo2.attach (10); }
void lub voj ()
{tus nqi;
// Txheeb lub hnab ntawv nkag
tus nqi = analogRead (PIN_ANALOG_IN);
// Lub hnab ntawv tus nqi cuam tshuam rau servo's
Serial.println (tus nqi); yog (tus nqi 5) && (tus nqi 10) && (tus nqi 20) && (tus nqi 30) && (tus nqi 60)) {myservo1.write (random (0, 90)); myservo2.write (random (0, 90)); }
ncua (180);
}
Pom zoo:
Plug & Ua Si CO2 Sensor Zaub Nrog NodeMCU/ESP8266 rau Cov Tsev Kawm Ntawv, Tsev Kawm Qib Siab lossis Koj Lub Tsev: 7 Kauj Ruam
Plug & Ua Si CO2 Sensor Zaub Nrog NodeMCU/ESP8266 rau Cov Tsev Kawm Ntawv, Lub Tsev Kawm Qib Siab lossis Koj Lub Tsev: Kuv yuav qhia koj sai npaum li cas txhim kho lub plug & ua si CO2 sensor qhov twg txhua qhov ntawm txoj haujlwm yuav txuas nrog DuPont xov hlau. Yuav muaj tsuas yog 5 cov ntsiab lus uas yuav tsum tau muab siv, vim tias kuv tsis tau muab tshuaj txhuam ua ntej qhov haujlwm no txhua lub sijhawm
Hwj Huam Fume Extractor ntawm Caj Npab Caj Npab: 8 Kauj Ruam (nrog Duab)
Haib Fume Extractor ntawm Articulating Caj Npab: Kuv tau muaj ob peb tus soldering fume extractors ua ntej. Thawj tus tsis muaj lub zog txaus, thiab qhov thib ob tsuas yog lub npov ruaj khov yam tsis muaj kev hais tawm yam twg, feem ntau kuv tsis tuaj yeem nrhiav txoj haujlwm zoo rau nws, nws qis dhau lossis nyob deb qab
Tsev Kawm Ntawv Nroog Tsev Kawm Ntawv Chaw Nres Tsheb Daim Ntawv Qhia: 7 Kauj Ruam (nrog Duab)
University Campus Student Parking Map: Ntau tus tub ntxhais kawm xav paub tias lawv tuaj yeem nres tsheb hauv lub tsev kawm ntawv qib siab li cas. Txhawm rau daws qhov teeb meem no, Kuv tsim daim duab qhia chaw nres tsheb ntawm thaj chaw tseem ceeb ntawm Utah State University lub tsev kawm ntawv. Daim duab qhia chaw yog rau cov tub ntxhais kawm kom nrawm nrawm saib seb qhov chaw nres tsheb twg yog
KEV TSHAWB TSEV KAWM NTAWV HAUV TSEV KAWM NTAWV (Tswj koj cov ntawv thov los ntawm ib tus neeg thoob ntiaj teb): 5 Kauj Ruam
KEV HLOOV TSHIAB (tswj koj cov ntawv thov los ntawm ib lub koom haum thoob ntiaj teb): Hauv cov lus qhia no kuv tau qhia yuav ua li cas koj tuaj yeem siv ESP8266 los tswj cov cuab yeej AC xws li Teeb, kiv cua, thiab lwm yam los ntawm thoob plaws ntiaj teb hauv Is Taws Nem ntawm Blynk app yog tias koj yog tshiab rau ESP8266 nco ntsoov txheeb xyuas cov lus qhia no:-Pib Pib Nrog NodeM
Caj Npab Caj Npab Ua Haujlwm Nrog Myosensor: 8 Kauj Ruam
Cuab Yeej Cuab Yeej Ua Haujlwm Nrog Myosensor: Txoj haujlwm no yog kev txhim kho ntawm caj dab ທຽມ rau cov neeg txiav tawm. Lub hom phiaj ntawm txoj haujlwm no yog tsim cov caj npab uas muaj nqis rau cov tib neeg uas tsis tuaj yeem them taus ib tus kws tshaj lij. Raws li txoj haujlwm no tseem nyob rau theem pib, kuv