Share:


PIC16F77-I/P

Specifications

SKU: 11192547

BUY PIC16F77-I/P https://www.utsource.net/itm/p/11192547.html
IC MCU 8BIT 14KB FLASH 40DIP
Parameter Description Value
Device Microcontroller PIC16F77-I/P
Package Plastic Dual Inline Package (PDIP) 40-pin
Operating Voltage (Vdd) Supply Voltage Range 2.0V to 5.5V
Operating Temperature (Tamb) Ambient Temperature Range -40°C to +85°C
Clock Frequency Maximum Internal Clock Frequency 20 MHz (4 MHz internal oscillator)
Flash Program Memory Program Memory Size 7K x 14 bits
EEPROM Data Memory EEPROM Data Memory Size 256 bytes
RAM Data Memory RAM Data Memory Size 368 bytes
I/O Pins Total I/O Pins 33
Analog-to-Digital Converter (ADC) ADC Channels 8 channels, 10-bit resolution
Timers Number of Timers 3 (Timer0, Timer1, Timer2)
Capture/Compare/PWM Modules Number of CCP Modules 2
Serial Communication Interfaces (SCI) Number of SCI Modules 1 (USART)
Synchronous Serial Port (SSP) Number of SSP Modules 1 (SPI/I2C)
Watchdog Timer (WDT) Watchdog Timer Yes
Brown-out Reset (BOR) Brown-out Reset Yes
Low-Voltage Programming (LVP) Low-Voltage Programming No
Power Consumption Active Mode Current 2 mA at 5V, 4 MHz
Power Consumption Sleep Mode Current 1 μA at 5V
Programming Method In-Circuit Serial Programming (ICSP) Yes
Programming Voltage Programming Voltage 13.5V (MCLR pin)

Instructions for Using the PIC16F77-I/P

  1. Power Supply:

    • Connect the Vdd pin to the positive supply voltage (2.0V to 5.5V).
    • Connect the Vss pin to ground (GND).
  2. Oscillator Configuration:

    • For external crystal or resonator, connect it between the OSC1 and OSC2 pins.
    • For internal oscillator, configure the OSCCON register.
  3. Reset Pin (MCLR):

    • Connect a pull-up resistor (typically 10kΩ) from the MCLR pin to Vdd.
    • For programming, apply 13.5V to the MCLR pin.
  4. I/O Configuration:

    • Configure the TRIS registers to set the direction of the I/O pins (input or output).
    • Use the PORT registers to read or write data to the I/O pins.
  5. Program Memory:

    • Write your program code into the Flash program memory using a programmer that supports ICSP.
    • Ensure the configuration bits are set correctly for your application (e.g., oscillator type, watchdog timer, power-up timer).
  6. Data Memory:

    • Use the EEPROM and RAM for storing data during program execution.
    • Access EEPROM using the EECON1 and EECON2 registers.
  7. Timers and Counters:

    • Configure the T0CON, T1CON, and T2CON registers to set up the timers.
    • Use the corresponding interrupt flags (T0IF, T1IF, T2IF) to handle timer overflows.
  8. Serial Communication:

    • Configure the BAUDCON and TXSTA registers for USART.
    • Use the RCSTA register to enable reception and transmission.
    • For SPI/I2C, configure the SSPCON and SSPSTAT registers.
  9. Interrupts:

    • Enable interrupts by setting the GIE bit in the INTCON register.
    • Set individual interrupt enables and flags as needed.
  10. Power Management:

    • Use the SLEEP instruction to enter low-power sleep mode.
    • Wake up from sleep using external interrupts, watchdog timer, or other wake-up sources.
  11. Debugging:

    • Use the MPLAB X IDE with a debugger to step through your code and inspect variables.
    • Monitor the I/O pins and serial communication using an oscilloscope or logic analyzer.

By following these instructions, you can effectively use the PIC16F77-I/P microcontroller in your embedded systems projects.

(For reference only)

 Inquiry - PIC16F77-I/P