|
|
Netherlands
Offline
Tesla Member
Karma: 91
Posts: 9449
In theory there is no difference between theory and practice, however in practice there are many...
|
 |
« Reply #1 on: November 16, 2011, 02:06:42 pm » |
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Full Member
Karma: 0
Posts: 141
|
 |
« Reply #2 on: November 16, 2011, 02:11:06 pm » |
Thanks for the suggestion but the datasheet says: Address by Three Hardware Address Pins for Use of up to Eight Device I ideally need up to 127 devices
|
|
|
|
|
Logged
|
|
|
|
|
Netherlands
Offline
Tesla Member
Karma: 91
Posts: 9449
In theory there is no difference between theory and practice, however in practice there are many...
|
 |
« Reply #3 on: November 16, 2011, 02:24:10 pm » |
you can add 8 of such chips, every one can control 16 lines (=16 leds) 8 x 16 = 128 , so you have one to spare. Another option might be the centipede shield - http://macetech.com/store/index.php?main_page=product_info&products_id=23 - IIRC there can be two on the I2C bus (eight in fact but the library only support 2, but you may fix that  2 x 64 = 128 hopes this helpes, update: removed wrong info 
|
|
|
|
« Last Edit: November 17, 2011, 03:10:31 pm by robtillaart »
|
Logged
|
|
|
|
|
SF Bay Area
Offline
Edison Member
Karma: 6
Posts: 1215
Arduino Ninja
|
 |
« Reply #4 on: November 16, 2011, 04:48:15 pm » |
Only 8 MCP23017 chips per bus, and each Centipede has 4 chips 
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Boston area, metrowest
Offline
Brattain Member
Karma: 249
Posts: 16579
Available for Design & Build services
|
 |
« Reply #5 on: November 17, 2011, 01:21:02 am » |
Use MAX6953. One chip. Control 140 LEDs. I2C interface. One current set resistor. http://datasheets.maxim-ic.com/en/ds/MAX6953.pdf
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Full Member
Karma: 0
Posts: 141
|
 |
« Reply #6 on: November 18, 2011, 07:26:05 am » |
sorry I should of been more clear - I need around 120 individual units, after further research I guess maybe ATtiny45's might be the solution (creating BlinkM clones) although a little overkill for my application, as I only really need a single colour LED (possibly with with PWM).
|
|
|
|
|
Logged
|
|
|
|
|
|
|
Colorado
Offline
Edison Member
Karma: 41
Posts: 1264
Reviving dead brain cells with Arduinos.
|
 |
« Reply #8 on: November 18, 2011, 04:40:05 pm » |
Do you have to be able to set an address for each LED? What if it's just a 2-wire communication where you shift data out to the entire string?
Take an RGB LED - $0.12 (1000 minimum) with a WS2801 - $0.16 (1 to 1000) 1x 0.1uF cap - $0.03 (100 - 499) 3x resistors - $0.02 (100 - 499) PCB - $0.72 (12 - I created my own through fab house)
And you end up with a pixel cost of $1.09 - multiply that by however many you want. Your Arduino just needs to provide a DATA and CLK source and you're done. You can either provide VCC/GND from the Arduino (3.3V up to 5.5V), or from an external supply.
Worth nothing: this is the exact same thing that many 5V addressable RGB strips are made of, except for the flexible and adhesive backing.
|
|
|
|
|
Logged
|
|
|
|
|
Colorado
Offline
Edison Member
Karma: 41
Posts: 1264
Reviving dead brain cells with Arduinos.
|
 |
« Reply #9 on: November 18, 2011, 04:42:52 pm » |
Actually, never mind. You indicated you're creating BlinkM clones, so these might not be sitting together in a long string.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Full Member
Karma: 0
Posts: 141
|
 |
« Reply #10 on: November 19, 2011, 07:11:45 am » |
thanks for the replies guys, yes the reason I'm thinking blinkM style devices is because my project requires a tree/branching style layout - and so chainable units would make for somne ugly wiring.
|
|
|
|
|
Logged
|
|
|
|
|
Colorado
Offline
Edison Member
Karma: 41
Posts: 1264
Reviving dead brain cells with Arduinos.
|
 |
« Reply #11 on: November 19, 2011, 09:06:28 pm » |
Then, if you're talking each unit being on its own, what does it matter if they're addressable or not? Just program each one and go to town with them.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Full Member
Karma: 0
Posts: 141
|
 |
« Reply #12 on: November 21, 2011, 04:33:18 am » |
As I need to be able to turn each unit of and on independently, from the control application.
|
|
|
|
|
Logged
|
|
|
|
|
Colorado
Offline
Edison Member
Karma: 41
Posts: 1264
Reviving dead brain cells with Arduinos.
|
 |
« Reply #13 on: November 21, 2011, 03:21:54 pm » |
So they will be wired together then, just not in a long continuous string, correct?
You could still do strings, just several of them going to individual branches. Each one would need 2 wires from the controller (NOT including VCC/GND). I get what you're saying though.
|
|
|
|
|
Logged
|
|
|
|
|
|