Pages: [1] 2 3   Go Down
Author Topic: Funky Clouds - Toys For LED Matrix Effects  (Read 2465 times)
0 Members and 1 Guest are viewing this topic.
Europe / Germany
Offline Offline
Sr. Member
****
Karma: 11
Posts: 334
keep it simple
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset





Just some basic tools and concepts for real time image manipulation.

Thanks to the forum and the FastLED Community!

Code? Here:

https://gist.github.com/anonymous/68298debac462330719b

and here:

http://pastebin.com/pFdQSsFD

« Last Edit: May 07, 2014, 07:57:03 am by Helmuth » Logged

Offline Offline
Faraday Member
**
Karma: 87
Posts: 4997
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Do you have a link for a schematic ?
Logged

Arduino UNOs, Pro-Minis, ATMega328, ATtiny85, LCDs, MCP4162, keypads,
DS18B20s,74c922,nRF24L01, RS232, SD card, RC fixed wing, quadcopter

Europe / Germany
Offline Offline
Sr. Member
****
Karma: 11
Posts: 334
keep it simple
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Schematic?!

It's a WS2812B matrix like that one
http://led-stuebchen.de/de/LED-Stripes/WS2812B-RGB-Stripe-LEDs-mit-integriertem-WS2811-controller-144-LED/m?x7806c=5am2kmu6t2r0v6ok2rragf08o4
together with an old PC power supply unit (20A @ 5 V) driven by an ATMega2560.

Connect ground from Arduino with ground from the PC power supply.
Connect the data input from the first WS2811 with an Arduino output pin of your choice.
Done.



« Last Edit: May 07, 2014, 03:31:17 pm by Helmuth » Logged

Offline Offline
Faraday Member
**
Karma: 87
Posts: 4997
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Ok. 16 x16 matrix. I see the connection chain for one column on the datasheet but how does the first column connect to the second. Is it a top to bottom Col-1 => top to bottom Col-2 => etc ?
Logged

Arduino UNOs, Pro-Minis, ATMega328, ATtiny85, LCDs, MCP4162, keypads,
DS18B20s,74c922,nRF24L01, RS232, SD card, RC fixed wing, quadcopter

Europe / Germany
Offline Offline
Sr. Member
****
Karma: 11
Posts: 334
keep it simple
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The line of the LEDs has the shape of an S. So every 2nd row column is "reversed".

That's it, what the XY function sorts out.
« Last Edit: May 07, 2014, 03:54:12 pm by Helmuth » Logged

Offline Offline
Faraday Member
**
Karma: 87
Posts: 4997
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

So START at upper left ==> ACROSS
                                                              | (down one row
 ----ACROSS RIGHT to LEFT     <===
 |   (down one row)
  ====> ACROSS LEFT to RIGHT etc etc. etc. (16 down ,16 across ) ?
Logged

Arduino UNOs, Pro-Minis, ATMega328, ATtiny85, LCDs, MCP4162, keypads,
DS18B20s,74c922,nRF24L01, RS232, SD card, RC fixed wing, quadcopter

Europe / Germany
Offline Offline
Sr. Member
****
Karma: 11
Posts: 334
keep it simple
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Depends, which side you define as the upper one.

When the connectors are up it's like that:

Code:
   __  
|  |  |  .
|  |  |  .
|__|  |__|

So mirror and rotate your draft.
« Last Edit: May 07, 2014, 03:57:16 pm by Helmuth » Logged

Offline Offline
Faraday Member
**
Karma: 87
Posts: 4997
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Does it matter which end of the chain is the beginning and which is the end ?
Using your diagram would the start be UPPER LEFT and bottom be LOWER RIGHT ?
Logged

Arduino UNOs, Pro-Minis, ATMega328, ATtiny85, LCDs, MCP4162, keypads,
DS18B20s,74c922,nRF24L01, RS232, SD card, RC fixed wing, quadcopter

Europe / Germany
Offline Offline
Sr. Member
****
Karma: 11
Posts: 334
keep it simple
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes, it does matter - you have to start at Din - UPPER LEFT.

That means, after 16 columns you end at the UPPER RIGHT.

Why are you asking? Do you intend to connect several of these matrix pieces together? You don't really want to drive more than 256 WS2811 LEDs at one data line. It becomes to slow for soft animations. Every RGB LED takes 30 µS for an update. That means with the shown setup the physical limitation is 130 fps. Not much for smooth fading...

Large numbers of LEDs are driven with parallel output like with the OctoWS2811 lib + a Teensy.
« Last Edit: May 07, 2014, 04:58:39 pm by Helmuth » Logged

Offline Offline
Faraday Member
**
Karma: 87
Posts: 4997
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I don't plan to wire one up any time soon but I wanted to be able to tell someone else how to do it should they ask.
That makes sense doesn't it ?
Logged

Arduino UNOs, Pro-Minis, ATMega328, ATtiny85, LCDs, MCP4162, keypads,
DS18B20s,74c922,nRF24L01, RS232, SD card, RC fixed wing, quadcopter

Europe / Germany
Offline Offline
Sr. Member
****
Karma: 11
Posts: 334
keep it simple
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes, it does. What's important, is to connect (at least) the beginning and the end of the LEDs to the 5V to limit the voltage drop along the chain.

15 A (every LED white) is way to much for just one feed point.

In the video I drive the matrix with reduced brightness with approimately 1A. For that power at just one side is ok.
« Last Edit: May 07, 2014, 05:05:39 pm by Helmuth » Logged

Offline Offline
Faraday Member
**
Karma: 87
Posts: 4997
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I take you don't have any intention of marketing a plug and play light box with a pattern select menu ?
Logged

Arduino UNOs, Pro-Minis, ATMega328, ATtiny85, LCDs, MCP4162, keypads,
DS18B20s,74c922,nRF24L01, RS232, SD card, RC fixed wing, quadcopter

Europe / Germany
Offline Offline
Sr. Member
****
Karma: 11
Posts: 334
keep it simple
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

And than sell regularly new content/patterns?!  smiley-cool

What would be my job in it?

A standalone light to sound device sounds more fancy to me.

Logged

Offline Offline
Faraday Member
**
Karma: 87
Posts: 4997
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
A standalone light to sound device sounds more fancy to me. 

I believe you mean SOUND => LIGHT converter...
In the 60's we called that a COLOR ORGAN. In the UK , being British, they could not he heard using our American term so they dubbed them SOUND TO LIGHT converter's . (how original huh ?)
Logged

Arduino UNOs, Pro-Minis, ATMega328, ATtiny85, LCDs, MCP4162, keypads,
DS18B20s,74c922,nRF24L01, RS232, SD card, RC fixed wing, quadcopter

Offline Offline
Sr. Member
****
Karma: 6
Posts: 429
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I like it, made me think of this computer cube prop

 from an old episode (That which Serves) of Star trek. smiley
Logged

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