MikroElektronika
MCP1664 click
MCP1664 click
SKU:MIKROE-2548
Low stock: 1 left
Couldn't load pickup availability
Share
MCP1664 click contains 4 high-power white LEDs. It carries the MCP1664, a high-voltage step-up LED driver from Microchip. MCP1664 click is designed to run on either 3.3V or 5V power supply. It communicates with the target board microcontroller over the PWM pin on the mikroBUS™ line.
Note: Don't look directly at the LEDs while they are on, you could damage your eyesight.
How the MCP1664 click works
The click has a power input and a PWM input, so you can set the light intensity at the level you want.
MCP1664 IC features
The MCP1664 is a compact, space-efficient, fixed-frequency, non-synchronous step-up converter optimized to drive multiple strings of LEDs with constant current powered from two and three-cell alkaline or NiMH/NiCd as well as from one-cell Li-Ion or Li-Polymer batteries.
The MCP1664 features an open load protection (OLP) which turns off the operation in situations when the LED string is accidentally disconnected or the feedback pin is short-circuited to GND.
While in Shutdown mode (EN = GND), the device stops switching and consumes 40 nA typical of input current.
Specifications
Type | Boost |
Applications | White LED Driver for Backlighting Products, Li-IonBattery LED Lightning Application, etc. |
On-board modules | MCP1664 module from Microchip |
Key Features | You can set the light intensity |
Interface | PWM |
Input Voltage | 3.3V or 5V |
Compatibility | mikroBUS |
Click board size | L (57.15 x 25.4 mm) |
Pinout diagram
This table shows how the pinout on RN4871 click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Maximum ratings
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | 2.4 | 5.5 | V | |
Max Out Voltage | 32 | V | ||
Max Out Current 4.2V Vin 8 LEDs | 150 | mA | ||
Max Out Current 3.3V Vin 4 LEDs | 200 | mA | ||
Max Out Current 5.0V Vin 4 LEDs | 300 | mA |
Programming
Code examples for MCP1664 click, written for MikroElektronika hardware and compilers are available on Libstock.
Code snippet
This code snippet shows basic control of light brightness with PWM. The duty cycle is controled with the potentiometer P1.
01 uint16_t current_duty; 02 uint16_t adc_rd; 03 void MCU_Init() 04 { 05 TRISC = 0; // designate PORTC pins as output 06 LATC = 0; // set PORTC to 0 07 PWM2_Init( 5000 ); // Initialize PWM2 module at 5KHz 08 } 09 void main() 10 { 11 MCU_Init(); 12 current_duty = 0; 13 PWM2_Start(); 14 PWM2_Set_Duty(current_duty); 15 while ( 1 ) // Playing with Potentiometer P1 you can control current PWM duty cycle 16 { 17 adc_rd = ADC_Read(1) & 0x0000FFFF; // Read 10 - bit ADC value and set newly acquired 8 - bit PWM duty 18 current_duty = adc_rd / 4 ; 19 PWM2_Set_Duty(current_duty ); // Set newly acquired duty 20 } 21 22 }




New Products
-
Sold out
1-Port VINT Hub Phidget
Vendor:PhidgetsRegular price Rs. 2,699.00Regular priceUnit price / perSold out -
ACS37220LEZATR-100B3 Current Sensor Large Carrier -100A to +100A, 3.3V
Vendor:POLOLURegular price Rs. 829.00Regular priceUnit price / perSold out -
CT433-HSWF50MR TMR Current Sensor Compact Carrier -50A to +50A, 3.3V
Vendor:POLOLURegular price Rs. 1,039.00Regular priceUnit price / perSold out -
A5984 Stepper Motor Driver Carrier, Adjustable Current, Blue Edition
Vendor:POLOLURegular price Rs. 409.00Regular priceUnit price / perSold out -
A5984 Stepper Motor Driver Carrier, Fixed 1A@5V / 660mA@3.3V, Blue Edition (Soldered Header Pins)
Vendor:POLOLURegular price Rs. 489.00Regular priceUnit price / perSold out -
A5984 Stepper Motor Driver Carrier, Fixed 500mA@5V / 330mA@3.3V (Soldered Header Pins)
Vendor:POLOLURegular price Rs. 469.00Regular priceUnit price / perSold out -
Sold out
T Connector Male-Female Pair
Vendor:POLOLURegular price Rs. 169.00Regular priceUnit price / perSold out -
Pololu Reverse Voltage Protector, 4-60V, 10A
Vendor:POLOLURegular price Rs. 159.00Regular priceUnit price / perSold out -
Pololu Reverse Voltage Protector, 4-60V, 12A
Vendor:POLOLURegular price Rs. 199.00Regular priceUnit price / perSold out -
Pololu Ideal Diode Reverse Voltage Protector, 4-60V, 10A
Vendor:POLOLURegular price Rs. 179.00Regular priceUnit price / perSold out -
Pololu Ideal Diode Reverse Voltage Protector, 4-60V, 12A
Vendor:POLOLURegular price Rs. 229.00Regular priceUnit price / perSold out -
Pololu Mini Plastic Gearmotor Bracket Pair - Tall
Vendor:POLOLURegular price Rs. 599.00Regular priceUnit price / perSold out -
Ribbon Cable with Pre-Crimped Terminals 10-Color M-F 6" (15 cm)
Vendor:POLOLURegular price Rs. 149.00Regular priceUnit price / perSold out -
Ribbon Cable with Pre-Crimped Terminals 10-Color M-F 12" (30 cm)
Vendor:POLOLURegular price Rs. 279.00Regular priceUnit price / perSold out -
Wires with Pre-Crimped Terminals 10-Pack M-F 6"
Vendor:POLOLURegular price Rs. 339.00Regular priceUnit price / perSold out -
Ribbon Cable Premium Jumper Wires 10-Color M-M 6" (15 cm)
Vendor:POLOLURegular price Rs. 209.00Regular priceUnit price / perSold out -
Ribbon Cable Premium Jumper Wires 10-Color F-F 6" (15 cm)
Vendor:POLOLURegular price Rs. 209.00Regular priceUnit price / perSold out -
Ribbon Cable Premium Jumper Wires 10-Color M-F 6" (15 cm)
Vendor:POLOLURegular price Rs. 209.00Regular priceUnit price / perSold out -
Sold out
Pololu 30T Track Set - Black
Vendor:POLOLURegular price Rs. 1,809.00Regular priceUnit price / perSold out -
Pololu High-Power Stepper Motor Driver 36v8
Vendor:POLOLURegular price Rs. 3,119.00Regular priceUnit price / perSold out -
Sold out
Pololu USB AVR Programmer v2.1
Vendor:POLOLURegular price Rs. 1,239.00Regular priceUnit price / perSold out -
3-Channel Wide FOV Time-of-Flight Distance Sensor for TI-RSLK MAX Using OPT3101
Vendor:POLOLURegular price Rs. 6,289.00Regular priceUnit price / perSold out -
75:1 Micro Metal Gearmotor MP 6V with 12 CPR Encoder, Side Connector
Vendor:POLOLURegular price Rs. 3,149.00Regular priceUnit price / perSold out -
Happy hacker bundle - Crazyflie 2.1 Brushless
Vendor:BitcrazeRegular price Rs. 62,804.00Regular priceUnit price / perSold out -
Lighthouse explorer bundle - Crazyflie 2.1 Brushless
Vendor:BitcrazeRegular price Rs. 129,999.00Regular priceUnit price / perRs. 131,985.00Sale price Rs. 129,999.00Sold out