Cov txheej txheem:
- Khoom siv
- Kauj ruam 1: Pasting Code
- Kauj Ruam 2: Teeb tsa Breadboard
- Kauj Ruam 3: Teeb Tus Photoresistor
- Kauj Ruam 4: Teeb tsa Lub Buzzer
- Kauj Ruam 5: Npaj rau Cov Khoom Siv Ua Sab Nraud
- Kauj Ruam 6: Txhim Kho Qhov Tseem Ceeb ntawm Th Device
- Kauj Ruam 7: Txhim Kho Tus Kov
- Kauj Ruam 8: Ua Ntawv Thov Power Bank
- Kauj ruam 9: Txaus siab rau Game !!!
Video: Phau Ntawv Qhia Teeb Duab: 9 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Txoj haujlwm no yog txhawm rau ua ib hom kev qhia pas nrig rau cov neeg dig muag kom pom lawv txoj hauv kev. Txawm li cas los xij, Kuv tau xaiv hloov nws mus ua game uas txhua tus tuaj yeem ua si. Kuv tau ua tus pas nrig qhia uas yog lub teeb pom kev zoo, thiab nws yuav ua suab nrov thaum nws hnov qhov ci ntsa iab. Tus neeg uas ua ntawv yuav tsum hnav lub qhov ncauj qhov muag thiab siv tus pas nrig los nrhiav cov khoom muaj nqis uas muaj teeb ci rau nws. Yog li ntawd, thaum tus pas nrig qhia ua suab nrov, tus neeg ua si paub cov khoom muaj nqis nyob ntawm nws xub ntiag.
Khoom siv
Cov khoom siv xav tau rau txoj haujlwm no:
Cov Cuab Yeej:
- Hniav
- Txiab
- Tus kav
- Cwj mem
- Cov duab los qhia
- Kub yaj kua nplaum phom
- 1 lub txhab nyiaj fais fab
Cov ntaub ntawv Arduino:
- x1 daim ntawv qhia zaub mov
- x1 Arduino UNO lub rooj tsavxwm
- Jumper xov hlau
-1 x Kev tiv thaiv kab mob
- x1 220-ohm tsis kam
- x1 lub suab
Kauj ruam 1: Pasting Code
Ua ntawv thov cov cai hauv qab no thiab muab tshuaj txhuam nws tso rau ntawm Arduino, xa cov cai mus rau xaim.
void teeb tsa ()
{
Serial.begin (9600);
}
void lub voj ()
{
Serial.print (analogRead (A0));
Serial.print ("");
Serial.println ();
ncua (20.0);
yog (((analogRead (A0))>> 1000.0)))
{
suab (3, 1000.0, 100.0);
ncua (100);
suab (3, 800.0, 100.0);
ncua (100);
suab nrov (3, 600.0, 100.0);
ncua (100);
}
}
Kauj Ruam 2: Teeb tsa Breadboard
Hauv cov kauj ruam no, koj yuav teeb tsa koj lub Arduino breadboard thiab tsom mus rau hauv Circuit Court. Koj yuav xav tau tag nrho "Cov ntaub ntawv Arduino" hais los saum no.
Kauj Ruam 3: Teeb Tus Photoresistor
Hauv theem no, koj yuav tsom mus rau teeb tsa lub photoresistor li cas.
Ua ntej tshaj, siv cov hlua txuas txuas 5V rau tus nqi zoo thiab txuas GND rau tus nqi tsis zoo. Qhov thib ob, siv txoj hlua dhia txuas txuas tus nqi zoo rau lub qhov khawb ntawm lub khob cij. Tom qab ntawd tso tus photoresistor ntawm tib txoj kab ntsug raws li cov hlua dhia koj tsuas yog tso nws. Tom ntej no, tso lwm lub jumper hlau txuas lub photoresistor rau A0 tus pin. Thib peb, muab 220-ohm resistor rau tib txoj kab ntsug raws li cov hlua hlau txuas uas txuas rau A0. Thaum kawg, tso lub jumper xaim txuas tus tiv thaiv rau qhov tsis zoo. (saib daim duab saum toj no)
Kauj Ruam 4: Teeb tsa Lub Buzzer
Cov kauj ruam no koj yuav teeb tsa lub buzzer.
Ntawm peb theem yooj yim kom ua tiav lub Circuit Court ntawm lub buzzer. Ua ntej tshaj, siv lub jumper xaim txhawm rau txuas qhov tsis zoo rau lub qhov khoob ntawm lub khob cij. Qhov thib ob, tso lub buzzer rau ntawm kab ntsug raws li lub xaim xaim. Kawg, siv lwm lub jumper xaim txuas mus rau lwm sab ntawm lub buzzer rau D3-pin.
Txij ntawm no mus, koj tau ua tiav qhov Circuit Court xav tau rau txoj haujlwm no.
Kauj Ruam 5: Npaj rau Cov Khoom Siv Ua Sab Nraud
Koj yuav tau npaj txhua qhov "cuab yeej" uas tau hais los saum no kom ua rau sab nrauv.
Nqa cov duab los qhia thiab txiav nws mus rau qhov loj me hauv qab no:
- x2 19.5 X 14.5 cm
- x2 14.5 X 6 cm
X2 18 X 6 cm
X4 67 X 3
- x1 13 X 14 (yeem)
Kauj Ruam 6: Txhim Kho Qhov Tseem Ceeb ntawm Th Device
lo () thiab () duab los qhia ua ke los ua ib lub thawv. Nco ntsoov nkhaus lub qhov me me ntawm sab laug daim ntawv txhawm rau txhawm rau txuas Arduino UNO lub rooj tsavxwm rau lub zog siv xaim. Tsis tas li, ua ntej koj lo nws rau hauv ib lub thawv, muab tag nrho koj lub voj voog rau hauv lub thawv.
Kauj Ruam 7: Txhim Kho Tus Kov
Hauv cov kauj ruam no, koj yuav tau lo plaub () duab los qhia ua ke thiab tsim ib lub duab plaub. Tom qab ntawd, nco ntsoov zais cov hlau sab hauv tus kov thiab nthuav tawm lub ntsaws rau lub txhab nyiaj tom qab.
Kauj Ruam 8: Ua Ntawv Thov Power Bank
Cov kauj ruam no koj yuav tau npaj lub txhab nyiaj fais fab thiab txuas nws mus rau xaim. Tom qab ntawd, lo nws tom qab ntawm tus tes thiab npog nrog daim duab los qhia. Tom qab cov kauj ruam no, koj ua tiav nrog lub cuab yeej.
Kauj ruam 9: Txaus siab rau Game !!!
Kauj ruam kawg koj yuav tsum ua yog npaj cov khoom muaj nqis. ib qho ntawm cov khoom muaj nqis yuav tsum ci. Kaw lub teeb, hnav lub qhov muag qhov muag, tuav rau phau ntawv qhia saib lub ntsej muag, thiab nrhiav cov khoom muaj nqis !!!
Pom zoo:
LED Phau Ntawv Teeb - Hauv Phau Ntawv!: 10 Kauj Ruam (nrog Duab)
LED Phau Ntawv Teeb - Sab Hauv Phau Ntawv!: Ib yam li cov npe hauv lub xeev, Cov Lus Qhia no yuav qhia koj yuav ua li cas thiaj ua lub teeb ci hauv phau ntawv. Kuv tau pib xav txog kev siv phau ntawv me me rau qhov kev tsim no yog li nws tuaj yeem ua lub hnab loj (tseem yuav ua rau ib qho) tab sis kuv txiav txim siab ua kom yooj yim rau
RAWS LI COV NTAUB NTAWV NTSEEG NTAWV NTAWV MUAJ NTAWV TSHUAJ NTAWV TSO CAI RAU RASPBERRY PI: 6 Kauj Ruam (nrog Duab)
RAWS LI COV NTAUB NTAWV NTAWV MUAJ NTAWV TSHUAJ NTXIV RAU RASPBERRY PI: Hauv qhov haujlwm no, peb yuav txuas peb ntawm Atlas Scientific's EZO sensors (pH, yaj cov pa thiab kub) mus rau Raspberry Pi 3B+. Hloov chaw ntawm txuas cov kab hluav taws xob mus rau Raspberry Pi, peb yuav siv Whitebox Labs Tentacle T3 daim ntaub thaiv. T
Cov Ntawv Qhia Saib Tus Kheej + ESP8266 Phau Ntawv Qhia: 6 Cov Kauj Ruam (nrog Duab)
Cov Lus Qhia Saib Tus Kheej + ESP8266 Phau Ntawv Qhia: Cov neeg rau npe teev npe rau Youtube thiab Facebook muaj ntau heev, tab sis vim li cas ho tsis ua tej yam zoo sib xws rau Cov Ntawv Qhia? Qhov ntawd yog qhov peb yuav ua: hauv cov lus qhia no, peb yuav ua tus Saib Cov Lus Qhia! cov kev xav yuav tsum tau captu
Tsim Bookhuddle.com, Lub Vev Xaib rau Tshawb Pom, Npaj, thiab Sib Qhia Phau Ntawv Qhia: 10 Kauj Ruam
Tsim Bookhuddle.com, Lub Vev Xaib rau Kev Tshawb Fawb, Kev Koom Tes, thiab Sib Qhia Phau Ntawv Qhia: Cov ntawv no piav qhia cov kauj ruam cuam tshuam hauv kev tsim thiab nthuav tawm Bookhuddle.com, lub vev xaib tsom rau pab cov nyeem pom, teeb tsa, thiab faib cov ntaub ntawv phau ntawv. yuav siv rau kev txhim kho ntawm lwm lub vev xaib
Intro to VB Script: Phau Ntawv Qhia Pib: Ntu 2: Ua Haujlwm Nrog Cov Ntaub Ntawv: 13 Kauj Ruam
Taw qhia rau VB Tsab Ntawv: Phau Ntawv Qhia Pib: Ntu 2: Ua Haujlwm Nrog Cov Ntaub Ntawv: Zoo hauv kuv qhov VBScript kawg qhia, Kuv mus dhau yuav ua li cas thiaj ua tsab ntawv kaw koj lub internet kom ua si Xbox360. Hnub no kuv muaj teeb meem sib txawv. Kuv lub khoos phis tawj tau kaw ntawm lub sijhawm tsis raug thiab kuv xav teev npe txhua lub sijhawm uas lub khoos phis tawj