New Project - LEDan...
 
Notifications
Clear all

New Project - LEDancer

118 Posts
23 Users
0 Reactions
74.6 K Views
Wayne J
Posts: 7789
(@wayne-j)
Illustrious Member
Joined: 20 years ago

Just curious, could a bunch of these be set up in a matrix to make a sign? Then would be a hassle to program it to act as a Ledtriks, or should one just use a Ledtricks?


Reply
Posts: 6728
Topic starter
(@p-short)
Illustrious Member
Joined: 20 years ago

Yes, although a new plugin/addin would be most useful. Pricewise, this would be much more expensive than a LEDtriks.


Reply
Posts: 2168
(@djulien)
Noble Member
Joined: 19 years ago
Wayne J wrote:Just curious, could a bunch of these be set up in a matrix to make a sign? Then would be a hassle to program it to act as a Ledtriks, or should one just use a Ledtricks?

The advantage of this style controller over a standard LEDTriks is that the display grid can be any size, both the LED spacing and also the total number of columns. Using the LED PCB modules would make it a fixed size, or hand-wiring the LEDs (with no PCB modules) you could make it any size you wanted. For example, you could spread the LEDs out a few or several inches between and then put them behind or in front of a sheet of Coro, etc.

For a huge LEDTriks you could also use this to drive AC SSRs (ie, a 50 ct or 100 ct mini-light or LED string, or icicle segment as each pixel), since the optos are just LEDs and they can be charlieplexed like regular visible LEDs.

don


Reply
jklingert
Posts: 1767
(@jklingert)
Noble Member
Joined: 16 years ago

The boards are now available for sale over in this group buy thread


Reply
Posts: 1076
 Zeph
(@zeph)
Noble Member
Joined: 15 years ago

I hope some of you can have patience with some questions whose answers may be very obvious to those with the right exprience; charlieplexing is new to me. I've read through this thread, and reviewed the wiki at http://www.doityourselfchristmas.com/wiki/index.php?title=LEDancer and the wikipedia article.

1) The charlieplexed LEDs appear to be equally well described as common cathode or common anode (being in a symmetric matrix). That is, every line is connected to 7 LEDs with a common cathode, and to 7 LEDs with a common anode. So what is being referred to here in regard to the common cathode vs common anode? As I write this, I am making a guess: perhaps it's less about the circuitry than about the scan pattern. Perhaps the same circuity would work for both if not using the transistors. The transistors make it work for only common cathode or common anode. Is that correct?

2) Why the switch from common cathode to common anode here?

3) Do I understand that only 7 of the LEDs can be on at any instant, and that you get 56 by limiting the LEDs to 1/8 duty cycle max? How fast is the cycle? How much does that affect the usable brightness in practice?

4) Does this design support dimming (ie: are the 256 values of the DMX packet interpreted as 256 dim levels)? If so do I understand that 255 = 1/8 of time on, while 128 = 1/16th? Or is there an on/off threshold value?

5) The schematic on the wiki seems to indicate that there are at least 3 resistors in series with each LED. One on the anode and one on the cathode in the LED matrix, plus one between the matrix and the PIC pin when pulling it low. Right? How much voltage is dropped by each (eg: with a white LED)?

Thanks again! Some of these are for my own understanding, and some affect whether I want to jump into the group buy.


Reply
Posts: 6728
Topic starter
(@p-short)
Illustrious Member
Joined: 20 years ago
Zeph wrote:I hope some of you can have patience with some questions whose answers may be very obvious to those with the right exprience; charlieplexing is new to me. I've read through this thread, and reviewed the wiki at http://www.doityourselfchristmas.com/wiki/index.php?title=LEDancer and the wikipedia article.

1) The charlieplexed LEDs appear to be equally well described as common cathode or common anode (being in a symmetric matrix). That is, every line is connected to 7 LEDs with a common cathode, and to 7 LEDs with a common anode. So what is being referred to here in regard to the common cathode vs common anode? As I write this, I am making a guess: perhaps it's less about the circuitry than about the scan pattern. Perhaps the same circuity would work for both if not using the transistors. The transistors make it work for only common cathode or common anode. Is that correct?

First, common cathode/anode can refer to the wiring on the LED modules. Second, it can refer to how the firmware drives the LEDs at any given moment in time (one anode/seven cathodes, or one cathode/seven anodes). The design attempts to have these mean the same thing, so that there is less confusion both in the programmers mind and in explaining things.

2) Why the switch from common cathode to common anode here?

Accident of history relating to the FAST design (which uses the same LED modules).

