Hello Everyone,
I designed a new PCB that has an RGB tri-color LED on it. For whatever reason, I simply cannot get it to work. I am using an Arduino pro micro with pins 3,5 and 6 connected to 3 resistors. The output of the 3 resistors then connect to the 3 LED leads with the common cathode connected to the ground. Please see the layout below.
The code is really simple and similar code work when using an Arduino UNO with an LED hooked on a breadboard. The code goes something like this:
void setup()
{
pinMode(3, OUTPUT);
pinMode(5, OUTPUT);
pinMode(6, OUTPUT);
}
void loop()
{
analogWrite(3, 250);
analogWrite(5, 250);
analogWrite(6, 250);
}
The LEDs are by Chanzon and were bought from Amazon. They have a common cathode, which is the longer lead. For the resistors, I tried using 150Ohms for all 3. I also tried using a higher value for the RED such as 220Ohms. So far, nothing works on this board. Everything else, I mean EVERYTHING else works just fine on this newly printed PCB. I do not know what the problem is.
Thanks