pic

Digital Stopwatch Featured Image

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 ...
Digital Voltmeter VFD Display Featured Image

Digital Voltmeter VFD Display

This is a new revision of 10 bit Digital Voltmeter. For Arduino based voltmeter click here. Recently I’ve published a few voltmeter designs ranging from a simple LED display voltmeters with 8 bit of resolution to a more complex with 10bit ...
Fading LED with PIC microcontroller Featured Image

Fading LED with PIC microcontroller

This article shows how to create a fading/dimming effect of the LED using PIC micro-controller. For similar design based on Arduino click this link.Controlling LED brightness using PWM is a relatively simple task and can be accomplished by configuring PIC16F877 ...
Serial LCD Interface I2C Featured Image

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, ...
Function Generator Featured Image

Function Generator

Have you ever wondered how to generate a sine wave using PIC microcontroller. In this post I’ll show you a simple circuit design that can generate arbitrary wave forms including sine by using MCU and PCF8591 D/A converter. For similar design ...
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 ...
Simple Digital Voltmeter Featured Image

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 ...
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 ...
Digitally Controlled Power Supply 0-25 V Part 2 Featured Image

Digitally Controlled Power Supply 2

This is an update to a recent post on a subject of building a Digitally Controlled Power Supply. In part 1 a basic configuration was presented. In this version a numbers of modifications were made to software/hardware to produce a more advanced ...
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 ...