MAX7219 DOT MATRIX 8 x 8 Pixels

Post here to discuss any new features, components, chips, etc, that you would like to see in Flowcode.
Sergejs
Posts: 143
http://meble-kuchenne.info.pl
Joined: Tue Oct 19, 2021 9:31 am
Has thanked: 73 times
Been thanked: 5 times

MAX7219 DOT MATRIX 8 x 8 Pixels

Post by Sergejs »

Hello,

Can it be possible to make library for MAX7219 driver for dot matrix 8 x 8 pixels for 4 digits in one line? How approximally it can be cost?

I am interesting in it very much. I have this dot matrix and I want to do "2022" scroll line on it for New Year and I want put this on my window. Let other people see because no one have this.

I hope you understand. I am a little in english, so sorry for any mistakes.

mnfisher
Valued Contributor
Posts: 953
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 104 times
Been thanked: 507 times

Re: MAX7219 DOT MATRIX 8 x 8 Pixels

Post by mnfisher »

See https://www.matrixtsl.com/mmforums/view ... 9&start=25

Download the component from the end of the message chain - and see if you can get things working. If any problems - ask here....

Martin

jgu1
Posts: 609
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 505 times
Been thanked: 132 times

Re: MAX7219 DOT MATRIX 8 x 8 Pixels

Post by jgu1 »

Hi Sergejs!

Our good friend Martin create a component for me (and other) here: https://www.matrixtsl.com/mmforums/view ... 219#p90355 and it working perfect, can do many funny thing :D .
It was created for FC8 but I suppose this also work in FC9. A good idea, read the whole thread. You have to install the component macro :D
I think I have some examble somewhere on my PC, I will have a look and I will share if you want.

Edit: Well Martin we answer at same time :lol:

Br Jorgen

mnfisher
Valued Contributor
Posts: 953
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 104 times
Been thanked: 507 times

Re: MAX7219 DOT MATRIX 8 x 8 Pixels

Post by mnfisher »

:lol:

Sergejs
Posts: 143
Joined: Tue Oct 19, 2021 9:31 am
Has thanked: 73 times
Been thanked: 5 times

Re: MAX7219 DOT MATRIX 8 x 8 Pixels

Post by Sergejs »

Sorry, but I can not find and download library for max7219 in that forum. I get file but it can not be run because no library for max7219.

4 dot matrix one by other and I need run it with scroll digits.

Can you please help me with it?

May be we can use Team Viever and someone can show me how it makes? Or is there anywhere file with component library?

jgu1
Posts: 609
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 505 times
Been thanked: 132 times

Re: MAX7219 DOT MATRIX 8 x 8 Pixels

Post by jgu1 »

Hi Sergejs!


@Martin help me if I am wrong :lol:
The att. component, Fcpx place it in a lib. Maybe you have a Lib for all your projects. Name the lib. Max7219 and place the file in there.

Then you open FC9 find wiev > Global settings > Locations. In location you find "look for components in" On rigth side you find a tab, click on this, find
the lib where you place the Max7219 component. Restart FC9 and make a new project, in component lib. use search for max7219 and add it to the panel, then you are on the run. :D

I have still not test in FC9.

Lot of step, but not so tricky. When you have to play and test,you have to play with all the macro to get experience with the component. 'thank´s to Martin, it can do lot of funny thing. ;)
One of my project https://www.youtube.com/watch?v=83j3dUt ... enGundorph

Br Jorgen
Attachments
testScrolVirker.fcfx
(8.11 KiB) Downloaded 105 times
max7219 multi 2.fcfx
(65.2 KiB) Downloaded 107 times
Max7219_v2.fcpx
(8.31 KiB) Downloaded 119 times

mnfisher
Valued Contributor
Posts: 953
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 104 times
Been thanked: 507 times

Re: MAX7219 DOT MATRIX 8 x 8 Pixels

Post by mnfisher »

Jorgen beat me to it this time !

I got a 'Hello World' running too - it seems to work in v9..

A couple of points I would add...

The wiring is quite critical - a lot of very thin jumper wires won't work reliably (or at all) - I plugged the display directly into an Arduino - and used a data pin set high as Vcc and one low as Gnd

After calling InitialiseLED - the display is Initialised but 'off' - so you need to call ShutDown(false) before anything will be displayed. (No - I don't know why I did it like this...)

Set the brightness fairly low - particularly if powering off an MCU pin.

As far as I remember it will support up to 16 8x8 displays. (Somewhere on the Matrix forum there is a 'snake' and game of life I did on a 4 x 4 (so 32 x 32 LEDs) display)

Jorgen ably demonstrated all this...

You 'might' need to do Output(pin10, 1) on an Arduino to get SPI working correctly.

Martin

Sergejs
Posts: 143
Joined: Tue Oct 19, 2021 9:31 am
Has thanked: 73 times
Been thanked: 5 times

Re: MAX7219 DOT MATRIX 8 x 8 Pixels

Post by Sergejs »

Now I have problem how to program MCU after *.hex compiled...

mnfisher
Valued Contributor
Posts: 953
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 104 times
Been thanked: 507 times

Re: MAX7219 DOT MATRIX 8 x 8 Pixels

Post by mnfisher »

Which MCU are you using?

Martin

Sergejs
Posts: 143
Joined: Tue Oct 19, 2021 9:31 am
Has thanked: 73 times
Been thanked: 5 times

Re: MAX7219 DOT MATRIX 8 x 8 Pixels

Post by Sergejs »

I use now Arduino Nano. There is Atmega328P Old Bootloader MCU.

Post Reply