Cov txheej txheem:

Arduino LED Ultrasonic Sensor: 5 Kauj Ruam
Arduino LED Ultrasonic Sensor: 5 Kauj Ruam

Video: Arduino LED Ultrasonic Sensor: 5 Kauj Ruam

Video: Arduino LED Ultrasonic Sensor: 5 Kauj Ruam
Video: DIY Radar With Ultrasonic Sensor And Chat-GPT Generated Arduino Code | Coders Cafe 2024, Kaum ib hlis
Anonim
Arduino LED Ultrasonic Sensor
Arduino LED Ultrasonic Sensor

LED Sonic Sensor tau hais txog cuam tshuam nrog Ultrasonic Sensor Nrog Arduino.

Qhov sib txawv kuv ntxiv yog LED.

Qhov no yog LED Ultrasonic Sensor. Thaum cov khoom tau ze rau nws, LED yuav ci dua. Nws tuaj yeem pab koj pom qhov sau tseg ntawm qee yam lossis ib tus neeg txav ze rau koj.

Khoom siv

  • Arduino Leonardo (Koj tseem tuaj yeem siv Arduino Uno)
  • Cov qhob cij
  • Ultrasonic Sensor HC-SR04
  • LED
  • Kev tiv thaiv 220 Ohm
  • Txiv neej-rau-txiv neej Jumper Wires
  • Txiv neej-rau-poj niam Jumper Wires
  • Corrugated Fiberboard (Los yog lwm yam khoom siv dai kom zoo nkauj
  • Lub thawv yas (lossis lwm yam khoom siv)
  • Daim kab xev ob tog
  • Cutter
  • Daim kab xev (Tsis tsim nyog)
  • Ua npuas ncauj kab xev (Tsis tsim nyog)
  • Av (Tsis tsim nyog)

Kauj ruam 1: Circult thiab Code

Circult thiab Code
Circult thiab Code

Txuas txhua yam rau Arduino raws li qhia hauv daim duab.

Nco tseg:

  • VCC -> 5V (liab)
  • TRIG -> 11 (daj)
  • ECHO -> 10 (txiv kab ntxwv)
  • GND -> GND (dub)
  • Lwm cov xov hlau jumper (ntsuab)

Nov yog cov cai.

Kauj Ruam 2: Txheej Txheej

Rooj Plaub
Rooj Plaub

Muab lub rooj tsav xwm hluav taws xob tso rau hauv lub thawv yas. Koj tseem tuaj yeem siv lwm cov ntaub ntawv rau sab nrauv.

Kauj Ruam 3: Ntxig lub Sensor thiab LED

Ntxig lub Sensor thiab LED
Ntxig lub Sensor thiab LED

Laum ob qhov ntawm lub hau yas lub thawv. Muab lub ultrasonic sensor thiab LED tso rau hauv.

Kauj Ruam 4: Ruaj Khov

Ruaj khov kho
Ruaj khov kho

Kuv siv daim kab xev ua npuas ncauj, kab xev, thiab av nplaum txhawm rau txhawm rau xaim.

Qhov no yog kauj ruam tsis tsim nyog

Koj tuaj yeem ua nws yog tias koj nyiam:)

Kauj ruam 5: Kho kom zoo nkauj

Kho kom zoo nkauj
Kho kom zoo nkauj
Kho kom zoo nkauj
Kho kom zoo nkauj

Kho kom zoo nkauj nws yam koj nyiam! Kuv siv liab corrugated fiberboard.

Nov yog daim vis dis aus ntawm qhov ua tiav LED Ultrasonic Sensor.

Qhov no yuav qhia tias nws ua haujlwm li cas.

Vam tias koj nyiam nws:)

Pom zoo: