Summary of PIC microcontroller Beginner’s guide: Basic connection circuit
The PIC microcontroller is a low-cost single-chip computer by Microchip used to add intelligence to electronic designs; PIC16F877A is a popular 40-pin device programmed with Mikro C for embedded C development. The article outlines PIC advantages, PIC16F877A features, its five I/O ports, and mentions a basic connection diagram and LED blink example using Mikro C.Parts used in the PIC16F877A Project:
- PIC16F877A microcontroller (40-pin)
- LED
- Resistor for LED (current limiting)
- Power supply (2.5 to 6 V)
- Crystal oscillator (up to 20 MHz) or internal oscillator
- Capacitors for oscillator and power decoupling
- Programmer/debugger compatible with Mikro C
- PCB or breadboard for connections
- Wiring/jumpers
Why PIC is used/ Why PIC is Popular?
- High speed
- High performance RISC (Reduced Instruction Set Computer) CPU
- Instruction Set simplicity
- Integration of operation features
- Programmable timer options
- Interrupt control
- EPROM/OTP/ROM options
- Inbuilt modules
- Low power consumption
- Wide operation voltage range: 2.5 to 6 volt
- Programmable code protection mode
- Power saving sleep mode
PIC16F877A Features
- High performance CPU
- Only 35 instructions
- All are single cycle instruction excluding for program branches.
- Operating speed is DC to 20 MHz.
- 8Kx14 word of flash memory
- 368×8 bytes of data memory
- 256×8 bytes of EEPROM data memory
- Interrupt compatibility
- Power on reset
- Power up timer and oscillator start up timer
- Watch dog timer with its own chip RC oscillator for reliable operation
- Programmable code protection power saving SLEEP mode
- Low power, high speed CMOS FLASH/EEPROM technology
For more detail: PIC microcontroller Beginner’s guide: Basic connection circuit
Quick Solutions to Questions related to PIC16F877A Project:
- What is a PIC microcontroller?
The article states a PIC microcontroller is a low cost computer on a chip manufactured by Microchip that imparts intelligence and logic for special purpose applications. - How is PIC microcontroller programming done?
Programming is done using the popular software Mikro C as mentioned in the article. - Which PIC device is discussed in the article?
The article discusses the PIC16F877A microcontroller. - How many ports does PIC16F877A have?
The article says PIC16F877A has five ports: port A, port B, port C, port D and port E. - Why is PIC popular?
The article lists reasons: high speed, high performance RISC CPU, simple instruction set, integrated features, programmable timers, interrupt control, inbuilt modules, low power consumption, wide voltage range, code protection, and sleep mode. - What are key features of PIC16F877A?
Key features include 35 instructions (mostly single-cycle), up to 20 MHz speed, 8Kx14 flash memory, 368×8 data memory, 256×8 EEPROM, various timers, watchdog timer, and low power CMOS FLASH/EEPROM technology. - What voltage range does PIC operate in?
The article states a wide operation voltage range of 2.5 to 6 volt. - Can embedded C be used for PIC development?
Yes; the article recommends embedded C programming using Mikro C Pro for PIC development. - Does the article include an example program?
The article mentions a basic connection diagram and an LED blinking program for PIC microcontroller.
Related projects
PIC16F877 Driving LCD in 4-Bit Mode using PIC16F877 with Proteus Simulation
Introduction This microcontroller project shows how a PIC16F877 can drive an LCD display using 4-bit mode inside a Proteus simulation.The project demonstrates...
Programmers & ICSP · PIC16F877AEPE PIC/LCD Demo using PIC16F877 with Proteus Simulation
IntroductionThe EPE PIC/LCD Demo is a classic microcontroller project that demonstrates how a PIC16F877 can fully control a PG12864F graphical LCD.Designed as...
Motors & Robotics · PIC16F877AEfficient Sun-Following Robot: A Solar Tracker with Microcontroller Control
Abstract The impending global challenge of dwindling non-renewable fuel resources underscores the urgency of transitioning towards renewable energy alternatives like solar power....
Development Boards & Kits · PIC18F4520Voltage Measurement with A PIC Microcontroller
Voltage Measurement with PIC Microcontroller articulates a methodical framework for facilitating analog voltage measurement using the PIC18F4520, an advanced member of Microchip’s...
Development Boards & KitsUltra-Low Power: Microcontroller Standby Current to 130uA with OPEnS Power Control Board
At the OPEnS Lab, a key focus for our projects is achieving exceptionally long battery life. This was particularly true for the...
Development Boards & KitsAn Integrated Approach to Developing Applications with Microchip PIC Microcontrollers
1. Introduction In our daily lives, a variety of devices such as telephones, household appliances, and cars incorporate "smart" electronics, typically manifested...