Showing posts with label arduino ultrasonic code. Show all posts
Showing posts with label arduino ultrasonic code. Show all posts

Sunday, December 20, 2015

arduino ultrasonic sensor project

       Arduino ultrasonic sensor project 

the circuit is follow


in this project we program for when the distance <100cm the led is on 
and else led is off 

in this project we need 
  • arduino board
  • ultrasonic sensor
  • led 
in this project the distance can show on the serial monitor 
the code is follow