Skip to content

This project demonstrates a simple LED blinking example using the PIC16F877A microcontroller. The LED connected to PORTB Pin 7 (RB7) toggles ON and OFF every 1 second, illustrating basic digital output control.

Notifications You must be signed in to change notification settings

asathiskumar98-byte/Single-LED-Interface-using-PIC16F877A

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

💡 Single-LED-Interface-using-PIC16F877A

🔧 Project Overview

This project demonstrates a simple LED blinking example using the PIC16F877A microcontroller. The LED connected to PORTB Pin 7 (RB7) toggles ON and OFF every 1 second, illustrating basic digital output control.

⚙️ Hardware & Software Requirements

Hardware:

PIC16F877A Microcontroller

LED (any color)

330Ω resistor

Breadboard / Proteus simulation board

Software:

MPLAB X IDE

XC8 Compiler

Proteus 8 Professional (for simulation)

🧩 Proteus Circuit Setup

Controller: PIC16F877A

Oscillator: 20 MHz Crystal (connect to pins 13 & 14)

LED: Connect anode to RB7 through 330Ω resistor, cathode to GND

Power: +5V to VDD, GND to VSS

▶️ Simulation Steps

Open Proteus_Design.pdsprj in Proteus 8.

Load the compiled .hex file generated from MPLAB X.

Run the simulation — watch the LED blink every second.

📸 Output

LED at RB7 blinks ON (1s) → OFF (1s) continuously.

🧰 Future Expansion Ideas

Add multiple LEDs with different blink patterns.

Use a button to control LED blinking speed.

Interface with LCD to display status.

About

This project demonstrates a simple LED blinking example using the PIC16F877A microcontroller. The LED connected to PORTB Pin 7 (RB7) toggles ON and OFF every 1 second, illustrating basic digital output control.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages