Ian at DIY Life made a nice tutorial video on RGB color mixing with LEDs on the PIC platform. His circuit throws in a handful of extras, like mic input. While perhaps simpler to do on the Arduino with a BlinkM, this project looks like a good PIC starter. His whiteboard circuit diagram drawing lapse is pretty neat, too. – Link.
8 thoughts on “PIC USB color changing light”
Comments are closed.
ADVERTISEMENT
Support Make:
Join Make: Community Today
Join Make: Community Today
why the capacitors on the 7805 and 7812… I usually just hook it up pin 1 input, pin 2 ground, pin 3 out… Is this for reference to ground, I am fairly new to electronics so please enlighten me!
You can do that, and it will normally be fine, but sometimes power supplies can be “noisy,” supplying uneven current, so these capacitors, called “decoupling” capacitors, help even out the power: http://en.wikipedia.org/wiki/Decoupling_capacitor
I did the same thing for a long time. One day I took a look at the datasheet for a 7805 and it recommended decoupling caps. I’ve done it ever since. In general, it’s standard practice to put a 0.1uf cap between any IC power pin and ground.
The reason for the capacitors is “because the data sheet says so”, but some people like to break rules like that. In fact, the capacitors are there for a good reason, and it’s not just a ploy by the data sheet writers to sell more capacitors! The 7805 (and similar) regulators contain a high-gain amplifier as well as a voltage reference and a power transistor. The high-gain amp can oscillate under certain circumstances, at a very high frequency. It all depends on the inductance of the supply leads. The capacitors make sure it can’t oscillate, and thus ensure reliable operation.