MAX7219 32x32 LED Display

Post and discuss new components that you have created.
kaqkk007
Posts: 81
http://meble-kuchenne.info.pl
Joined: Sat Feb 04, 2023 1:09 pm
Has thanked: 4 times
Been thanked: 4 times

Re: MAX7219 32x32 LED Display

Post by kaqkk007 »

Thank you, I'll take a look

kaqkk007
Posts: 81
Joined: Sat Feb 04, 2023 1:09 pm
Has thanked: 4 times
Been thanked: 4 times

Re: MAX7219 32x32 LED Display

Post by kaqkk007 »

With a few minor tweaks, it'll turn out just the way I imagined. Thanks so much for all your help!

mnfisher
Valued Contributor
Posts: 2044
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 161 times
Been thanked: 950 times

Re: MAX7219 32x32 LED Display

Post by mnfisher »

That's good news... Please let us know how it goes or if you have any other questions....

Martin

kaqkk007
Posts: 81
Joined: Sat Feb 04, 2023 1:09 pm
Has thanked: 4 times
Been thanked: 4 times

Re: MAX7219 32x32 LED Display

Post by kaqkk007 »

That's all he knows so far
Attachments
f28375e3-fc6e-423f-bdfe-45da9d72f69a.jpg
f28375e3-fc6e-423f-bdfe-45da9d72f69a.jpg (44.73 KiB) Viewed 446 times

mnfisher
Valued Contributor
Posts: 2044
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 161 times
Been thanked: 950 times

Re: MAX7219 32x32 LED Display

Post by mnfisher »

Looks good 👍

kaqkk007
Posts: 81
Joined: Sat Feb 04, 2023 1:09 pm
Has thanked: 4 times
Been thanked: 4 times

Re: MAX7219 32x32 LED Display

Post by kaqkk007 »

https://youtu.be/OYZQdaD63k8 Here's how the test version works

mnfisher
Valued Contributor
Posts: 2044
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 161 times
Been thanked: 950 times

Re: MAX7219 32x32 LED Display

Post by mnfisher »

Cool.

Take a look at the max7219 component (link above) for some fancy 'reveals' too....

Martin

kaqkk007
Posts: 81
Joined: Sat Feb 04, 2023 1:09 pm
Has thanked: 4 times
Been thanked: 4 times

Re: MAX7219 32x32 LED Display

Post by kaqkk007 »

Is it possible that the display is interfering with the RTC's operation? I'm using the display on Channel 1 and the DS3231 on pins RB0 and RB1. It reads and displays the values, but I can't configure the RTC.
Attachments
max7219_4DIG.7.fcfx
(32.95 KiB) Downloaded 15 times

mnfisher
Valued Contributor
Posts: 2044
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 161 times
Been thanked: 950 times

Re: MAX7219 32x32 LED Display

Post by mnfisher »

I think the issue is that you are calling RTC nearly 20,000 timer per second.

I would try and move the RTC setting to outside of the interrupt handler (possibly set a flag in the interrupt handler 'set_clock') and test this in main - or set an interrupt on the button presses and test for this in main)

I'd also reduce the 'update' rate of the display (once per second should be sufficient?)

Martin

kaqkk007
Posts: 81
Joined: Sat Feb 04, 2023 1:09 pm
Has thanked: 4 times
Been thanked: 4 times

Re: MAX7219 32x32 LED Display

Post by kaqkk007 »

It works in other classes whether I call it from an interrupt or run it from the main program, so I don't understand why it doesn't work here (just the setup); reading the value works perfectly.The refresh rate is set to once per minute, and that's when I set the value
Attachments
max7219_4DIG.8.fcfx
(28.63 KiB) Downloaded 15 times

Post Reply