Site icon Microcontroller Based Projects

pic

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

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

7×5 Dot Matrix Character Generator

In this post a basic character generator design based on PIC16F88 will be demonstrated. 7x5 Dot Matrix Display was used and its pin out is shown in the schematic below. Instead of using PIC16F876/7 microcontrollers PIC16F88 was chosen for this purpose ...

Alphanumeric Display Driver

In this post I’ll show how a single alphanumeric display can be driven by PIC16f877A micro controller. There are dedicated IC’s for this purpose  however a micro-controller can be programmed to perform this task. By using a microcontroller you'll get a ...

Electronic Lock

Here is a modified and improved electronic lock design. For Arduino version click here.It is largely based on Digital Lock article, however this time a real electronic lock was used instead of a solenoid. The code is a 4 digit number ...

128×64 LCD Display

A few weeks ago I’ve uploaded post with relatively simple assembly code example for interfacing 2x16 LCD display with PIC16F microcontrollers. Driving Graphic LCD display is more complex task  as it lacks the build in character generation unit so each pixel needs to ...

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

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

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

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

 

 

Exit mobile version