Skip to content

FastPlayer1234/Ultrasonic-Distance-Measure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Ultrasonic Distance Measure

A simple code to measure the distance using an arduino and ultrasonic sensor.

Materials

  • Arduino Uno R3
  • Ultrasonic module HC-SR04

Connections

  • Vcc - 5v
  • Trig - Pin 13
  • Echo - Pin 12
  • Gnd - Gnd

Instructions

  1. Upload the code to the Arduino.
  2. Open the Serial Monitor (ensure the baud rate is set to 9600).
  3. The serial monitor will print the distance of an object from the sensor in centimeters.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages