DMD Brightness control

The Dot Matrix Display (DMD) is a 32x16 array of high-brightness LEDs for visually striking effects. [Product Page]
User avatar
stryker
Posts: 263
Joined: Sat Jan 14, 2012 2:44 pm

Re: DMD Brightness control

Post by stryker » Tue Feb 21, 2017 8:22 pm

Papbo wrote:On Freetronic site, there are no Resistor on the DMDCON connector drawing pdf.
Is it possible to update the drawing.
The DMDCON drawing is updated on their github for the DMD2 beta, here.
Last edited by stryker on Tue Feb 21, 2017 9:21 pm, edited 1 time in total.

Loki
Posts: 18
Joined: Mon Jul 06, 2015 7:12 pm

Re: DMD Brightness control

Post by Loki » Tue Feb 21, 2017 9:20 pm

Papbo wrote:Hi Loki,
Could you tell me how to do that...
thanks in advance
Papbo
Hi in attachemnt is updated DMD.cpp + DMD.h with birghtness and split step marquee as seen in my video, use Timer1.initialize( 5100 );
it works for me withou resistor on MEGA and UNO.just copy it onto %USERPROFILE%\My documents\Arduino\libraris\DMD

that Flickering on video is problem with phone camera and its refresh rate, it is not visible in real.
Attachments
DMD.zip
(8.92 KiB) Downloaded 165 times

Papbo
Posts: 11
Joined: Sun Feb 19, 2017 10:59 am

Re: DMD Brightness control

Post by Papbo » Thu Feb 23, 2017 11:34 am

Hi Loki and stryker,
Thanks both for the information.
I will update my Lib and DMDCON.
Regards
Papbo

Papbo
Posts: 11
Joined: Sun Feb 19, 2017 10:59 am

Re: DMD Brightness control

Post by Papbo » Thu Feb 23, 2017 6:51 pm

Loki wrote:
Hi in attachemnt is updated DMD.cpp + DMD.h with birghtness and split step marquee as seen in my video, use Timer1.initialize( 5100 );
it works for me withou resistor on MEGA and UNO.just copy it onto %USERPROFILE%\My documents\Arduino\libraris\

that Flickering on video is problem with phone camera and its refresh rate, it is not visible in real.
Hello Loki,
I have replaced the DMD.h and DMD.cpp with yours... it works fine.
However I have tried to modified the pin setup like this
//#define PIN_DMD_CLK 52 // D13_SCK is SPI Clock if SPI is used
#define PIN_DMD_CLK 13 // modifié par Etienne pour Méga et Nano
and
//#define PIN_DMD_R_DATA 51 // D11_MOSI is SPI Master Out if SPI is used
#define PIN_DMD_R_DATA 11 // modifié par Etienne pour Méga et Nano
to have the same setup as in the DMD2.cpp and use the DMDCON directly on the MEGA board without jumper ....and it is not working...could you tell me why?

Could you tell me where to connect the OTHER_PIN SPI
#define PIN_OTHER_SPI_nCS 53
On the DMDCON all pins used on the 2x8 flat cable are used and I don't see where it is possible to connect this extra pin
Regards
Papbo

Papbo
Posts: 11
Joined: Sun Feb 19, 2017 10:59 am

Re: DMD Brightness control

Post by Papbo » Thu Mar 02, 2017 3:47 pm

Hello,
Is it possible to know where " #define PIN_OTHER_SPI_nCS 53 " should be connected to the DMDCON ? I don't see a free pin on this connector.
Regards
Papbo

Loki
Posts: 18
Joined: Mon Jul 06, 2015 7:12 pm

Re: DMD Brightness control

Post by Loki » Thu Mar 02, 2017 5:11 pm

why to change pinout? to use MEGA, i make my own DMDCON on custom PCD for mega to have correct SPI pins.

Papbo
Posts: 11
Joined: Sun Feb 19, 2017 10:59 am

Re: DMD Brightness control

Post by Papbo » Thu Mar 02, 2017 9:02 pm

Loki wrote:why to change pinout? to use MEGA, i make my own DMDCON on custom PCD for mega to have correct SPI pins.
Hi Loki,
It is not a problem for me to use the same pins like yours, I just tried to use a pin to pin configuration for the original DMDCON.
By the way could you tell me where to connect the pin 53???
Regards
Papbo

Loki
Posts: 18
Joined: Mon Jul 06, 2015 7:12 pm

Re: DMD Brightness control

Post by Loki » Fri Mar 03, 2017 4:01 pm

On MEGA it is pin 53 (SPI SS) and on arduino uno ot os on pin D10
, dont know what arduino are you using

Papbo wrote:
Loki wrote:why to change pinout? to use MEGA, i make my own DMDCON on custom PCD for mega to have correct SPI pins.
Hi Loki,
It is not a problem for me to use the same pins like yours, I just tried to use a pin to pin configuration for the original DMDCON.
By the way could you tell me where to connect the pin 53???
Regards
Papbo

Papbo
Posts: 11
Joined: Sun Feb 19, 2017 10:59 am

Re: DMD Brightness control

Post by Papbo » Mon Mar 06, 2017 10:11 am

Loki wrote:On MEGA it is pin 53 (SPI SS) and on arduino uno ot os on pin D10
, dont know what arduino are you using

Hi Loki,
Of course I know that the pin 53 is SPI SS on the Mega. My question is " where do you connect this pin 53 on the DMDCON??".
On the DMDCON pin used and connected to the flat cable are,
D6 to 6 on Mega
D7 to 7 on Mega
D8 to 8 on Mega
D9 to 9 on Mega
D10 not used and not connected
D11 to to 51 on Mega
D12 not used and not connected
D13 to 52 on Mega
GND to GND Mega
Aref not used and not connected
I don't see a free pin on the DMDCON to connect to pin 53 on Mega???
Is it ok for you?
I am using one Mega for the first display and one nano for the second display because I need a different brightness on both display.
arduino Mega is used for all calculations and control display 1 , he send datas via serial to the nano to control display2, this is working fine.
Regards
Papbo

Loki
Posts: 18
Joined: Mon Jul 06, 2015 7:12 pm

Re: DMD Brightness control

Post by Loki » Mon Mar 06, 2017 4:21 pm

Now i understand, i checked my wirings and it is not connected anywhere.

Post Reply