Help with scrolling Text

The Dot Matrix Display (DMD) is a 32x16 array of high-brightness LEDs for visually striking effects. [Product Page]
42n8
Posts: 46
Joined: Wed Dec 26, 2012 8:10 pm
Location: Auckland, NZ

Re: Help with scrolling Text

Post by 42n8 » Mon Feb 25, 2013 12:48 am

kitbots wrote:Thanks for the reply.

The info. for the constant current regulator says it will regulate both current and voltage and I will be supplying it with 5v from a regulated power supply so how could the voltage ever go higher? Is the microprocessor really regulating the current when its powered through the USB or is it simply the regulators in the laptop that is limiting the current? If the latter then surely the constant current constant voltage device would do the same but simply at a higher level. I certainly do not see the brightness change as the amount of text goes up and down when powered through the USB.
Pete,
To answer your first question... When you are powering from USB, notice that:
  • there's no direct power connection between USB and DMD power rails
  • the lights go out when too many LEDs are lit at once
There's a common reason that these two things occur. The power being supplied to the DMD is sourced from the microprocessor ports. These are constant current sources and when the current drain trys to exceed the port limitation the port automatically shuts down to prevent damage to the port.

Your second answer is:
The laptop regulators will quite happily supply much more current than the USB port will source, which is limited to 0.5Amps. So if any device develops a short circuit, the USB driver chip will sense the overcurrent and rapidly disconnect the USB line from the device, again it's an inbuilt protection method.

Yes, I agree that you don't see a brightness change so let's look at the science by analysing the circuit in depth.

Signal R selects pin 12 of every 595 in the system, which is the stop pin so it has nothing to do with the data control system. It controls the entire board state, either ON or OFF and overrides the nOE pin so it's just used for blanking.

The data could be such that all 512 LEDs appear to be on at once, but is this really so?
Signals A and B select one of the four quadrants to be addressed, a maximum of 128 LEDS. The two lines are decoded by the 138, which is set up as a 2 - 4 line decoder. These outputs each feed two 4952 row driver chips, which further restrict the output to two rows so that only 32 LEDS can be addressed at any one time.

Signal nOE is also connected to every 595 on pin 13. It is an 8 bit wide tristate latch and current sink, which latches the data on the 595 and sinks the "LED Data Bus" for want of a better description.

This "LED data bus" is a matrix of 32 LEDS powered by the 4952 row driver chips and because they are latches the outputs are ON or OFF until instructed otherwise. Each of the 595s 8 outputs drives 4 LEDS but only one will light because each of the 4 LEDs is powered by a different row. Moreover, only one of the two possible rows are selected which means that it is possible to address a single LED, which we all know is true.

Does this mean that only one LED per board is switched on at any one time? No, if it were so then the USB port could deliver enough current to power 25 LEDs at full brightness, provided that no other USB device was connected.

It is latching that's important, not addressing. Each latch can sink up to 8 pixels concurrently and since there are 4 latches per quadrant then 32 pixels per quadrant are possible and there being 4 quadrants there are a maximum of 128 pixels that can be lit at any one time, per board.

If each LED is at full brightness and the max current that a single LED can handle comfortably is 20ma then the max current setting will be 128 pixels x 20ma = 2.56 Amps per board.

In summary, there are several important points to take away.
  • That it requires a serious amount of energy to drive large arrays
  • That each of the LEDs has a constant current sink and thats why you don't see a brightness change.
  • That the existing current sink is not variable and therefore not useful as a control unless we could somehow control the length of time that the 595s were latched in the ON state
Finally:
Preregulating a current source defeats the purpose and it has never worked, in my experience. The idea is to allow the voltage to float so that a low current drain on the supply lets the voltage rise such that at virtually 0 Amps the voltage reaches peak and it sags as current rises.

You can, however, post regulate the voltage by using avalanche techniques so that the voltage that the device sees is never greater than its capacity to handle it. As you can imagine, making such a current source, while possible is not an easy task and one that few would tackle, especially when there are easier methods of getting the job done.

This might be an answer to a maiden's prayer for many people...
I was having a discussion with Stryker last night about controlling brightness on the nOE port. It appears that there may be a positive outcome from his work, within the next few days.

See this thread viewtopic.php?f=26&t=3435

Regards

astech
Posts: 3
Joined: Sun Dec 09, 2012 11:29 am

Re: Help with scrolling Text

Post by astech » Thu Feb 28, 2013 10:56 am

Hi,
re speed of scrolling.
Find the following section of code and reduce the value 30 to speed up scrolling.

