Loading...
Pages: [1]   Go Down
Author Topic: Connect dmd to Mega 2560  (Read 233 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi all

I am trying to connect a Freetronics dmd to a Mega 2560 R3 board. I have read all the help I can find on this and so far no luck. I have found out that the SPI pins are moved from D10-D13 to D50-D53. I have tried connecting the dmd directly to the Mega without using the CON board. As the DMD library does not support the Mega I have tried to create a DMD2560 version by changing the DMD.cpp and DMD.h files but without success as my cpp skills are minimal. Any guidance would be welcome.
Logged

Melbourne, Australia
Offline Offline
Newbie
*
Karma: 1
Posts: 46
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

The DMD certainly works with the Mega (and any other Arduino-compatible board with 5V SPI). You don't need to alter any code or libraries.
Just run separate wires from the connector board that comes with the DMD to the matching on your Mega

connector board > Mega (etc)

GND > GND
13 > D52
12 > D50
11 > D51
10 > D53
9 > D9
8 > D8
7 > D7
6 > D6

E.g.


You can see the connector board schematic here:
http://www.freetronics.com/collections/display/products/dot-matrix-display-32x16-red
« Last Edit: April 03, 2013, 07:30:03 pm by johnft » Logged


Pages: [1]   Go Up
Print
 
Jump to: