Specifications
SKU: 11646318
Parameter | Description | Value |
---|---|---|
Device | Microcontroller | PIC16F688-I/SL |
Package | Type | 20-Pin SSOP (Small Outline) |
Operating Voltage (Vdd) | Range | 2.0V to 5.5V |
Operating Current | Typical @ 4MHz, 5V | 3.5mA |
Program Memory | Type | Flash |
Program Memory Size | Total | 3.5K x 14 |
Data Memory (RAM) | Total | 256 x 8 bytes |
EEPROM Data Memory | Size | 256 x 8 bytes |
Clock Speed | Maximum | 20 MHz |
I/O Pins | Total | 17 |
Analog-to-Digital Converter (ADC) | Channels | 13 |
Comparator | Channels | 2 |
Timer/Counter | Modules | 2 (TMR0, TMR1) |
Capture/Compare/PWM | Module | 1 (CCP1) |
Interrupts | Sources | 13 |
Power-on Reset (POR) | Included | Yes |
Brown-out Reset (BOR) | Included | Yes |
Watchdog Timer (WDT) | Included | Yes |
Low-Voltage Programming (LVP) | Supported | Yes |
Temperature Range | Operating | -40°C to +85°C |
Programming Interface | Type | ICSP (In-Circuit Serial Programming) |
Package Marking | Code | 16F688-SS |
Instructions for Use
Power Supply:
- Connect Vdd to the positive supply voltage (2.0V to 5.5V).
- Connect Vss to ground.
Oscillator Configuration:
- Configure the oscillator using the OSCCON register.
- External clock or crystal can be connected to the OSC1 and OSC2 pins.
Program Memory:
- Program the device using an ICSP programmer.
- Ensure the correct configuration bits are set for the desired operation.
Data Memory:
- Access RAM and EEPROM using standard read/write operations.
- Use the EECON1 and EECON2 registers for EEPROM operations.
Analog-to-Digital Converter (ADC):
- Configure the ADCON0 and ADCON1 registers to select the input channel and conversion mode.
- Start a conversion by setting the GO/DONE bit in ADCON0.
Comparator:
- Configure the CMCON register to select the comparator inputs and outputs.
- Use the comparator outputs for various applications like level detection.
Timer/Counter:
- Configure T0CON and T1CON registers to set up the timers.
- Use the TMR0 and TMR1 registers to read or write timer values.
Capture/Compare/PWM (CCP1):
- Configure CCP1CON to select the mode (Capture, Compare, or PWM).
- Use the CCPR1H and CCPR1L registers for PWM duty cycle settings.
Interrupts:
- Enable interrupts by setting the GIE bit in the INTCON register.
- Configure individual interrupt sources using the corresponding control registers.
Power Management:
- Use the SLEEP instruction to enter low-power mode.
- Wake up from sleep using interrupts or external reset.
Reset:
- Power-on reset (POR) and brown-out reset (BOR) are automatically enabled.
- Use the MCLR pin for manual reset.
Programming:
- Use an ICSP programmer to program the device in-circuit.
- Ensure the correct configuration bits are set for the desired operation.
For detailed information, refer to the Microchip datasheet and application notes for the PIC16F688-I/SL.
(For reference only)Inquiry - PIC16F688-I/SL