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

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

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

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

LED Aquarium Lighting
Recently I was asked to build an aquarium lighting controller prototype to provide variable brightness during its operation and ability to program ON/OFF times. 25 blue and white diffused 10mm LED were used to illuminate the aquarium. The main requirement from ...

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

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

PIC16F Development Board
In this post I'll show a more general approach for circuits prototyping. Instead of building each individual design to validate its operation why not to design a basic PIC16F877A based Development Board. Current design have all the necessary features of ...

Fan Speed Monitor
Fan Speed Monitor is another simple design based on PIC16F876A microcontroller. Two similar posts about ways of controlling and monitoring fan speed were recently published. PWM Fan Controller and 2 Channel PC Fan Controller. Current article however implements a different ...