Go Down

Topic: TM1803 radioshack "Tricolor LED strip" (Read 1 time) previous topic - next topic


Jan 21, 2015, 05:16 am Last Edit: Jan 21, 2015, 05:18 am by BenLikos
I recently purchased a "Tricolor LED strip" at the local Radioshack. I have been Troubleshooting my problem for days now, and need some assistance, due to my beginning skills with the Arduino. I am currently using the Pololu color tester code:
Code: [Select]

#include <PololuLedStrip.h>

// Create an ledStrip object on pin 12.
PololuLedStrip<12> ledStrip;

// Create a buffer for holding 60 colors.  Takes 180 bytes.
#define LED_COUNT 60
rgb_color colors[LED_COUNT];

void setup()
  // Start up the serial port, for communication with the PC.
  Serial.println("Ready to receive colors.");

void loop()
  // If any digit is received, we will go into integer parsing mode
  // until all three calls to parseInt return an interger or time out.
  if (Serial.available())
    char c = Serial.peek();
    if (!(c >= '0' && c <= '9'))
      Serial.read(); // Discard non-digit character
      // Read the color from the computer.
      rgb_color color;
      color.red = Serial.parseInt();
      color.green = Serial.parseInt();
      color.blue = Serial.parseInt();

      // Update the colors buffer.
      for(byte i = 0; i < LED_COUNT; i++)
        colors[i] = color;

      // Write to the LED strip.
      ledStrip.write(colors, LED_COUNT); 

      Serial.print("Showing color: ");

on the Arduino uno. My problem is the strip is only displaying green for the second three LEDs on the strip. I have my + distributed to the strip and the vin, I have my - distributed to the GND and to the strip, and I have the data in pin 12. please help I can't afford to spend another day googling away at my computer for the solution.


Not sure if your still looking for a solution, but I had the same question, and found the answer over here: https://forum.arduino.cc/index.php?topic=147746.msg1564775#msg1564775

Long story short, the latest version of pololu-led-strip-arduino is not compatible with these old LED strips.  Deleted the version arduino downloaded and manually installed 1.2.0 and everything worked like a charm.


Go Up