Android Tutorial 6: HC-SR04 Ultrasonic rangefinder
Link to the Full Tutorial and the Android code: http://www.moleandroid.com/hc-sr04-ultrasonic-rangefinder/
The goal here will be to be able to make a distance measurement then display the distance in cm in the serial monitor and light LED1 if distance less than 5 CM or LED2 if more than 40 CM.
Link to the Full Tutorial and the Android code: http://www.moleandroid.com/hc-sr04-ultrasonic-rangefinder/
The goal here will be to be able to make a distance measurement then display the distance in cm in the serial monitor and light LED1 if distance less than 5 CM or LED2 if more than 40 CM.
Comments