ws2801 how do they...
 
Notifications
Clear all

ws2801 how do they work ?

15 Posts
9 Users
0 Reactions
8,670 Views
Posts: 1249
(@jstjohnz)
Noble Member
Joined: 17 years ago
david_1 wrote: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 🙂

The chips start a new frame by looking for incoming data, but not passing it through. After the first chip in the chain has grabbed its 24 data bits, *then* it goes into "pass-through" mode. So the 2nd chip never sees bits 1-24, it's data stream starts with bits 25-48, which it grabs, then it goes into "pass-through" mode.


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

ah ok so I had it all wrong 🙂 many thanks for your kind words I will order 5meters now and see if I can make them dance 🙂

many thanks for your help..


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

ok so Ive googled looking for a suppler of ws2801 strip lights...
can anyone send me a link to an easten type supplier of 5meter lenths please...

thanks


Reply
Posts: 2
 JSS
(@jss)
New Member
Joined: 15 years ago
david_1 wrote:ok so Ive googled looking for a suppler of ws2801 strip lights...
can anyone send me a link to an easten type supplier of 5meter lenths please...

thanks

Try http://www.aliexpress.com/fm-store/701799/209843764-465132154/5m-led-digital-strip-DC5V-input-WS2801IC-256-scale-32pcs-IC-and-32pcs-5050-SMD-RGB.html


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

well they arrived two 5 meter strips arrived, i cut off 15 leds for a test strip. They seem very easy to control I have
; BLUE GREEN RED if i turn on just one led in the 5050 package.
or light blue yellow purple if I turn on two leds
an white if i turn on all three.

The pwm setting for each led is from 0 to 255, 0 being off and 255 being fully on but anything over 100 seems to look the same, my thoughts are that I run out of current to increase brightness .

I can fade each light in and out, now im fading up to D'100' because this look ok and will save power over all.

all of this is done with a pic and assembler

anyone else working on these ? I have no clue about any of the protocals you guys use to control your displays or which I should try to emulate. I am building a single flashing star about 4 foot in size 🙂

David


Reply
Page 2 / 3
Share: