Ads Top

GrovePi+ Project 2: Adjustable Digital Distance Sensor For Robot Car!

On project 1 I faded two LEDs simultaneously using the GrovePi+ starter kit, and for my second project  I will be creating an adjustable distance parking sensor using a GrovePi+ board, an ultrasonic ranger, two LEDs, buzzer and and RGB LCD Display.

I have set up the target area to be less then 30 cm and the range to be less than 100 cm, but you can adjust the distance to any distance you like. When the sensor detects and object within the 100-cm range, the blue LED will light up. When the objects is withing the 30-cm target area, the red LED will light up and the buzzer will buzz.