Cov txheej txheem:

Tshuab Qoj Qoj: 4 Kauj Ruam
Tshuab Qoj Qoj: 4 Kauj Ruam

Video: Tshuab Qoj Qoj: 4 Kauj Ruam

Video: Tshuab Qoj Qoj: 4 Kauj Ruam
Video: Plab Plab Ntswg..(Pluav Pluav Ntswg) Maiv Twm New Song 2023-2024 2024, Hlis ntuj nqeg
Anonim
Image
Image

Kuv tau ua lub tshuab no rau cov neeg uas tsis muaj zog txaus, zoo li crunches, zaum, dhia ntev, thiab khiav. Qhov no tuaj yeem pab lawv ua haujlwm zoo txhua lub sijhawm lawv ua. Yog li ntawd, lawv tuaj yeem paub pes tsawg zaus lawv ua. Coob leej neeg tsis ua haujlwm zoo, yog li thaum lawv sim, lawv yuav tsis dhau tus qauv. Tab sis yog tias lawv muaj lub tshuab no, lawv tuaj yeem hla tau yooj yim dua.

Kauj Ruam 1: Npaj Cov Npe

Npaj Cov Npe
Npaj Cov Npe
Npaj Cov Npe
Npaj Cov Npe

Nov yog yam uas koj xav tau los npaj rau txoj haujlwm no:

1. 1x Arduino Leonardo2. 1 x BreadBoard

3. 12x Jumper Wire Txiv neej rau Txiv neej

4. 1x LCD 12C zaub 16x2

5. 1x Ultrasonic Sensor

6. 1x kuab

7. 1x Power Bank

8. 1x xoj

9. 1x ruler

10. 1x Txiav Mat

Kauj ruam 2: Tsim Arduino

Image
Image
Tsim Arduino
Tsim Arduino
Tsim Arduino
Tsim Arduino

Nov yog cov kauj ruam rau kev tsim Arduino

1. Nruab "Library" (Kauj Ruam 3)

2. Txuas lub LCD xov hlau rau qhov zoo, tsis zoo, SDA, SCL (Arduino board, breadboard, LCD yuav tsum tau ntsaws rau hauv)

3. Ntsaws lub xov hlau sensor mus rau qhov zoo, tsis zoo, D12-Echo, D13-Trig (Arduino board, breadboard, lub sensor yuav tsum tau ntsaws rau hauv)

4. Txuas ob tus txiv neej-rau-txiv neej xov hlau rau hauv "GND & 5V" ntawm Arduino board; "zoo thiab tsis zoo" ntawm daim ntawv qhia zaub mov

5. ntsaws lub txhab nyiaj hluav taws xob rau hauv lub thawv ntawv (siv ob tus txiv neej rau txiv neej cables + USB DuPont fais fab cable)

6. Muab lub thawv xaiv rau ntawm daim ntawv txiav

7. Ntsuas qhov ntev thiab dav ntawm LCD thiab ntsuas nrog tus xaum thiab tus pas ntsuas (cov ntsiab lus:

8. Kho lub kaum, pib txiav, nco ntsoov tsis txhob txiav tuab dhau thawj zaug (cov ntsiab lus:

9. Muab Arduino board, breadboard, sensor, LCD, cable, mobile zog rau hauv lub thawv txiav tiav

10. Kaw lub thawv

Kauj ruam 3: Circuit Court

Ua ntej koj xa koj cov cai, koj tseem yuav tsum rub lub tsev qiv ntawv LiquidCrystal_I2C.h. Nov yog lub tsev qiv ntawv.

Txog tus ntsuas, siv Esplora Built-In los ntawm Arduino.

Yuav ua li cas rub tawm cov tsev qiv ntawv los ntawm Arduino?

1. Qhib Arduino APP

2. Nyem rau Sketch

3. Nyem rau suav nrog Lub Tsev Qiv Ntawv

4. Nyem "Manage Libraries"

5. Tshawb nrhiav "Espora"

Nov yog qhov txuas rau tus lej:

Kauj Ruam 4: Yuav Ua Li Cas

Cov kauj ruam:

1. Qhib Power Bank

2. Sawv ntawm qhov chaw

3. Muab lub npov nyob ib sab ntawm koj, nyob ntawm qhov ntsuas nrug deb

4. Ua rau crunches, tos li ob peb feeb kom cia lub ntsuas qhov ntsuas

5. Mus txuas ntxiv ntu 4

6. Txhua lub sijhawm yuav tsum saib seb koj ua tau ntau npaum li cas

Pom zoo: