Category Archives: PIC Projects


Digital alarm clock using PIC

This project describes a digital clock with alarm function. It uses a PIC16F877 microcontroller to generate an accurate 1 sec delay with Timer0 using Roman’s zero error method. The time is displayed in large size font on a 4×20 character LCD that uses HD44780 display driver. You can synchronize the time with your computer time through a serial port. The required power is provided through a 9 V wall adapter which is used to obtain a regulated +5 V power supply using a LM7805 IC. The microcontroller runs with a 20 MHz external clock. The backlight of LCD is driven by

Read more

PIC microcontroller based audio spectrum analyzer

This project introduces a real-time audio spectrum analyzer based on a PIC18F4550 microcontroller. The spectrum frequency analysis is done with a 16-bit Fast Fourier Transformation (FFT) routine coded in C. It uses a 128×64 GLCD to display the FFT waveform of a live audio signal. “In order to perform a FFT calculation on an audio signal it is necessary to prepare the audio so the PIC18F4550 can sample the signal. The PIC18F4550 provides several analogue to digital converters (ADCs) which can be used to measure a voltage from 0V to 5V with 10-bit accuracy (0-1023). A typical audio line-out signal

Read more

Programmable digital timer switch using a PIC Microcontroller

Digital timer switches are used to control the operation of electrical devices based on a programmed schedule. This project describes a programmable digital timer based on the PIC16F628A microcontroller that can be programmed to schedule the on and off operation of an electrical appliance. The appliance is controlled through a relay switch. This timer switch allows you to set both on and off time. That means, you can program when do you want to turn the device on and for how long you want it to be remained on. The maximum time interval that you can set for on and

Read more

Motion detection alarm using a PIR sensor module with a PIC Microcontroller

Introduction This project describes a motion sensor alarm based on a Passive Infra-Red (PIR) sensor module. There are many vendors that manufacture the PIR sensor modules and almost all of them are pretty much the same in function. They have a single output that goes high (or low, based on specification) when the motion is detected. In this project, a PIC12F635 microcontroller continuously monitors the output from the sensor module and turns a buzzer on when it goes active. Theory Certain crystalline materials have the property to generate a surface electric charge when exposed to thermal infrared radiation. This phenomenon

Read more

Running message display project for Christmas

Introduction As Christmas is coming people have already lightened their houses. I thought of doing something different for this Christmas besides the festive Christmas lights. I made a running message display using LEDs, and thought of sharing it with you. This is a very simple running message display project that displays the message ‘MERRY XMAS’, where each letter is created with 5mm diameter red-color LEDs. The 9 letters in the message are individually turned on or off through a PIC16F688 microcontroller’s I/O pins. Therefore, a variety of display patterns can be generated through the software inside the microcontroller.

Read more
« Older Entries Recent Entries »