Controlling the Duinotech 16x16 LED Module XC-4607

Hi all. Do you own the Duinotech 16x16 LED module, XC-4607? It may also be sold under different names or branded different. Have you tried to download a library to control it? The only library that seems to be available, “LedMatrixObject.h” seems to be flawed, it doesnt light the display evenly or very bright, and it slows the Arduino down to a crawl. It also doesnt make use of the Arduino’s timer interrupts, so you have to refresh the display in your sketch. Well, I have attached some code that you should be able to download straight into your Arduino IDE, it’s in plain text form, that will allow you to easily control the display. It isnt library based, and doesnt use the LedMatrixObject.h library. The only library it requires is the Timer1 Library, which most updated versions of the IDE should already have.Simply load it into your IDE, and insert your own code after the loop() { - in between the two rows of asterixes.
Commands included allow you to Invert the image, scroll the image, rotate the image, draw lines down and across the display, Flip the state of a pixel, and check the current state of a pixel. And, it runs the display brighter and more evenly than the existing library, plus your loop() code will run faster. Enjoy! :slight_smile:

16x16Module.txt (12.7 KB)

Hi,

Hi all.
Do you own the Duinotech 16x16 LED module, XC-4607?
It may also be sold under different names or branded different.
Have you tried to download a library to control it?
The only library that seems to be available, "LedMatrixObject.h" seems to be flawed, it doesnt light the display evenly or very bright, and it slows the Arduino down to a crawl.
It also doesnt make use of the Arduino's timer interrupts, so you have to refresh the display in your sketch.

Well, I have attached some code that you should be able to download straight into your Arduino IDE, it's in plain text form, that will allow you to easily control the display.
It isnt library based, and doesnt use the LedMatrixObject.h library.
The only library it requires is the Timer1 Library, which most updated versions of the IDE should already have.

Simply load it into your IDE, and insert your own code after the loop() { - in between the two rows of asterixes.

Commands included allow you to
Invert the image,
scroll the image,
rotate the image,
draw lines down and across the display,
Flip the state of a pixel,
and check the current state of a pixel.

And, it runs the display brighter and more evenly than the existing library, plus your loop() code will run faster. Enjoy! :)

Sorry, but if you went back and read your original post it would have most of us lost after the second line.
You need to post a link to this Duinotech Module.

Tom... :slight_smile:

Sorry Tom, Im new to the forum thing. I dont know how to post a link, if it's any help, its the 16x16 module Jaycar are selling; copy and paste this http address into your browser. "Arduino Compatible 16x16 LED Dot Matrix Module | Jaycar Electronics New Zealand"

Sorry about the old thread, but I have the XC-4607 16x16 LED matrix and am going to get it fired up. This sketch/library download will bea BIG HELP.

Thanks Brizee.

If there is a newer thread on this LED matrix, or ideas/projects that would be great too...

And if you have one of these modules, then I too am sorry, because they are kinda obsolete - I noticed my local Jaycar selling them off slightly cheaper last week.

Nowadays, you use the stackable MAX7219 modules, quite cheap from eBay.

Four of them gives you a 16 by 16, but you can easily stack more.

You can then forget about multiplexing and uniform, bright illumination of the display. You use the "Parola" library which is now in the IDE to control them.