LED Control Issue

Hi there

I am having an issue with controlling these LED strips https://www.amazon.co.uk/gp/product/B0BW59PD5F/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1

I have mounted them on a wheel where the strips are cut along the line and then connected together using wires.

For some reason, they are only lighting up partially. I've tried to put a 220 ohm resistor in between the LED strips and the LED's still aren't lighting up fully.

Even when the arduino is disconnected, the LED's that were lit up are still on. When the crocodile clips from the power supply are changing position on the LED's, the colour changes and the number of LED's on change.

Here is a video of what's happening.

Does anyone know why this is happening?

Where the lines are crossing each other, it's not connected, it's just how I've drawn it.

Power supply is 30V/10A





/// @file    ColorTemperature.ino
/// @brief   Demonstrates how to use @ref ColorTemperature based color correction
/// @example ColorTemperature.ino

#include <FastLED.h>

#define LED_PIN     9

// Information about the LED strip itself
#define NUM_LEDS   250
#define CHIPSET     WS2811
#define COLOR_ORDER GRB
CRGB leds[NUM_LEDS];

#define BRIGHTNESS  125


// FastLED provides two color-management controls:
//   (1) color correction settings for each LED strip, and
//   (2) master control of the overall output 'color temperature' 
//
// THIS EXAMPLE demonstrates the second, "color temperature" control.
// It shows a simple rainbow animation first with one temperature profile,
// and a few seconds later, with a different temperature profile.
//
// The first pixel of the strip will show the color temperature.
//
// HELPFUL HINTS for "seeing" the effect in this demo:
// * Don't look directly at the LED pixels.  Shine the LEDs aganst
//   a white wall, table, or piece of paper, and look at the reflected light.
//
// * If you watch it for a bit, and then walk away, and then come back 
//   to it, you'll probably be able to "see" whether it's currently using
//   the 'redder' or the 'bluer' temperature profile, even not counting
//   the lowest 'indicator' pixel.
//
//
// FastLED provides these pre-conigured incandescent color profiles:
//     Candle, Tungsten40W, Tungsten100W, Halogen, CarbonArc,
//     HighNoonSun, DirectSunlight, OvercastSky, ClearBlueSky,
// FastLED provides these pre-configured gaseous-light color profiles:
//     WarmFluorescent, StandardFluorescent, CoolWhiteFluorescent,
//     FullSpectrumFluorescent, GrowLightFluorescent, BlackLightFluorescent,
//     MercuryVapor, SodiumVapor, MetalHalide, HighPressureSodium,
// FastLED also provides an "Uncorrected temperature" profile
//    UncorrectedTemperature;

#define TEMPERATURE_1 Tungsten100W
#define TEMPERATURE_2 OvercastSky

// How many seconds to show each temperature before switching
#define DISPLAYTIME 20
// How many seconds to show black between switches
#define BLACKTIME   3

void loop()
{
  // draw a generic, no-name rainbow
  static uint8_t starthue = 0;
  fill_rainbow( leds + 5, NUM_LEDS - 5, --starthue, 20);

  // Choose which 'color temperature' profile to enable.
  uint8_t secs = (millis() / 1000) % (DISPLAYTIME * 2);
  if( secs < DISPLAYTIME) {
    FastLED.setTemperature( TEMPERATURE_1 ); // first temperature
    leds[0] = TEMPERATURE_1; // show indicator pixel
  } else {
    FastLED.setTemperature( TEMPERATURE_2 ); // second temperature
    leds[0] = TEMPERATURE_2; // show indicator pixel
  }

  // Black out the LEDs for a few secnds between color changes
  // to let the eyes and brains adjust
  if( (secs % DISPLAYTIME) < BLACKTIME) {
    memset8( leds, 0, NUM_LEDS * sizeof(CRGB));
  }
  
  FastLED.show();
  FastLED.delay(8);
}

void setup() {
  delay( 3000 ); // power-up safety delay
  // It's important to set the color correction for your LED strip here,
  // so that colors can be more accurately rendered through the 'temperature' profiles
  FastLED.addLeds<CHIPSET, LED_PIN, COLOR_ORDER>(leds, NUM_LEDS).setCorrection( TypicalSMD5050 );
  FastLED.setBrightness( BRIGHTNESS );
}

Does this match your setup?

Thx for your response.

I played around with different numbers with no change to what's happening. The issue is that even when I disconnect power from the arduino, the LED's are still on.

I've tried different example sketches as well.

sketch works

Hi, @electro_jay
Welcome to the forum.

Can you please post a copy of your circuit, a picture of a hand drawn circuit in jpg, png?
Hand drawn and photographed is perfectly acceptable.
Please include ALL hardware, power supplies, component names and pin labels.

Thanks.. Tom... :smiley: :+1: :coffee: :australia:

"Playing around with numbers" doesn't sound good. You know how many LEDs you have. So that's the number you use.

However, this is evidently not the issue given that without any connection, the LEDs are on. This suggests a wiring error, so please do as @TomGeorge asks and provide a schematic of your circuit and some clear photos of how you have everything wired up.

Thx Tom, done.

Thx for your help.

I think it's probably a wiring issue but I'm not sure. I did use steel wire for main connections. Could that be an issue?

STEEL? Copper. I think you don't know the fundamentals, connect the power wires to a wall wart, then the data wires per the sample sketch, just change the num leds. I have a few of these and each one took 5 mins total to get them out of the box and working.

image
Questions.
You have 720 LEDs/meter, 5 meters of strip, total 3600 LEDs and 105W(aka 8.75A). Yet you entered 250 LEDs in your code.

Looking at your diagram, you've got 10 substrings - does that mean you have 250 down each side of each U, or 125? If the latter, did you just connect to the data pin, or did you cut the strip at that point and turn one section around, so it's also wired to DIN?
Your power load will be <= 8.75A regardless of how much of the 5M you use, and regardless of how you distribute it. But, that data signal needs further explanation.

OK, let's go back:

:white_check_mark: schematic of your circuit(sort of present; shows only part of the system - where's the Arduino?)
:x: clear photos of how you have everything wired up (no sign of the 'steel wire' connections)

:hourglass_flowing_sand:

Hi, @electro_jay

PLEASE do not go back and edit old posts, when entering new info that has been requested.

ALWAYS add new info in NEW posts, this way thread reads properly, especially for someone who my use this thread later on to fix a similar problem.

if these are your LED strip.
image
Then your "schematic" will not work.

WS2811 need to be connected as one long string for the single control line to work.

Tom... :smiley: :+1: :coffee: :australia:

Really? You cannot wire 2 25 LED strings in parallel, tell the software "25 LEDSs", and have them work identically?

I'm actually not sure, it could be tinned copper wire. I had doubts whether the wire I was using was suitable but I decided to try it. I can order some copper wire and replace it.

Ok, I'm not sure about that.

That's what I thought

But the LED's did light up so even if it was steel wire or aluminium wire, at least the power from the Power supply did transfer.

Processing: IMG_20240908_120106.jpg…

Here is it with the arduino.

When I connected the GND of the LED strip to the arduino, no LED's lit up.

When I disconnected the GND and only had the signal pin connected, some led's did light up.

As I said earlier, when the arduino was disconnected, nothing changed. Some of the LED's lit up.

In unfamiliar territory - get one thing right and then scale up from there.
(The one felled swoop, hope and pray thing is never a winner.)