
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 ...

1Hz Clock Generator using PIC16F876
In this article we’ll see how to generate 1 Hz clock with PIC16F876/877 PIC microcontrollers. 3 different approaches will be demonstrated. The most basic solution is to use nested loops to “waste” enough instruction cycle time in order to produce ...

Infrared UART
Wireless Infrared UART prototype can be built by using two PIC16F876A controllers. One as IR receiver with dedicated Infrared decoder like SFH505A, SFH506 or similar IR receiver IC and other microcontroller as a transmitter via IR LEDs. This is relatively simple ...

Digital Stopwatch
In this article I’ll demonstrate a digital stopwatch design based on PIC16F876A micro controller.For related circuit based on Arduino click here. Similar project showing a Digital Timer design can be found here. Current circuit can be used to count in ...

Stepper Motor Interface PIC16F
This article shows a basic interface between PIC16F microcontroller and a unipolar stepping motor using an assembly code. For programming the MCU you'll need PICKIT2 or PICKIT3 device. Similar design for Arduino platform can be found at this link. Instead ...

AD9850 Signal Generator PIC16F
This is a modified version of basic wave generator design with AD9850 and Microchip PIC16F microcontroller. A relatively simple assembly code available for download at the bottom of the page. Instead of using a rotary encoder as many other similar available ...

Serial LCD Interface I2C
Interfacing LCD Display with serial Interface like I2C can save microcontroller I/O making it a practical alternative to a standard parallel 8 bit interface. We’ll use PCF8574 I2C port expander and PIC16F876A microcontroller to establish IIC communication by 2 lines, ...

PCF8591 I2C 8-bit A/D and D/A converter
In this short tutorial we’ll learn how to control PCF8591 I2C 8-bit A/D and D/A converter with PIC microcontroller. PCF8591 was already used in a number of recently published projects like Function Generator, also I’m planning to add it to ...

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 ...

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 ...