Show Posts
Pages: [1]
1  Forum 2005-2010 (read only) / Interfacing / Re: RGB leds & Ground? on: March 11, 2010, 08:23:31 am
Quote
If the device is a common anode, then the anode goes to +5V (that's why it is called an anode).

The cathodes go to digital pins (via suitable resistors), and the digital pins are configured as outputs.

Writing a LOW to the digital output lights the LED, as current sinks through the LED and the ouput pin.
Writing a HIGH to the digital output turns off the LED.

If the device is a common cathode, then the cathode goes to GND.
The anodes go to digital pins (via suitable resistors), and the digital pins are configured as outputs.

Thanks for the reply, I can also use Analog output instead of Digital? Because digital can only write out 7 colors and analog > 7 ?
I will try it tonight
2  Forum 2005-2010 (read only) / Interfacing / Re: RGB leds & Ground? on: March 11, 2010, 06:35:23 am
Quote
The longest pin is ground and you have to use it Smiley

In this case its called the common anode.

And i think the scheme is wrong because it sends the common anode to 5v...

yes thats what i also noticed, and there is no connection to the ground, it's all connected to the 5V, so what's the solution?
3  Forum 2005-2010 (read only) / Interfacing / RGB leds & Ground? on: March 11, 2010, 03:42:47 am


Hi

I was looking at this schema for the RGB leds, but I dont see how they are connected to the ground, because no slot is connected to the - (minus); how does this work? Can anybody explain?

thanks already!
4  Forum 2005-2010 (read only) / News / Re: RGB LED Shield kit now available on: March 11, 2010, 03:41:58 am
Great work!
Pages: [1]