Using Ultrasonic Sensor HC-SR04 with PIC16F877

Using Ultrasonic Sensor HC-SR04 with PIC16F877 Featured Image

This post is about building a basic distance meter with ultrasonic HC-SR04 sensor and PIC micro controller. For Arduino version click here. Raspberry Pi variant is also available at this link The interface is very simple and does not require too many commands or complex software. In order to measure the distance you’ll need to execute the following … Read more

Bargraph Voltmeter

Bargraph-Voltmeter-Featured-Image

A simple bargraph voltmeter can be built using 2×16 LCD or compatible VFD display. For Arduino version click here. This design utilizes PIC16F877 microcontroller and its ADC block to convert 0 – 5V input voltage to a binary number shown as active segments on the display. In this particular design I’ve connected CU16025-UW6J VFD 2×16 … Read more

Running LED with PIC16F877A

Running LED with PIC16F877A Featured Image

In this post I’ll show a simple running LED circuit. Currently only 2 patterns are available but additional effects can be easily added by slightly modifying the code. This design uses only 16 LED’s however PIC16F877 has 5 I/O ports so more LED’s can be connected. Also the running rate can be controlled by increasing/decreasing … Read more

Alphanumeric Display Driver

Alphanumeric-Display-Driver-Featured-Image

In this post I’ll show how a single alphanumeric display can be driven by PIC16f877A micro controller. There are dedicated IC’s for this purpose  however a micro-controller can be programmed to perform this task. By using a microcontroller you’ll get a more flexible design not limiting the characters being displayed or additional functionality that can be … Read more

Kinetic Watch Winder

Kinetic Watch Winder Featured Image

In this post I’ll show how to build a basic kinetic watch winder using PIC microcontroller and stepper motor. Kinetic watches do not require changing the battery as frequently as in quartz watch however despite their many advantages they have a weak spot.  If you don’t wear the watch for a few days it will discharge … Read more