We detect you are using an unsupported browser. For the best experience, please visit the site using Chrome, Firefox, Safari, or Edge. X
Maximize Your Experience: Reap the Personalized Advantages by Completing Your Profile to Its Fullest! Update Here
Stay in the loop with the latest from Microchip! Update your profile while you are at it. Update Here
Complete your profile to access more resources.Update Here!

AN1047

Title
Title
Buck-Boost LED Driver Using the PIC16F785 MCU
Name
Name
AN1047
Date
Date
06/24/2015
Application Categories
Application Categories
Medical / Homecare Pulse Oximeter
Product Categories
Product Categories
8-bit MCU
Description
Description
This application note presents the design equations, schematics and source code for a 5.5W power LED driver using the PIC16F785 MCU. The application, as shown, can be connected to operate as a buck-boost converter or a boost converter. The PIC16F785 makes a great choice for this application because it combines a MCU with many on-chip analog peripherals. This application is similar to the circuit described in Microchip?s application note AN874 and you can refer to this document for more design information. This application note builds on the application described in AN874 and adds the following features: ¥ The on-chip op amp of the PIC16F785 is used to amplify the voltage across the current sensing resistor. This allows a much smaller sensing resistor to be used and reduces power dissipation. ¥ The PIC16HV785 device can be used, which eliminates the requirement for an external 5V regulator when operating from higher supply voltages. ¥ This application has unused analog resources which could be used to control another LED driver, power supply, or battery charging circuit.

Files

Title Title Download Date Size
AN1047 Source Code - AN1047 - Buck-Boost LED Driver Using the PIC16F785 MCU 4.5 KB 06/24/2015 AN1047 Source Code - AN1047 - Buck-Boost LED Driver Using the PIC16F785 MCU Download 06/24/2015 4.5 KB

Silicon Products

Title Product Title
PIC16F785
Newer Device Available PIC16F1709
PIC16F785 Newer Device Available PIC16F1709