RGB.bas (936Bytes) I had some RGB LEDs lying around and decided to make a night light for my kids. An Arduino was a bit overkill so I went for PICAXE instead. The first problem was that there is only one PWM on the 08M and I needed 3 (one for each color). So I decided to use 3 each of the 08M, one for each LED color. <o:p></o:p>Then it hit me that I could use more than one RGB LED and get different colors by hooking up the colors differently. So that the Green signal in one has the same input on the Blue channel on another one. Giving me 3 distinct colors all the time. The problem with this is that all the lights have the same brightness and not fading individually, but that’s ok my kids aren’t that picky.<o:p></o:p>The second problem was that the PICAXE random function is not really random at all, it will always produce the same sequence and with this setup I would only get fading of white with little color. So I changed the steps for the fading sequence slightly on every chip so that they would come out of sync.<o:p></o:p>
The video really doesn’t give it credit. It looks great in a dark room and my kids love it.
RGB LED’s I just bought some RGB LED’s on Ebay that have the fader built-in, all they need is a limiting resistor and DC. Fifty of them were under $7.00 including shipping so it should make a much simpler version. Thanks for the idea!
Chris responded to the allegation (by me) that a certain comment was pure spam. I removed that comment now (and all responses to it disappeared as well).
The user’s account was less than a day old and had no other contributions to his name. It was a spammer al-right. Chris, you must’ve been thinking of someone else.