Specifications
SKU: 11227116
Parameter | Description | Value | Unit |
---|---|---|---|
Device | Microcontroller | PIC16F690-I/P | - |
Package | Type | PDIP-28 | - |
Operating Voltage (Vdd) | Minimum | 2.0 | V |
Operating Voltage (Vdd) | Maximum | 5.5 | V |
Operating Temperature | Range | -40 to +85 | °C |
Flash Program Memory | Size | 3.5K x 14 | - |
EEPROM Data Memory | Size | 256 x 8 | - |
RAM Data Memory | Size | 256 x 8 | - |
Oscillator | Types | LP, XT, HS, INTRC, EXTRC, FRC, FRC/NOCLKOUT | - |
I/O Pins | Number | 17 | - |
Analog-to-Digital Converter (ADC) | Channels | 13 | - |
ADC Resolution | Bits | 10 | - |
Comparator | Number | 2 | - |
Timers | Number | 3 | - |
Timer1 | Prescaler | 1:1 to 1:256 | - |
Timer2 | Prescaler | 1:1 to 1:16 | - |
Timer2 | Postscaler | 1:1 to 1:16 | - |
Timer0 | Prescaler | 1:1 to 1:256 | - |
Capture/Compare/PWM (CCP) | Modules | 2 | - |
USART | Module | 1 | - |
MSSP (SPI/I2C) | Module | 1 | - |
Watchdog Timer (WDT) | Prescaler | 1:1 to 1:32768 | - |
Brown-out Reset (BOR) | Threshold | 1.9V, 2.7V, 4.2V | V |
Power-on Reset (POR) | - | Yes | - |
Low-Voltage Programming (LVP) | - | Yes | - |
Program Memory Write Protection | - | Yes | - |
Data EEPROM Write Protection | - | Yes | - |
Instructions for Use:
Power Supply:
- Connect the Vdd pin to the positive supply voltage (2.0V to 5.5V).
- Connect the Vss pin to ground (0V).
Oscillator Configuration:
- Choose the appropriate oscillator type (LP, XT, HS, etc.) based on your application.
- Connect the external components (crystal, capacitors) as specified in the datasheet.
Programming:
- Use a PIC programmer compatible with the PIC16F690 to program the device.
- Ensure the device is configured for Low-Voltage Programming (LVP) if needed.
I/O Configuration:
- Configure the I/O pins as inputs or outputs using the TRIS registers.
- Set the direction of each pin using the TRISx register (0 for output, 1 for input).
Analog-to-Digital Converter (ADC):
- Enable the ADC module and select the desired channel.
- Configure the ADC settings (resolution, reference voltage, etc.) using the ADCONx registers.
Timers:
- Initialize the timers by setting the prescaler and postscaler values.
- Start the timer by setting the appropriate bits in the TMRx registers.
Interrupts:
- Enable interrupts globally by setting the GIE bit in the INTCON register.
- Enable specific interrupt sources by setting the corresponding bits in the PIE and PIR registers.
Serial Communication (USART):
- Configure the USART module for the desired baud rate and communication mode (asynchronous/synchronous).
- Initialize the TX and RX pins and enable the USART module.
Watchdog Timer (WDT):
- Enable the WDT by setting the WDTE bit in the configuration word.
- Clear the WDT periodically to prevent a reset.
Brown-out Reset (BOR):
- Enable the BOR by setting the BOREN bit in the configuration word.
- Set the desired BOR threshold level.
Power Management:
- Use sleep mode to reduce power consumption by setting the SLEEP bit in the WDTCON register.
- Wake up from sleep using an interrupt or external event.
Write Protection:
- Enable write protection for the program memory and data EEPROM to prevent accidental changes.
- Set the appropriate configuration bits to enable write protection.
For detailed information and specific register configurations, refer to the official PIC16F690 datasheet.
(For reference only)Inquiry - PIC16F690-I/P