Mbira
Well-known member
I'm planning on having banks of 8 leds up to about 20' away from their power supply. They'll be connected with a db9 type cable. Will this be an issue?
Thanks!
Joel
Thanks!
Joel
Gus said:The spec has slew rate limited drivers to reduce EMI:However when you hang 20 feet of cable with the added wire length capacitance who knows what will happen.
Mbira said:I can't put the chip on the end, as there are four db9s running from the board to different parts of the stage-each db9 will go to a band of eight LEDs.
Mbira said:If this makes a difference: The db15 cable will also be carrying response signals from piezo elements as they get whacked to activate the LEDs. Not sure if that needs to be taken care of in therms of interference or whatever.
JohnRoberts said:There are some pretty simple static LED drivers that don't need to be multiplexed. I am using a 16 line driver in my new design. Look at something like TIs TLC5925. These can be addressed by 3 wire SPI and daisy chained in series for as many bits as you want. 4 of these in series would give you 64 lines.
jdbakker said:Not all's clear yet -- how fast are the LED blink rates? Is on/off sufficient or do they need to be dimmed?
possible. I'd then need to send the +5v, Load (CS), Digital in, and Clk to each of the chips from the arduino down those 20' lines.So put a chip with each of the LED clusters.
Possibly/probably. Depends on whether the piezo signals are pre-amplified before you send them down the cable, and whether the run from the piezo elements is balanced and/or shares a shield with the LEDs.
JohnRoberts said:You do not want to send the serial data over those 20' lines. Noise on a slow edge rate clock could cause unreliable data transfer. And a fast edge clock is another source of EMI while admittedly lower current than the m'pexd LEDs.
Whatever you send out needs to be robust.
Mbira said:jdbakker said:Not all's clear yet -- how fast are the LED blink rates? Is on/off sufficient or do they need to be dimmed?
On/off is all that's happening. I'm reading it refreshes around 800 times a second.
Mbira said:Possibly/probably. Depends on whether the piezo signals are pre-amplified before you send them down the cable, and whether the run from the piezo elements is balanced and/or shares a shield with the LEDs.
unbalanced, and un preamped. These are just feeding a midi controller.
Mbira said:If it doesn't work out at those length of lines, then I can just as easily start with a new driver chip and make new code.
JohnRoberts said:If you are just making a one-off and have the parts, just do it and see what happens.. It's only time and money.
jdbakker said:JohnRoberts said:You do not want to send the serial data over those 20' lines. Noise on a slow edge rate clock could cause unreliable data transfer. And a fast edge clock is another source of EMI while admittedly lower current than the m'pexd LEDs.
Whatever you send out needs to be robust.
Differential transceivers such as those used for RS-422 should do the trick. Assuming that the cable isn't too crappy (twisted pair helps) it's very robust against interference, and generates little EMI by itself. They're used a lot in industrial environments, and standard chip solutions can be had for under a buck, with many modern chips offering adjustable slew rate. You do need two wires per bit/line, but on a DB-9 it looks like you have enough for CS, CLK, DATA and power/gnd. Still eight dedicated lines for the LEDs plus one for common is simpler, sure.
JDB.
[]