Re: how to control LED array?




"Lord Garth" wrote

> Why the heck don't you post your circuits and source code...there have
> been questions regarding rainbow effects in the past. Besides, I'd
like
> to see how you protect the PIC from the crappy power in a car.

TVSP's are probably the best things that I know of, but a nice choke,
some series resistance, a Zener or two followed by a 5V regulator and
some more filtering mixed with plenty of bypass caps should do it for
you with a PIC. Commonly available high side drivers are responsible
for the output magic. Resistance, bypass caps and Zeners on input lines
to feed 12V signals into 5V inputs. May be kinda sloppy, but it works
well enough. The so-called nano-watt series PICs can be very
unforgiving of power supply issues.

While I've given up some good code for public usage in the past, the
stuff for my turn-signal doo-dad is not for free. Too much effort
combined with real commercial value. I posted a version of my rainbow
LED code to A.B.S.E.

.