while(!ret){
if ((timer+30) < millis()) {
ret=dmd.stepMarquee(-1,0);
timer=millis();
}

kitbots
Posts: 11
Joined: Tue Oct 30, 2012 2:39 am

Re: Help with scrolling Text

Post by kitbots » Fri Mar 01, 2013 12:34 am

Thanks, I'll give that a try :D


astech wrote:Hi,
re speed of scrolling.
Find the following section of code and reduce the value 30 to speed up scrolling.

while(!ret){
if ((timer+30) < millis()) {
ret=dmd.stepMarquee(-1,0);
timer=millis();
}

ftboy
Posts: 1
Joined: Sun Mar 03, 2013 1:23 am

Re: Help with scrolling Text

Post by ftboy » Sun Mar 03, 2013 1:28 am

I have been pulling my hair out since 4am trying to get the example sketch running on 1.0.3 and reverting to 1.0.2 as I knew this sketch was running last time I played with it.

error: no matching function for call to 'DMD::drawMarquee(char [29], int&, int, int)

Is the first place it bombs and cant think my way out of it.

Any pointers would be appreciated

clibin009
Posts: 329
Joined: Mon Oct 23, 2017 2:57 am

Re: Help with scrolling Text

Post by clibin009 » Wed Jan 03, 2018 6:20 am

clb0103
michael kors outlet clearance
cheap jordan shoes
ugg boots outlet
oakley sunglasses outlet
coach outlet canada
mulberry
coach outlet online
coach outlet online
canada goose coats
ralph lauren outlet online
cheap ugg boots
adidas nmd r1
polo ralph lauren outlet
canada goose outlet
michael kors outlet online
michael kors outlet online
polo ralph lauren outlet online
cheap ugg boots
the north face jackets
canada goose jackets
fitflops sale
ray ban sunglasses discount
burberry handbags
michael kors outlet clearance
canada goose jackets
pandora jewelry outlet
uggs
coach factory outlet
ray ban glasses
cheap jordans
ugg boots sale
pandora jewelry
coach factory outlet online
moncler
ugg boots
michael kors outlet online
ugg outlet online
coach factorty outlet online
burberry handbags
nmd adidas
yeezy boost 350
michael kors outlet online
michael kors outlet clearance
polo ralph lauren outlet
uggs clearance
timberland outlet
christian louboutin shoes
pandora charms
polo ralph lauren outlet
ralph lauren outlet online
yeezy boost 350
coach purses
canada goose jackets
cheap nfl jerseys wholesale
nike sneakers
ugg outlet online
the north face outlet
moncler coats
north face sale
michael kors outlet online
ralph lauren outlet online
cheap ugg boots
ugg boots
canada goose coats
hermes outlet
canada goose sale
pandora uk
polo ralph lauren outlet online
north face jackets
pandora jewelry
toms shoes
christian louboutin shoes
cheap air jordans
louis vuitton factory outlet
michael kors outlet store
louboutin outlet
mulberry outlet uk
polo ralph lauren outlet online
michael kors outlet store
nike shoes
adidas outlet
uggs clearance
ugg outlet store
ralph lauren outlet online
canada goose outlet online
ugg outlet
nike outlet store
polo ralph lauren outlet online
hermes bags
coach factory outlet
canada goose jackets uk
cheap oakley sunglasses
louis vuitton outlet online
coach outlet online
coach outlet store online
longchamp sale
ugg boots
moncler sale
michael kors
adidas yeezy boost
red bottom heels
coach factory outlet online
uggs outlet
pandora charms outlet
nike outlet store online
north face jackets
pandora outlet
birkenstock outlet
fitflops sale clearance
nfl jerseys
cheap jordans free shipping
canada goose sale
adidas nmd runner
canada goose
mulberry handbags
ugg canada
ralph lauren outlet online
cheap jordan shoes
coach outlet online
canada goose jackets
canada goose jackets
ralph lauren sale
jordans
canada goose jackets
polo ralph lauren outlet online
cheap ugg boots
moncler outlet online
canada goose jackets
canada goose jackets
ugg outlet store
yeezy shoes
ugg canada
coach outlet online
pandora outlet
moncler outlet online
kate spade handbags
adidas shoes
canada goose sale
canada goose coats
pandora charms sale clearance
tory burch outlet online
hermes bag
gucci outlet online
louboutin outlet
canada goose jackets
cheap air jordans
kate spade handbags
coach factorty outlet online
cheap air jordans
bottes ugg
canada goose jackets
coach outlet online
michael kors outlet online
burberry handbags
pandora sale clearance
the north face outlet
michael kors outlet online
canada goose outlet
louis vuitton factory outlet
ugg outlet
ugg boots
michael kors outlet store
fitflop sandals
ferragamo outlet
oakley sunglasses for women
coach outlet online
mulberry uk
timberland outlet store
canada goose jackets
ralph lauren uk
valentino
caterpillar boots
ralph lauren
mlb jerseys
coach outlet
ugg outlet online
ugg boots
canada goose jackets
ugg boots
discount oakley sunglasses
pandora jewelry
hermens
coach factory outlet online
adidas yeezy boost
coach factory outlet online
philipp plein
tory burch outlet online
gucci outlet
canada goose outlet store
michael kors
cheap nike shoes
coach outlet store
coach outlet store
adidas nmd runner
coach outlet online
north face outlet
polo ralph lauren outlet
cheap jordan shoes
louis vuitton handbags
canada goose jackets
pandora jewelry store
ugg boots
nike outlet online
moncler uk
ferragamo shoes
adidas
ugg boots
ray ban sunglasses discount
cheap nfl jerseys wholesale
red bottoms
birkin handbags
uggs outlet
nike zoom
canada goose outlet
louboutin shoes
pandora jewelry outlet
fred perry polo shirts
oakley sunglasses outlet
uggs outlet
louis vuitton outlet store
yeezy boost 350
kate spade outlet
burberry outlet online
fred perry shirts
valentino outlet
coach handbags outlet
adidas yeezy shoes
polo ralph lauren outlet
canada goose jackets
cheap jordan shoes
ralph lauren outlet
michael kors
ray bans
michael kors outlet store
moncler outlet online
canada goose
pandora uk
pandora charms sale clearance
moncler jacket
columbia sportswear outlet
adidas campus shoes
pandora charms outlet
ralph lauren uk
air max shoes
uggs outlet
moncler jackets
polo ralph lauren outlet
pandora charms sale clearance
coach outlet online
mbt
ray ban sunglasses cheap
longchamp bags
moncler sale
coach outlet store online
uggs outlet
michael kors bags
uggs outlet
coach outlet online
coach outlet online
ugg boots
polo ralph lauren
moncler jackets
cheap oakley sunglasses
oakley sunglasses outlet
uggs outlet
christian louboutin sale
moncler outlet online
coach outlet online
ralph lauren
cheap jordan shoes
coach factory outlet
ugg boots outlet
ralph lauren sale
cheap oakley sunglasses
michael kors
coach outlet canada
cheap ray ban sunglasses
pandora charms sale clearance
canada goose coats
fitflops sale
ugg outlet
adidas superstars
adidas outlet store
ralph lauren outlet online
adidas nmd r1
uggs outlet
ugg outlet store
ugg boots
coach factory outlet
nike shoes
yeezy shoes
cheap jordans for sale
kate spade outlet online
canada goose outlet
supreme shirts
coach outlet online
coach outlet online
fitflop sandals
michael kors handbags
nfl jerseys
pandora charms
coach outlet store
uggs outlet
pandora charms
michael kors outlet store
adidas nmd r1
tory burch shoes
polo ralph lauren
mbt shoes sale
ugg boots women
coach outlet online
coach factory outlet online
salvatore ferragamo outlet
air max
ralph lauren
yeezy shoes
coach factory outlet online
red bottom
michael kors bags
mlb jerseys
ralph lauren uk
the north face outlet
air jordan shoes
polo outlet online
ray bans
adidas outlet online
discount ray ban sunglasses
hermes handbags
michael kors outlet online
coach factory outlet
mlb jerseys cheap
louis vuitton factory outlet
ralph lauren uk
kate spade outlet online
ugg outlet store
ugg outlet
louis vuitton outlet
kate spade handbags
adidas nmd r1
michael kors
canada goose outlet online
ray ban sunglasses discount
moncler jackets
canada goose coats
michael kors handbags outlet
adidas store
coach outlet online
michael kors outlet store
canada goose parka
adidas yeezy
longchamps
coach outlet online
uggs on sale
michael kors outlet store
nike outlet
air jordan retro
mbt
ray ban sunglasses sale
adidas yeezy boost
canada goose
christian louboutin shoes
nike sneakers
adidas ultra boost
ugg outlet
nike air max 97
uggs outlet
harden vol 1
canada goose jackets
timberland boots
moncler coats
adidas yeezy
coach outlet online
yeezy boost 350
fitflop shoes
longchamp outlet
pandora charms sale
ugg
canada goose sale
ray ban sunglasses outlet
kate spade outlet
canada goose jacket
longchamp outlet store
hermes bags
nike outlet online
canada goose jackets
uggs outlet
ugg boots
ugg sale
nike air max 97
longchamp bags
ugg boots outlet
coach outlet online
nike outlet store
nike air max 2018
yeezy boost
kate spade outlet online
adidas outlet store
canada goose jackets
canada goose outlet
adidas sneakers
kate spade outlet online
salvatore ferragamo shoes
ray ban sunglasses outlet
michael kors outlet online
supreme uk
michael kors outlet clearance
air jordans
michael kors outlet store
coach outlet store online
cheap ray ban sunglasses
north face outlet
adidas superstar shoes
kate spade handbags
pandora charms outlet
timberland outlet
moncler uk
coach factory outlet online
burberry outlet online
pandora jewelry
supreme clothing
retro 11
oakley sunglasses outlet
pandora charms outlet
moncler pas cher
burberry outlet
nike air max 2018
canada goose outlet
michael kors outlet canada
canada goose
michael kors outlet
adidas yeezy boost 350
ralph lauren outlet online
canada goose jackets
michael kors outlet clearance
canada goose coats
moncler coats
polo ralph lauren outlet
air max
coach factory outlet online
jordan shoes for sale
adidas outlet online
cheap ray bans
ralph lauren outlet online
pandora charms sale
canada goose jackets
louis vuitton outlet online
ugg boots
coach outlet store online clearance
coach outlet online
philipp plein outlet
birkenstock shoes
uggs on sale
coach factory outlet online
uggs outlet
cheap uggs
cheap oakley sunglasses
uggs outlet
supreme shirts
nfl jerseys
coach outlet online
ralph lauren
canada goose sale
burberry outlet online
michael kors outlet canada
coach factory outlet online
coach factory outlet online
clb0103

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests