Using Ultrasonic Sensor HC-SR04 with PIC16F877
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 ...
Blinking LED with PIC16F684
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 ...
7×5 Dot Matrix Character Generator
In this post a basic character generator design based on PIC16F88 will be demonstrated. 7x5 Dot Matrix Display was used and its pin out is shown in the schematic below. Instead of using PIC16F876/7 microcontrollers PIC16F88 was chosen for this purpose ...
Dual Voltmeter Amperemeter LCD
In this post a simple Digital Dual Voltmeter and Ampere meter design will be shown. It uses PIC16F876A microcontroller and 2x16 LCD display and has 2 input channels for measuring voltage in 0-25v range and current up to 500mA. The ...
7-Segment Display with SPI PIC16F876A
For this project two PIC16F877 MCU's were used, see project schematics below. Slave PIC runs LEDs decoding and multiplexing code on data received from Master. 7-Segment inputs connected to PORTC,B and common digits anodes to PORTB,A via 2N3906 collectors for ...
Simple Digital Voltmeter
Simple digital voltmeter can be built by using PIC microcontroller and a few discrete components. PIC16F877A 10 bit ADC module was used for this purpose, we’ll work only with 8 upper bits to translate input voltage to digital form and ...
Digital Timer
Digital Timer can be built by using PIC16F876A micro-controller and a few additional components. The schematic is similar to Fan Speed Monitor Design. 3x4 Keypad and 5V Relay were added as you can see from figure below. Only three 7-Segments ...
Digital Voltmeter LED Display
Here is another modification of a digital voltmeter. This time with 7 – Segment LED Display. These circuits seems to be more popular than other designs so I’ve decided to publish another variant. You can find 4 variations of digital voltmeter on ...
Digital Alarm Clock
Digital Alarm Clock design based on PIC16F876A will be demonstrated in this post. Various modules from earlier project were implemented in current design hardware and source code. For example it uses the same 7-Segment Display and multiplexing routing as in ...
128×64 LCD Display
A few weeks ago I’ve uploaded post with relatively simple assembly code example for interfacing 2x16 LCD display with PIC16F microcontrollers. Driving Graphic LCD display is more complex task as it lacks the build in character generation unit so each pixel needs to ...