Martin Fisher great component Max7219_v2 a question Solved.

For general Flowcode discussion that does not belong in the other sections.
Post Reply
Amtor
Posts: 47
http://meble-kuchenne.info.pl
Joined: Thu Dec 17, 2020 4:35 pm
Has thanked: 17 times
Been thanked: 14 times

Martin Fisher great component Max7219_v2 a question Solved.

Post 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 91 times
error 2nd Jan 22.JPG
error 2nd Jan 22.JPG (19 KiB) Viewed 2630 times
error 2nd Jan 22 -2.JPG
error 2nd Jan 22 -2.JPG (31.95 KiB) Viewed 2630 times
Last edited by Amtor on Tue Jan 04, 2022 7:46 am, edited 1 time in total.

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

Re: Martin Fisher great component Max7219_v2 a question

Post 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 98 times

Amtor
Posts: 47
Joined: Thu Dec 17, 2020 4:35 pm
Has thanked: 17 times
Been thanked: 14 times

Re: Martin Fisher great component Max7219_v2 a question

Post by Amtor »

Thanks very much, I will try it now.

Amtor
Posts: 47
Joined: Thu Dec 17, 2020 4:35 pm
Has thanked: 17 times
Been thanked: 14 times

Re: Martin Fisher great component Max7219_v2 a question

Post 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 2576 times
16 segments
16 segments
16 selected.jpg (118.1 KiB) Viewed 2576 times
The board
The board
board.jpg (168.93 KiB) Viewed 2576 times

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

Re: Martin Fisher great component Max7219_v2 a question

Post 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....

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

Re: Martin Fisher great component Max7219_v2 a question

Post 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 95 times

Amtor
Posts: 47
Joined: Thu Dec 17, 2020 4:35 pm
Has thanked: 17 times
Been thanked: 14 times

Re: Martin Fisher great component Max7219_v2 a question solved thanks

Post 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

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

Re: Martin Fisher great component Max7219_v2 a question

Post by mnfisher »

Thanks - glad it's working :-)

Post Reply