PIC12F675-I/P

PIC12F675-I/P


Specifications
SKU
12593434
Details

BUY PIC12F675-I/P https://www.utsource.net/itm/p/12593434.html

Parameter Description Value
Package Type of package 8-PDIP, SOIC-8
Operating Voltage (Vdd) Range of supply voltage 2.0V to 5.5V
Operating Temperature Temperature range for operation -40掳C to +85掳C
Program Memory Type and size 1K x 14 Flash
Data Memory (RAM) Size 64 x 8 bytes
EEPROM Data Memory Size 128 x 8 bytes
Oscillator Types supported Internal 4MHz, External (LP, XT, HS)
I/O Pins Number of I/O pins 5
Analog-to-Digital Converter (ADC) Number of channels 4
ADC Resolution Resolution of ADC 10-bit
Timer/Counter Number and type 1 x 8-bit Timer (TMR0)
Interrupt Sources Number and types 4 (INT, TMR0, IO, ADC)
Watchdog Timer (WDT) Availability Yes
Brown-out Reset (BOR) Availability Yes
Power-on Reset (POR) Availability Yes
Low-Voltage Programming (LVP) Availability No
In-Circuit Serial Programming (ICSP) Availability Yes

Instructions for Using PIC12F675-I/P

  1. Power Supply:

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

    • For internal oscillator, no external components are required.
    • For external oscillators, connect the appropriate crystal or resonator between OSC1 (pin 5) and OSC2 (pin 6).
  3. Programming:

    • Use an ICSP programmer to program the device.
    • Connect the programmer to the ICSP pins: MCLR (pin 4), PGD (pin 7), and PGC (pin 6).
  4. I/O Configuration:

    • Configure I/O pins using TRIS registers in your code.
    • Set TRIS bits to 1 for input and 0 for output.
  5. Analog-to-Digital Conversion:

    • Select the ADC channel using the CHS bits in the ADCON0 register.
    • Start conversion by setting the GO/DONE bit in the ADCON0 register.
    • Read the result from the ADRESH and ADRESL registers.
  6. Timer/Counter:

    • Configure the timer using the T0CON register.
    • Enable the timer by setting the T0CS bit in the T0CON register.
    • Read the timer value from the TMR0 register.
  7. Interrupts:

    • Enable global interrupts by setting the GIE bit in the INTCON register.
    • Enable specific interrupts by setting the corresponding bits in the INTCON and PIE1 registers.
    • Write interrupt service routines (ISRs) to handle interrupts.
  8. Watchdog Timer (WDT):

    • Enable the WDT by setting the WDTE bit in the configuration word.
    • Clear the WDT by writing to the WDTCON register.
  9. Brown-out Reset (BOR):

    • Enable BOR by setting the BOREN bit in the configuration word.
    • The device will reset if the supply voltage drops below the BOR threshold.
  10. Power-on Reset (POR):

    • The device automatically resets when power is applied and the supply voltage rises above the POR threshold.
  11. Low-Voltage Programming (LVP):

    • Not supported on this device. Use high-voltage programming methods.
  12. In-Circuit Serial Programming (ICSP):

    • Use the ICSP interface to program the device in-circuit.
    • Connect the programmer to the MCLR, PGD, and PGC pins.

For detailed information and specific register configurations, refer to the PIC12F675 datasheet.

(For reference only)

View more about PIC12F675-I/P on main site