Electronic Lock

Electronic Lock Featured Image

Here is a modified and improved electronic lock design. For Arduino version click here.It is largely based on Digital Lock article, however this time a real electronic lock was used instead of a solenoid. The code is a 4 digit number and is stored in PIC16F876A memory. In order to open the lock all 4 digits … Read more

3 Digit Up Down Counter PIC16F877A

3-Digit-Up-Down-Counter-PIC16F877-Featured-Image

3 Digit Up Down Counter shown here is based on PIC16F877A microcontroller. The count is shown on the 2×16 LCD display and the direction is controlled by a switch connected to bit 3 of PORTA. With minimal changes the attached assembly code can be modified to run on similar MCUs from PIC16F family. Analogous design … Read more

Blinking LED with PIC16F684

Blinking LED with PIC16F684 Featured Image

This very simple design shows how to make a blinking LED using PIC16F684 MCU. In my previous post I’ve used PIC16F877/86 however most of basic circuits do not require a lot of I/O pins and PIC16F684 small 14 pin package is more than enough in this case. PIC16F684 microcontroller was chosen as a target device due to its … Read more

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