Arduino Ultrasonic Sensor HC-SR04

Arduino-Ultrasonic-Sensor-HC-SR04-Featured-Image

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

7-Segment Display Counter with Arduino

7-Segment-Display-Counter-with-Arduino

Recently I’ve published a basic Binary to Hexadecimal converter design based on Atmega 2560 chip. The same set up can be used for building a simple UP/Down counter with Arduino Mega compatible board. 7-Segment display and its I/O stayed the same but now only 1 input (Pin 9) is used to select the counter direction.”0”- UP,”1” … Read more