3) Do I understand that only 7 of the LEDs can be on at any instant, and that you get 56 by limiting the LEDs to 1/8 duty cycle max? How fast is the cycle? How much does that affect the usable brightness in practice?

Yes, only seven LEDs are on at any given microsecond in time. Counting instructions, it appears that each micro-cycle is about 34uS. After selectively turning on one row of LEDs for 34uS, the firmware goes on to the next set of seven LEDs. Multiply the 34uS by eight (for eight common anodes) and again by 64 (for 64 brightness levels), and the overall refresh rate is just under 60 Hz. As for affecting brightness, I haven't done a comparison test.

4) Does this design support dimming (ie: are the 256 values of the DMX packet interpreted as 256 dim levels)? If so do I understand that 255 = 1/8 of time on, while 128 = 1/16th? Or is there an on/off threshold value?

Yes, although that 1/8 of the time on is in 34uS chunks.

5) The schematic on the wiki seems to indicate that there are at least 3 resistors in series with each LED. One on the anode and one on the cathode in the LED matrix, plus one between the matrix and the PIC pin when pulling it low. Right? How much voltage is dropped by each (eg: with a white LED)?

It's one resistor in series at a time. The one on the (common) anode is shorted out by the transistor. That resistor should see somewhere between 1.0V and 1.6V, depending on the output voltage of the PIC and the VCE of the transistor. I recommended an 82 ohm resistor to Dave, which should translate to a current between 12.5 mA and 20 mA. It could probably be made smaller for a greater brightness, but I was trying to be conservative.

Thanks again! Some of these are for my own understanding, and some affect whether I want to jump into the group buy.

Reply
Posts: 1076
 Zeph
(@zeph)
Noble Member
Joined: 15 years ago
P. Short wrote:First, common cathode/anode can refer to the wiring on the LED modules. Second, it can refer to how the firmware drives the LEDs at any given moment in time (one anode/seven cathodes, or one cathode/seven anodes). The design attempts to have these mean the same thing, so that there is less confusion both in the programmers mind and in explaining things.

OK, makes sense now. Without driver transistors, the hardware for common anode and common cathode would be the same, only the firmware scanning pattern would determine common anode or common cathode. But if you have the transistors, they naturally need to match the scan (eg: one anode line enabled at a time, with 7 cathodes being selectively enabled. And the switch was for compatibility with the existing FAST segments.

And there are 64 levels of dimming - presumably the DMX value / 4.

In one cycle (about 17.4ms) a given LED will have 64 timeslots of 34 uSec each (one every 272 uSec). The brightness depends on how many of these slots it's turned on. For full on, it will receive about 3676 pulses of 34 uSec each, which amounts to being on about 1/8 of the time but spread out. More like pulse count modulation than pulse width modulation but the higher frequency probably fools the eye better.

Thanks!

P. Short wrote:It's one resistor in series at a time. The one on the (common) anode is shorted out by the transistor.

Ah, I was misled by the "Schematic" labeled section (lower down) of http://www.doityourselfchristmas.com/wiki/index.php?title=LEDancer where the LED's are shown such that two resistors would always be involved (then another resistor is shown in the other part of the the circuitry in the schematic). If the out-of-date LED matrix diagram is updated to reflect new pinouts, the resistors there should be removed. Not a complaint - I would update the wiki myself if I were edit enabled.

P. Short wrote:
That resistor should see somewhere between 1.0V and 1.6V, depending on the output voltage of the PIC and the VCE of the transistor. I recommended an 82 ohm resistor to Dave, which should translate to a current between 12.5 mA and 20 mA. It could probably be made smaller for a greater brightness, but I was trying to be conservative.

Yes, I understand that charlieplexing or other time multiplexing can potentially allow for higher peak current than the LED can handle steady state - but then if the chip freezes there could be damage. Safer to be conservative.

Thanks again for the explanation.


Reply
Posts: 12
(@wpafan)
Active Member
Joined: 15 years ago

is there a pcb of the final version of this board so I can home etch?

Thanks
Bill


Reply
Posts: 6728
Topic starter
(@p-short)
Illustrious Member
Joined: 20 years ago

The current design isn't aimed at home-etching. It's a two-layer board. Although I think it could be re-designed for two-layers, but at the expense of possibly making it too large to fit in some of the tubes that people are using.


Reply
Posts: 1372
(@fathead45)
Noble Member
Joined: 18 years ago

anybody have any finished pics, kinda lost on where some stuff goes?


Reply
Page 9 / 12
Share: