Page 1 of 5

Martin Fisher great component Max7219_v2 a question Solved.

Posted: Sun Jan 02, 2022 10:21 pm
by Amtor
Hello
I've been using this max 7219 component and it been fantastic, but I was hoping to use it with the LolinD32 board but I think there is an
unexposed setting that I can't get to , it might be the unused MISO connection. There is no port D on the Lolin board so an error is appearing.
Is there any way around it.
Thanks very much.

Max7219_v2.fcpx
(8.39 KiB) Downloaded 444 times
error 2nd Jan 22.JPG
error 2nd Jan 22.JPG (19 KiB) Viewed 8774 times
error 2nd Jan 22 -2.JPG
error 2nd Jan 22 -2.JPG (31.95 KiB) Viewed 8774 times

Re: Martin Fisher great component Max7219_v2 a question

Posted: Mon Jan 03, 2022 2:32 pm
by mnfisher
Try this - exported with MISO visible..

Would be interesting to know if it works on ESP32
Max7219_v9.fcpx
(8.81 KiB) Downloaded 546 times

Re: Martin Fisher great component Max7219_v2 a question

Posted: Mon Jan 03, 2022 2:43 pm
by Amtor
Thanks very much, I will try it now.

Re: Martin Fisher great component Max7219_v2 a question

Posted: Mon Jan 03, 2022 7:26 pm
by Amtor
Yes it works fine, the only difference I can see is that version 2 running on the PIC18F4620
would scroll across 16 segments of LEDs, but if you select anything over 8 with the Lolin board nothing appears,
with 8 selected and 16 connected it just shows everything twice. Everything else seems to work just as well.
Is it some limitation of the Lolin board that stops it working above 8 segments I wonder.
It will do for me anyway.
Thanks very much for the component.
All the best.
8 segments
8 segments
8 segments selected-.jpg (117.17 KiB) Viewed 8720 times
16 segments
16 segments
16 selected.jpg (118.1 KiB) Viewed 8720 times
The board
The board
board.jpg (168.93 KiB) Viewed 8720 times

Re: Martin Fisher great component Max7219_v2 a question

Posted: Mon Jan 03, 2022 8:53 pm
by mnfisher
Very strange - could you open a serial comms program running at 115200 on whatever comms port the board is attached too - and see if it kicks out any debug info..

And check you've selected the correct number of displays....

Re: Martin Fisher great component Max7219_v2 a question

Posted: Mon Jan 03, 2022 9:11 pm
by mnfisher
Ah - I see why - It actually was set for a max of 8 displays..

Try this - upped to 16. I've tested with 12 on a wroom board with SPI at 10MHz
Max7219_v9.fcpx
(8.89 KiB) Downloaded 482 times

Re: Martin Fisher great component Max7219_v2 a question solved thanks

Posted: Mon Jan 03, 2022 10:17 pm
by Amtor
Hello,
It's working perfectly, scrolling across 16 segments without a hitch.
I don't know what to say, except thank you very much, I can only admire your expertise.
I think I'll use it with the BBC news component, it will work a treat.

Thanks again

Mark

Re: Martin Fisher great component Max7219_v2 a question

Posted: Mon Jan 03, 2022 10:22 pm
by mnfisher
Thanks - glad it's working :-)

Re: Martin Fisher great component Max7219_v2 a question Solved.

Posted: Thu Feb 13, 2025 11:27 am
by Viktor74
Hello! Is this macro on MAX7219 suitable for Flowcode10 ?

Re: Martin Fisher great component Max7219_v2 a question Solved.

Posted: Thu Feb 13, 2025 11:45 am
by mnfisher
Yes - if you get any issues I can try and help...

Martin