pic

PIC16F 7-Segment SPI Display Featured Image

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 ...
Using Ultrasonic Sensor HC-SR04 with PIC16F877 Featured Image

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 ...
PWM Fan Controller Featured Image

PWM Fan Controller

Pulse Width Modulation (PWM) is very common technique for controlling cooling fan speed in Desktop PC. In this project PIC16F877A based Pulse Width Modulation  controller was built and tested with 2 fans. 80 mm Coolink SWiF2-80P PWM Fan and Arctic Cooling ...
10 Bit 7-Segment Digital Voltmeter Featured Image

10Bit 7-Segment Digital Voltmeter 0-24V

This is an upgrade to recently published Simple Digital Voltmeter.Few improvements were done to hardware and software.DVM operating range  was slightly increased up to 24 V Max, however the most significant change is that the code now uses full 10 bit of ...
Temperature Controlled Fan Featured Image

Temperature Controlled Fan

Here is another fan controller design based on PIC microcontroller, this time it's temperature controlled and can be used to monitor Hard Drive temperature and adjust the fan speed accordingly or as a case fan controller. This post following recently ...
PIC C Programming Featured Image

PIC C Programming

In this article I’ll show you how to program Microchip PIC microcontrollers using HI-TECH PICC compiler and basic PIC development board. The board consists of PIC16F876A, LED bar graph and 20MHz oscillator. PICKIT3 compatible programmer was used to download the ...
Interfacing-MAX7219-with-PIC16F876-microcontroller-Featured-Image

Interfacing MAX7219 with PIC16F876 microcontroller

MAX7219 is a common cathode display driver with a simple serial interfaces that can be easily connected to a microcontroller. Among other useful features this IC has built in brightness control and scan control capability that allows to limit the ...
Wireless UART Featured Image

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 ...
Bargraph-Voltmeter-Featured-Image

Bargraph Voltmeter

A simple bargraph voltmeter can be built using 2x16 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 ...

Digital Power Supply 0-14 Volt

Digitally Controlled Power Supply from 0-14 Volt based on PIC16F876A will be demonstrated in this post. This is a modification of Digital Power Supply 2.5-12V article and has similar characteristics. The most noticeable difference is the use of PCF8591P I2C Digital to ...