Demo of touch dimming LED lamp based on PIC12F615
The demo board uses PIC12F615 as the main chip, and realizes capacitive touch sensing and PWM dimming function at the same time. The LED driver is driven by MBI6651. The DIM pin can be directly connected to the MCU and has a constant current output.
● Touch includes two functions: long press and short press, short press to switch lights, long press to achieve three-level dimming function ● Short press is used to leave the response, that is, when the hand leaves the touch surface, it will respond to the operation. No matter what the state of the light is, short press will realize the light switch function ● Long press will only respond when the light is turned on, and no response when the long press is off ● Dimming adopts three-level dimming, the brightness is 30%, 60%, 100% respectively, in the state of turning on the light, long press the button three-level dimming cycle output
|
|
|
typical application
● LED lights, flashlights, cabinet lights and decorative lights, etc.
Key model
Part |
Program Memory Type |
Program Memory (KB) |
CPU Speed (MIPS) |
RAM Bytes |
Timers |
ADC |
Comparators |
Temperature Range (C) |
Operating Voltage Range (V) | Pin Count | Cap Touch Channels |
PIC12F615 |
Flash |
1.75 | 5 | 64 |
2 x 8-bit, 1 x 16-bit |
4 ch, 10-bit |
1 |
-40 to 150 |
2 to 15 | 8 |
4 |