Cov txheej txheem:

Ultrasonic Sensor Range Finder: 5 Kauj Ruam
Ultrasonic Sensor Range Finder: 5 Kauj Ruam

Video: Ultrasonic Sensor Range Finder: 5 Kauj Ruam

Video: Ultrasonic Sensor Range Finder: 5 Kauj Ruam
Video: TOF10120 Laser Range Sensor with Arduino to Measure Distance + Oled Display. laser for measurements 2024, Kaum ib hlis
Anonim
Ultrasonic Sensor Range Finder
Ultrasonic Sensor Range Finder

Taw qhia: Ultrasonic Range Finder Siv Arduino. Ultrasonic Range Finder yog txoj hauv kev yooj yim ntawm kev suav nrug deb ntawm qhov teeb meem los ntawm qhov deb tsis muaj kev sib cuag ntawm lub cev. Nws ntiav tus neeg saib xyuas nrug deb ntawm ultrasonic uas siv lub suab paj nruag los ntsuas qhov deb.

Kauj Ruam 1: HC Sr04 (ultrasonic Sensor)

HC Sr04 (ultrasonic Sensor)
HC Sr04 (ultrasonic Sensor)

Sensor yog dab tsi?

Lub ntsuas yog lub cuab yeej, tus qauv, lossis lub hauv paus uas nws lub hom phiaj yog txhawm rau txheeb xyuas cov xwm txheej lossis hloov pauv hauv nws ib puag ncig thiab xa cov ntaub ntawv mus rau lwm yam khoom siv hluav taws xob

Hom Sensors

1. Qhov feem ntau siv ntau hom kev ntsuas tau muab cais raws qhov ntau xws li

2. Kev siv hluav taws xob tam sim no lossis muaj peev xwm lossis Sib nqus lossis Xov tooj cua

3. Humidity sensor

4. Fluid tshaj tawm los yog Flow sensors

5. Txoj kev ntsuas siab

6. Thermal lossis Heat lossis Kub sensors

7. Proximity sensors

8. Qhov ntsuas qhov ntsuas

9. Qhov chaw ntsuas

!!!!!!! ULTRASONIC SENSOR YOG PROXIMITY SENSOR !!!!!!!!

Ib qho Ultrasonic sensor yog lub cuab yeej uas tuaj yeem ntsuas qhov deb mus rau ib qho khoom siv los ntawm kev siv lub suab nthwv dej. Nws ntsuas qhov deb los ntawm kev xa tawm lub suab nthwv dej ntawm qhov tshwj xeeb thiab mloog rau lub suab nthwv dej kom thim rov qab.

Kauj Ruam 2: Nqi Khoom

Nqi Khoom
Nqi Khoom
Nqi Khoom
Nqi Khoom
Nqi Khoom
Nqi Khoom

1. Arduino Uno

2. Ultrasonic sensor - HC sr04

3. Roj teeb 3.7V

4.lws

5. Breadboard

6. Jumper cables

Kauj Ruam 3: Schematics thiab Kev Sib Txuas

Schematics thiab Kev Sib Txuas
Schematics thiab Kev Sib Txuas

kev sib txuas

1. Txiv tus PIN rau tus PIN 12

2. echo PIN rau PIN 11

3. LED (+ve) rau tus PIN 7

4. Txuas roj teeb (+ve rau VCC, -ve rau GND)

Kauj ruam 4: Code

1. Install ultrasonic tsev qiv ntawv

Nyem qhov no rau lub tsev qiv ntawv

2. Upload Cov cai

NYEEM NTAWV rau qhov chaws

Pom zoo: