Sunday, 15 December 2013

Post 6: Arduino Ultrasonic sensor LED

Today I want to present you an ultrasonic sensor that detects when something is nearby. If there is something which distance to the ultrasonic sensor is less than 5 cm, then the LED will switch on, otherwise the LED is off.