The Netduino forums have been replaced by new forums at community.wildernesslabs.co.
This site has been preserved for archival purposes only
and the ability to make new accounts or posts has been turned off.
WS2801 led strip...why is my netduino plus 2 being so difficult
I thought I already replied what the issue what before. I see that I didn't.
My problem was that I didn't tie the ground on the powersupply that powered the LED strip to the ground on the netduino....thus the issues I was having. Once they were tied together...walla worked like a charm!!!
So after my thread, http://forums.netdui...ser-led-strips/, I set out with my netduino plus 2, bread board, seperate 5v 60amp power supply, quad 2 input AND gate, 4 WS2801 led strips, tried to make this work. I've used the NETMF WS2801 code, every WS2801 code I've seen posted with the netduino to no success.
Now i'm at the point of just having a ws2801 33 led strip(I cut this off from the original) connected directly to the netduino plus 2 board. I have the ground on the led strip connected to one of the grounds on the netduino plus 2, I have the C(clock connection) wire connected to pin 13, I have the D(data connection) connected to pin 12, and of course the 5v wire of my strip I have connected to the 5v pin on my netduino plus 2.
I run the sample netmf toolbox RGB code...nothing. I've tried various other ways to do it but nothing is working. I get no response. Only time I get a response is if at the end of the led strip I press my finger upon the 4 exposed connections randomly on the strip it will make the last 7 or less lights light up variably in some random mess
So, what am I doing wrong here? anyone? I've spent countless hours trying all sorts of combinations to no avail. I've reached the point of reaching out to you, the community.
I don't have WS2801 to verify that, but according to its datasheet, the minimum voltage for logic high is VIH = 0.8*VDD, so if you are powering it by 5 V then VIH = 4 V and Netduino 3.3 V outputs cannot provide correct logic level. What AND gate do you have? Using 74HC-series logic should work, it serves as level shifter (when powered by 5 V it has 5 V logic level outputs, while accepting 3.3 V inputs VIH >= 1.6..2 V).
Even before I went directly to the card, I was first powering the strip independently with a 5V 60amp AC power supply and then just connected the clock and data to 13 and 11 pins on the netduino + 2 card.
I have the 74LS08. But I wish the gate was even my problem and I had one strip working directly to the netduino
Thanks guys, and thanks for the code, Juzzer. I tried that code, and that is what i'm ultimately doing with the other code tries. These are cut up sections of the LED strip. I have another 6, full 300 count 5m strips(60 led per 1m) at the office. I'll be trying these later this afternoon(before any cut ups). wish me luck.
oh and they are indeed WS2801..says so right on the chip on the strip
Okay, so I got it working with the 'uncut' strip. When I say got it working...didn't change anything I was doing just tried it on the uncut strip and walla, they worked....but....
It seems the values i'm sending should result in uniform colors/combinations and i'm getting totally random colors sporadically throughout....from beginning to end. Any clue?
I thought I already replied what the issue what before. I see that I didn't.
My problem was that I didn't tie the ground on the powersupply that powered the LED strip to the ground on the netduino....thus the issues I was having. Once they were tied together...walla worked like a charm!!!