Pages: 1 [2] 3 4   Go Down
Author Topic: WS2803 versus WS2801  (Read 15361 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Full Member
***
Karma: 0
Posts: 133
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

hello,
  you can put as the WS2803 is connected to arduino. ?
I connect well, but it does not work.

http://arduino.cc/forum/index.php/topic,118406.30.html
Logged

Colorado
Offline Offline
Edison Member
*
Karma: 47
Posts: 1562
Reviving dead brain cells with Arduinos.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yep, and it works just fine with the proper code.


* schematic.png (23.35 KB, 1442x859 - viewed 119 times.)
Logged

Offline Offline
Full Member
***
Karma: 0
Posts: 133
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks for your prompt response.
  pull-up resistor, so connected?

Logged

Colorado
Offline Offline
Edison Member
*
Karma: 47
Posts: 1562
Reviving dead brain cells with Arduinos.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

http://en.wikipedia.org/wiki/Pull-up_resistor
Logged

Offline Offline
Full Member
***
Karma: 0
Posts: 133
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

forgiveness as well??

Logged

Colorado
Offline Offline
Edison Member
*
Karma: 47
Posts: 1562
Reviving dead brain cells with Arduinos.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

That's neither a pull-up nor a pull-down.  There is no GND involved in a pull-up, and no VCC in a pull-down.  Look at the various schematics on that wiki page.
Logged

Offline Offline
Full Member
***
Karma: 0
Posts: 133
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Someone can put a picture of how to connect a "pull-up". As he says, KirAsh4.

THX.
Logged

Colorado
Offline Offline
Edison Member
*
Karma: 47
Posts: 1562
Reviving dead brain cells with Arduinos.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

If you're only using one, it won't matter.  Leave them unconnected.  If you're planning on using several of them and you happen to get close to 6 meter length, you need to add them to avoid reflection.

In other words, when I make modules with these, I create them with the ability of adding those resistors if I need them.  If not they remain unconnected.


* schematic.png (12.83 KB, 1083x664 - viewed 311 times.)
Logged

Offline Offline
Full Member
***
Karma: 0
Posts: 133
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

ok, but still not working. no LED lights.
I have also modified their library and nothing.

ps: not to stay with the doubt, could you put the resistecia concecta as "pull-up"?

ok, but still not working. I turn on the LED.
Also I have modified Their library and nothing.

ps: not to stay with the doubt, could you put the resistor connected as "pull-up"?
Logged

Colorado
Offline Offline
Edison Member
*
Karma: 47
Posts: 1562
Reviving dead brain cells with Arduinos.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

R2 and R3 are pull-up resistors.
Logged

Offline Offline
Full Member
***
Karma: 0
Posts: 133
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

you can put a video tutorial?
Thanks.
Logged

Colorado
Offline Offline
Edison Member
*
Karma: 47
Posts: 1562
Reviving dead brain cells with Arduinos.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

On what?  Pull-up resistors?  That's why I pointed you to the wiki page which talks about both pull-ups as well as pull-downs.
Logged

Manchester (England England)
Online Online
Brattain Member
*****
Karma: 602
Posts: 33373
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

You still have the LED wired wrong. Is this a common cathode RGB LED?
If it is then it is likely only one colour will work.

A pull up resistor should be 4K7 and go from the pin to +5V, that is all. You do need them even with one chip.
Logged

0
Offline Offline
Edison Member
*
Karma: 7
Posts: 1235
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I believe the RGB 5050 leds are common 'anything' that have 3 pads on each side: 3 x GND and 3 x V+

I usually bridge pads on the correct side to match my project(s)..


Logged


Colorado
Offline Offline
Edison Member
*
Karma: 47
Posts: 1562
Reviving dead brain cells with Arduinos.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

On the 5050's that I have, they're common anode, and the WS2801/WS2803 sink.  So each cathode on the LED goes to a separate output pin on the chip and the anodes are tied together with VCC.  And the datasheet specifically says 50R, not 4K7 for pull-ups.
Logged

Pages: 1 [2] 3 4   Go Up
Jump to: