Page 3 of 4

Re: DMD Brightness control

Posted: Tue Feb 21, 2017 8:22 pm
by stryker
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.

Re: DMD Brightness control

Posted: Tue Feb 21, 2017 9:20 pm
by Loki
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.

Re: DMD Brightness control

Posted: Thu Feb 23, 2017 11:34 am
by Papbo
Hi Loki and stryker,
Thanks both for the information.
I will update my Lib and DMDCON.
Regards
Papbo

Re: DMD Brightness control

Posted: Thu Feb 23, 2017 6:51 pm
by Papbo
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

Re: DMD Brightness control

Posted: Thu Mar 02, 2017 3:47 pm
by Papbo
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

Re: DMD Brightness control

Posted: Thu Mar 02, 2017 5:11 pm
by Loki
why to change pinout? to use MEGA, i make my own DMDCON on custom PCD for mega to have correct SPI pins.

Re: DMD Brightness control

Posted: Thu Mar 02, 2017 9:02 pm
by Papbo
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

Re: DMD Brightness control

Posted: Fri Mar 03, 2017 4:01 pm
by Loki
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

Re: DMD Brightness control

Posted: Mon Mar 06, 2017 10:11 am
by Papbo
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

Re: DMD Brightness control

Posted: Mon Mar 06, 2017 4:21 pm
by Loki
Now i understand, i checked my wirings and it is not connected anywhere.