Cov txheej txheem:

Sawv !!!: 5 Kauj Ruam
Sawv !!!: 5 Kauj Ruam

Video: Sawv !!!: 5 Kauj Ruam

Video: Sawv !!!: 5 Kauj Ruam
Video: ICU Vol.5 - 09 Tig tsis tau rov los 2024, Hlis ntuj nqeg
Anonim
Image
Image

Txoj Haujlwm no yog ua kom tib neeg sawv. Muaj ntau tus neeg uas tsis tuaj yeem sawv los ntawm lub tswb, yog li txoj haujlwm no yog los pab cov neeg ntawd kom sawv tau yooj yim thiab sai. Txoj haujlwm siv servomotor thiab photoresistor thaum lub teeb ntawm lub photoresistor sensor thiab servomotor pib txav thiab ua rau tib neeg sawv. Txoj haujlwm no tau pab tiag tiag rau cov neeg uas yooj yim mus pw.

Kauj Ruam 1: Npaj Khoom

Txuas Servomotor
Txuas Servomotor

1. Arduino Leonardo board × 1

2. Servomotor × 1

3. Photoresistor × 1

4. lub laptop × 1

5. USB cable × 1

6. Jumper xov hlau × 12

7. Arduino Leonardo board × 1

8. Resistor × 1

Kauj ruam 2: Txuas Servomotor

Ceev faj: Tsis txhob ua rau lub tshuab servomotor nrawm dhau thiab nqa lub nra hnyav nraub qaum. Lub servomotor yuav broked.

Kauj Ruam 3: Txuas Photoresistor

Txuas Photoresistor
Txuas Photoresistor

Nco ntsoov tias xaim txuas mus rau qhov chaw raug. (zoo lossis tsis zoo)

Kauj ruam 4: Code

Code
Code

create.arduino.cc/editor/luannhsiung/9695b…

Kauj ruam 5: Upload Koj Cov Cai

Koj DONE !!!!

Pom zoo: