PDA

View Full Version : Fyi: Pic12(l)f1501 4 pwm



mtripoli
- 4th February 2015, 17:20
I was just looking at some of these "small" devices and noticed that the PIC12F1501 has four (4) independent PWM outputs. The frequency is the same among them but duty cycle is adjustable individually. So, for those wanting a cheap (DIP $0.92/1, $0.64/100 Mouser) RGB LED controller this is the ticket. Use a soft UART and you have a super simple addressable "RGB Cell" (node, etc.) where you can dictate the comm's method (as I understand it, those Chinese RGB LED controller chips are a PITA to use). Given that the PWM is done in hardware, all kinds of foreground stuff is possible without trashing the PWM.

Acetronics2
- 6th February 2015, 15:27
as I understand it, those Chinese RGB LED controller chips are a PITA to use

???

Very easy to use with, say a 12F1822 or 1840 ... just need to run @ 32 Mhz internal to be reliable.

I drive 4 PL9823 leds in PWM mode with a 1840, ( 2 beacons and 2 strobes lights ) for a model aircraft light system ...

Alain