Site icon Microcontroller Based Projects

pic

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

1Hz Clock Generator using PIC16F876

In this article we’ll see how to generate 1 Hz clock with PIC16F876/877 PIC microcontrollers. 3 different approaches will be demonstrated. The most basic solution is to use nested loops to “waste” enough instruction cycle time in order to produce ...

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

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

Solar Power Mobile Charger

Solar power mobile charger can be built by tweaking digital power supply schematic. The Software/Hardware stayed almost the same as the original circuit.Current design has the same overcurrent protection and output voltage can be changed by pressing SW1. Voltage and Current ...

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

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

Interfacing VFD with PIC Microcontroller

Vacuum fluorescent display can be a good alternative to a Liquid-crystal displays in some applications. They have a number of advantages over LCD like extended temperature range and excellent contrast in high brightness environment. The main disadvantage is higher power consumption ...

 

 

Exit mobile version