help with code to control 32x64 matrix with mega 2560

General project discussion / help
Did you make a robotic coffee pot which implements HTCPCP and decafs unauthorized users? Show it off here!

Moderator: phalanx

Post Reply
gkasinec
Posts: 1
Joined: Mon Jun 11, 2018 9:56 am

help with code to control 32x64 matrix with mega 2560

Post by gkasinec » Mon Jun 11, 2018 10:09 am

I have a personal project that I need much help with regarding the code necessary to control the LED matrix.

I am hoping to learn the code to create some simple displays.
To have random flowing color changes from top to bottom and also left to right and opposite directions.

I have no knowledge of writing code and I cannot find any suitable examples online.
Most things I find are for 8x8 or 16x32 and a couple for 32x32 but they do not function.

Also I would like to create and display small graphics or icons.
I do not know what lines of code control any function like color, speed, loop etc.

I have an Arduino Mega 2560 and also a Beagle Bone Black A5A development board.
I cannot figure out the pin out for the BBB so I went to the Arduino.


Any help is appreciated.

The LED matrix is a 32x64 P2.5 SMD2121 160x80 1/16S
Item

P2.5

Chip

Epstar

Chip size

Red 9 mil, Green 12. Blue 12mil

Light type

SMD

Pixel Pitch

2.5mm

Module Size

160mmX80mm

Module Resolution

64 X 32 (dots)

Density of pixel

160000dots/m2

Pixel configuration

1R1G1B

Red wavelength

625±2nm

Green wavelength

525±2nm

Blue wavelength

470±2nm

Colors

16777216

Best viewing distance

≥2m

viewing angle

120°/90°

Maximum power consumption

17W

Brightness

2000cd/m2

Gray scale

14bits per color

Color temperature

6500k

Control method

Synchronization or Asynchronization

Driving method

1/16 scanning

Frame frequency

60Hz

Refresh frequency

≥600Hz

Working Voltage

DC5V

IP grade

IP54

MTBF

More than 8000hours

Life Span

80,000hours

jremington
Support Volunteer
Posts: 2299
Joined: Fri Jun 15, 2007 9:41 pm
Location: Eugene, Or

Re: help with code to control 32x64 matrix with mega 2560

Post by jremington » Tue Jun 12, 2018 4:01 pm

I have no knowledge of writing code and I cannot find any suitable examples online.
Then please be aware that this is a ridiculous choice for a first project -- trying to run before you can even crawl.

Expect endless frustration if you don't start small: learn the programming language, learn to blink an LED without using delay(), read a button, a voltage or a sensor and communicate with the outside world.

lyndon
Support Volunteer
Posts: 1627
Joined: Thu Jul 17, 2008 6:37 pm
Location: Minnesota, USA

Re: help with code to control 32x64 matrix with mega 2560

Post by lyndon » Tue Jun 12, 2018 5:53 pm

I'll give you $20 for your Beaglbone (seriously!).

Post Reply