pic

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 ...
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 ...
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, ...
PIC Fan Speed Monitor Featured Image

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

PIC Waveform Recorder

In this article I’ll show you how you can use PIC microcontroller to record and store waveform patterns in its EEPROM memory and replay the sequence later. For this purpose we’ll need a signal/waveform generator to produce the signal, PIC ...
Digital Voltmeter LED Display Featured Image

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 ...
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 ...
Response Time Meter Featured Image

Response Time Meter

If you ever thought how fast you can react to external stimulus here is the circuit that can measure your response time. It measures the time it takes for you to press the push button in response to  turning the ...
Running LED with PIC16F877A Featured Image

Running LED with PIC16F877A

In this post I'll show a simple running LED circuit. Currently only 2 patterns are available but additional effects can be easily added by slightly modifying the code. This design uses only 16 LED's however PIC16F877 has 5 I/O ports ...
Loading...