DMD (community library)


Name Value
Name DMD
Version 0.0.3
Installs 1405
License Unknown
Author Paul Kourany
Download .tar.gz
All Versions 0.0.3, 0.0.1

Freetronics Dot Matrix Display library for Particle

Example Build Testing

Device OS Version:

This table is generated from an automated build. Success only indicates that the code compiled successfully.

Library Read Me

This content is provided by the library maintainer and has not been validated or approved.


DMD (dot matrix display) library for Particle devices adapted from Arduino library

Version 1 of Dot Matrix Library Copyright (C) 2011 Marc Alexander ( Adapted for Particle devices by Paul Kourany, May 22, 2014 Updated to Libraries 2.0, Jan 29, 2017

IMPORTANT: This library requires Particle firmware v4.5 or later

Default pin configuration:

nOE          A0
A          D4
B          D3
CLK          A3
SCLK      D2
R_DATA    A5

Particle SPI CS pin A2 is set to HIGH and assumed to be used by another SPI device. This pin MUST read as HIGH for DMD to function correctly.

DMD library

Marc Alexander, Freetronics Email: info (at) URL:

A library for driving the Freetronics 512 pixel dot matrix LED display "DMD", a 32 x 16 layout.


  • High speed display connection straight to SPI port and pins.
  • A full 5 x 7 pixel font set and character routines for display.
  • A numerical and symbol 6 x 16 font set with a colon especially for clocks and other fun large displays.
  • Special graphics modes: Normal, Inverse, Toggle, OR and NOR!
  • Clear screen with all pixels off or on.
  • Point to point line drawing.
  • Circle drawing.
  • Box (rectangle) drawing, border and filled versions.
  • Test pattern generation.

For the DMD panel see:


  • Place the DMD library folder into the "arduino/libraries/" folder of your Arduino installation.
  • Get the TimerOne library from here: or download the local copy from the DMD library page (which may be older but was used for this creation) and place the TimerOne library folder into the "arduino/libraries/" folder of your Arduino installation.
  • Restart the IDE.
  • In the Arduino IDE, you can open File > Examples > DMD > dmd_demo, or dmd_clock_readout, and get it running straight away!

  • The DMD comes with a pre-made data cable and DMDCON connector board so you can plug-and-play straight into any regular size Arduino Board (Uno, Freetronics Eleven, EtherTen, USBDroid, etc)

  • Please note that the Mega boards have SPI on different pins, so this library does not currently support the DMDCON connector board for direct connection to Mega's, please jumper the DMDCON pins to the matching SPI pins on the other header on the Mega boards.


Browse Library Files