Cov txheej txheem:

DIY Radar System Siv Ultrasonic Sensor: 3 Kauj Ruam
DIY Radar System Siv Ultrasonic Sensor: 3 Kauj Ruam

Video: DIY Radar System Siv Ultrasonic Sensor: 3 Kauj Ruam

Video: DIY Radar System Siv Ultrasonic Sensor: 3 Kauj Ruam
Video: ЗЛО В АНТАРКТИКЕ (и НЛО на Аляске) - Высокая Странность 2024, Hlis ntuj nqeg
Anonim
DIY Radar System Siv Ultrasonic Sensor
DIY Radar System Siv Ultrasonic Sensor

Nov kuv qhia qhov haujlwm no nrog koj uas yooj yim ua nrog ultrasonic sensor arduino thiab servo motor.

Khoom siv

Arduino UNO & Genuino UNO × 1

Ultrasonic Sensor - HC -SR04 (Generic) × 1

Jumper xov hlau (muaj dav dav) × 1

SG90 Micro-servo motor × 1

Tsis Siv Neeg Breadboard

Softwares Siv

Arduino IDE Cov

Txheej Txheem Ua Haujlwm

Kauj ruam 1: Kho vajtse

Kho vajtse
Kho vajtse

1. txuas vcc ntawm servomotor (liab hlau) thiab vcc ntawm ultrasonic sensor mus rau 5v ntawm arduino

2. txuas lub gnd ntawm ultrasonic sensor thiab servo (xaim dub) rau hauv av ntawm arduino

3.connect trig thiab echo tus pin ntawm ultrasonic sensor rau 8 thiab 7 ntawm arduino

4. txuas lub teeb liab tus pin ntawm servo rau tus pin 9 ntawm arduino

Kauj ruam 2: Software

1. Let pib ua ntej los ntawm kev txhim kho arduino ide clickhere

2. Tom qab rub tawm nws muab lo lus muab rau hauv nws

3. Ntxiv mus rub tawm qhov hloov tshiab kawg ntawm kev ua tswv yim nyem qhov no

4. Muab cov cai muab rau hauv kev ua tswv yim

5. Kev ua lub tswv yim.

Nco tseg: hloov com3 ntawm tus lej rau koj lub chaw nres nkoj com uas txuas nrog lub tswv yim arduino

Saib peb daim vis dis aus los ntawm no

Kauj Ruam 3: Txoj Cai rau Arduino Lub Tswv Yim & Ua Haujlwm

Luam thiab Muab tshuaj txhuam cov cai los ntawm no

Pom zoo: