Arduino Ultrasonic Sensor HC-SR04
This post is about building a distance meter using HC-SR04 Ultrasonic Sensor and Arduino MEGA board. For PIC16F877 version click here. Raspberry Pi variant is also available at this link. HC-SR04 module can measure distances ranging from 2cm – 400 cm. The interface is relatively simple. According to sensor datasheet a short 10us pulse should … Read more