Cov txheej txheem:

Intruder Sensor: 5 Kauj Ruam
Intruder Sensor: 5 Kauj Ruam

Video: Intruder Sensor: 5 Kauj Ruam

Video: Intruder Sensor: 5 Kauj Ruam
Video: Lil Nas X, Jack Harlow - INDUSTRY BABY (Official Video) 2024, Hlis ntuj nqeg
Anonim
Intruder Sensor
Intruder Sensor

ntes txhua lub cev nkag mus rau hauv koj chav!

Kauj ruam 1: Cov ntaub ntawv

Khoom siv
Khoom siv

1. arduino UNO

2. khob cij board

3. ntsuab LED

4. liab LED

5. ob resistor

6. servo tsav

7. ultra sonic sensor

8. jumper xov hlau

Kauj Ruam 2: Ultra Sonic Sensor

Lub Ultra Sonic Sensor
Lub Ultra Sonic Sensor

1. muab lub sensor tso rau hauv qhov chaw J14 -J17

2. xaim Gnd mus rau txoj kev tsheb nqaj hlau Gnd

3. xaim echo rau tus pin 13

4. xaim txuas rau tus pin 12

5. xaim vcc rau 5v

6. xaim Vcc rau 5v tsheb nqaj hlau

Kauj ruam 3: Servo

Servo
Servo

1.cov hlau xaim mus rau hauv txoj kev tsheb nqaj hlau

2. xaim liab mus rau 5v tsheb nqaj hlau

3. xaim daj mus rau tus pin 9

Kauj ruam 4: LEDs

LEDs
LEDs

1. ntxig ko taw hauv pem hauv ntej kev tsheb ciav hlau

2. muab cov resistors rau ntawm qhov zoo

3. khiav xaim los ntawm qhov kawg ntawm tus tiv thaiv (tus pin ntsuab 3) (tus pin liab 2)

Kauj ruam 5: Programming

1. mus rau ntawm qhov chaw thiab khiav cov cai ntawm koj li UNO

2. thaum koj mus rau hauv lub vev xaib Rub lub app ces nws yuav khiav

3. mus rau sab saum toj sab xis thiab xaiv Arduino UNO

4. ib zaug koj tau ua txhua yam uas tau ua pov thawj ces khiav cov cai ntawm UNO

5. kuj xyuas kom tseeb tias koj nyob ntawm txoj cai com.

Nco tseg: qhov no yuav tsis ua haujlwm yog tias koj tsis muaj tus as khauj ntawm codebender.cc

codebender.cc/sketch:624523

qw tawm rau tus lej khoov!

Pom zoo: