Datasheet
8 LED
Lighting Solutions Design Guide
www.microchip.com/lighting
LED Lighting Solutions
Integrate Multiple Tasks –
PIC12 and PIC16 Mixed Signal Solutions
The LED current drive function can be integrated with other
tasks on the same MCU. Members of the PIC12F and PIC16F
device families provide the next step up from the PIC10F
family and facilitate highly integrated mixed signal designs in
8, 14 and 20-pin package options. The available peripherals
in this series of devices include:
■
Shunt Voltage Regulator
■
Comparators
■
Op Amps
■
ADC
■
Voltage Reference
■
Hardware PWM (Digital Timebase or SR Latch)
These peripherals allow external power circuits to be directly
controlled by the MCU. For a LED driver application, the
analog peripherals can be configured and interconnected in
software to provide constant current regulation. This leaves
the CPU free to run other tasks such as communication,
dimming control or fault detection.
Internal 5V Regulator
The internal shunt voltage regulator option allows the MCU
to be operated from a higher voltage DC bus making it
useful in AC line powered applications. Only a series resistor
is required between the power supply and the device VDD
pin.
Devices with an “HV” designator in the part number have an
internal regulator.
Compatible Pinouts Provide Migration Options
8-Pin
20-Pin
14-Pin
PIC
®
MCU
VDD VSS
8, 14 and 20-Pin PIC® Microcontroller Mixed Signal Features
Device Pins
Voltage
Reference
Analog
Comparator
Op Amps ADC
Digital
PWM
Module
PWM SR
Latch
PIC12F609/PIC12HV609 8 – 1 ––– –
PIC12F615/PIC12HV615 8 – 1 – 10-bit 1 –
PIC12F1822 8 Yes 1 – 10-bit 1 1
PIC16F610/PIC12HV610 14 – 2 – – – 1
PIC16F616/PIC16HV616 14 – 2 – 10-bit 1 1
PIC16F785/PIC16HV785 20 Yes 2 2 10-bit 1 2
PIC16F1828 20 Yes 2 – 10-bit 4 1
Note: ‘HV’ part numbers have internal shunt voltage regulator.
Easy Migration
The 8, 14 and 20-pin devices in the PIC12F and PIC16F
families have compatible pin-outs for upward and downward
migration. Common connections such as power and ground
are located in the same positions on the package footprint
so that an 8-pin design can easily be expanded to a 14 or
20-pin design.
Literature on the Web
■
AN1035 – Designing with HV Microcontrollers, DS01035
■
PIC16F785/HV785 Device Data Sheet, DS41249
Web Links
www.microchip.com/8bit