Arduino Uno R3 mit WS2801 LED Stripe as Aadalight

Hello,

I still opened a topic but this is only for german and not for you cracks. So I think it is better to open a second thread here in the LED Forum. The first thread is here: Arduino Uno R3 mit WS2801 LED Stripe als Ambilight Nachbau - Deutsch - Arduino Forum

For a adalight I bought "Digital RGB LED Pixels (50 LEDs)" and it worked fine. Here is a Picture (left side on the pic):

For a better resolution I now bought a LED strip with 32Leds/meter and the same chip (WS2801 SO). This one:

When I connect a part with 31 LEDs of the strip or the whole roll to my arduino uno R3 the red-green-blue test at startup goes with blue-green-red. But that far it is not the main problem. The main problem is that if I adjust a mono-color (red for example) in ambibox (2.1.6) the strip do not hold the color. All leds switch in an arbitrary way (red-gree-red-green-blue and so on). If I upload the "strandtest.pde" it works fine.

So I think there is a problem with the sketch-file and I need your help.

Components:
arduino uno R3
LED-Strip with WS2801 Chips (do not work with sketch)
Digital RGB LED Pixels (50 LEDs) with WS2801 Chips (works fine with sketch)
5V 10A Power

Regards Flixer

So I think there is a problem with the sketch-file

Which we have to use our ESP powers to examine and fix?

Hello,

thanks for your reply. I dont understand how to write a sketch and I thought that here is somebody who use these strips (or a kind of that) with ws2801 chips. The adalight is not so new (from 2012 I guess) and hopefully somebody know where the problem is and can solve it.

When I upload the cyclon it works, if I upload the adalight sketh it dont work. My problem is that I do not understand the code

My problem is that I do not understand the code

Then you can not do your project except by copying some on elses working code.
If the code fails to work you have no way of knowing why.
Therefore you are, to use a technical term "screwed".

You have three choices:-

  1. Look round the internet looking for code to try.
  2. Learn a bit about what you are doing. Experiment with the code that works and try to get a handle on things.
  3. Take up another hobby.

What do you expect us to do? You post no code and no schematics so we can not even begin to help. Show some effort and we can help, show none and we can't.

Hello,

sorry I forgot to post the code.

I posted the code in the other thread (german forum see first post) with the same topic. Now I put both pde-files in the attachment. Strandtest.pde works fine --> LEDstream.pde do not work as I need.

Yes I hope that somebody can help me and understand the code. In my case it is no hobby. I just wanted to buy all things and use the final codes. With the "Digital RGB LED Pixels (50 LEDs)" it works fine. I thought the strip with the same chip to use it by plug and play with the same sketch.

Regards Flixer

LEDstream.pde (9.28 KB)

strandtest.pde (4.51 KB)