ws2801 how do they...
 
Notifications
Clear all

ws2801 how do they work ?

15 Posts
9 Users
0 Reactions
8,669 Views
Posts: 26
Topic starter
(@david-1)
Eminent Member
Joined: 16 years ago
[#18092]
14 Replies
Posts: 26
Topic starter
(@david-1)
Eminent Member
Joined: 16 years ago

I would like to make a star out of above link 32leds per meter.
500mm in lenth 8 arms = 128 leds with a few in the centre hub

should look quite nice but I need a little help on how the ws2801 work anyone want to help me a little ?
like how can I control each led in the arm ? see it sounds so simple..

David


Reply
Posts: 185
(@lefserev)
Estimable Member
Joined: 16 years ago

Well, to take the first stab at it, anybody feel free to correct me since I am new to this. The WS2801 chips are designed to drive a tricolor(RGB) LED and connect from one to another in a long chain. According to SparkFun, http://www.sparkfun.com/products/10444 , the chips receive data from 2 wires take away the data they need and pass the remaining bits and bytes to the next chip in line. Each string of smart chips requires 4 wires:positive low voltage power, neutral power, clock data input, and serial gray scale data input. With the power and inputs, 3 LEDs can be driven with each chip (typically red, green, and blue)
The pixel or smart LED strings are usually controlled by either the e680 or e681 controller through the e1.31 dmx over ethernet protocol.

I hope I covered enough. I too am considering doing something with pixels.


Reply
Posts: 26
Topic starter
(@david-1)
Eminent Member
Joined: 16 years ago

yes I read that too but I thought you clocked in 24 bits per chip so ten chips 240 bits...
but it would be first in first out so the last chip would end up with the first 24 bits and the first chip the last 24bits...
and having read data sheet all i then need to do is wait for 500us for data to be sent to leds...

but Thanks and thats sort of what i am trying to find out 🙂


Reply
David_AVD
Posts: 991
(@david-avd)
Noble Member
Joined: 17 years ago

It is 24 bits per chip. The first chip will see the first 24 bits. I know that sounds wrong, but trust me that it's right. They are not conventional shift registers.

So, clock in your 24 * n bits (750 KHz max), then leave clock low for > 500us and they will latch the data.


Reply
Page 1 / 3
Share: