web2rgbmatrix

Showcase builds, discuss cases, embedding MiSTer into existing computer cases.
Sliff2000
Posts: 28
Joined: Mon Nov 15, 2021 4:18 am
Has thanked: 6 times
Been thanked: 6 times

Re: web2rgbmatrix

Unread post by Sliff2000 »

Wow.. changed the baud to 230400 and it worked!

And yes,,that was the message that I got in my browser.

Sliff2000
Posts: 28
Joined: Mon Nov 15, 2021 4:18 am
Has thanked: 6 times
Been thanked: 6 times

Re: web2rgbmatrix

Unread post by Sliff2000 »

So it works with 3 panels (obviously) but everything is left justified. Is there anyway to easily center it?

Here is the code change:

Screen Shot 2022-12-21 at 11.41.36 AM.png

Here is Galaga:

PXL_20221221_164054334.jpg

Here is all 3 working:

PXL_20221221_164104759.jpg
You do not have the required permissions to view the files attached to this post.
kconger
Posts: 100
Joined: Sun Sep 12, 2021 2:58 am
Has thanked: 135 times
Been thanked: 91 times

Re: web2rgbmatrix

Unread post by kconger »

Sliff2000 wrote: Wed Dec 21, 2022 4:52 pm

So it works with 3 panels (obviously) but everything is left justified. Is there anyway to easily center it?

Excellent I wrote the code to work with > 2 panels but couldn't actually test. I must have forgotten to deal with the centering of the GIF, I'll take a look. https://github.com/kconger/MiSTer_web2r ... /issues/10

Let me know if you notice any other problems with 3 panels, preferably as a GitHub issue :D

Sliff2000
Posts: 28
Joined: Mon Nov 15, 2021 4:18 am
Has thanked: 6 times
Been thanked: 6 times

Re: web2rgbmatrix

Unread post by Sliff2000 »

It seems I can't upload gifs or the ota. The gifs said no sdcard and the ota didn't work either. Is it possible I have a bad solder? It reads OK - just seems like it can't write. Could it be the CS connection? ((Looks a little weak -- will re-solder when I get home)).

Promise I won't blow this thread up, but I simply made a new galaga 192x32 from the 128x32 and it didn't come out half bad.
gifsicle --resize 192x32 --resize-method sample galaga.gif > galagaGIFSICLE.gif

PXL_20221221_174638098.jpg

I

You do not have the required permissions to view the files attached to this post.
kconger
Posts: 100
Joined: Sun Sep 12, 2021 2:58 am
Has thanked: 135 times
Been thanked: 91 times

Re: web2rgbmatrix

Unread post by kconger »

I've released a new version that centers the GIF marquee if it's smaller than the display width.

User avatar
PistolsAtDawn
Posts: 359
Joined: Fri Feb 18, 2022 7:29 pm
Has thanked: 307 times
Been thanked: 100 times

Re: web2rgbmatrix

Unread post by PistolsAtDawn »

I just updated, and it looks like the brightness setting is getting reset to maximum on reboot (even after saving the settings again). If I just save but don't reboot, the brightness setting is applied immediately but changes again when a gif is loaded.

Thanks for all the updates you've released on this. I really love my sign!

kconger
Posts: 100
Joined: Sun Sep 12, 2021 2:58 am
Has thanked: 135 times
Been thanked: 91 times

Re: web2rgbmatrix

Unread post by kconger »

PistolsAtDawn wrote: Sat Dec 24, 2022 12:29 am

I just updated, and it looks like the brightness setting is getting reset to maximum on reboot (even after saving the settings again). If I just save but don't reboot, the brightness setting is applied immediately but changes again when a gif is loaded.

Thanks for all the updates you've released on this. I really love my sign!

I can confirm I see the same thing here. I'll take a look.

kconger
Posts: 100
Joined: Sun Sep 12, 2021 2:58 am
Has thanked: 135 times
Been thanked: 91 times

Re: web2rgbmatrix

Unread post by kconger »

kconger wrote: Sat Dec 24, 2022 5:13 pm
PistolsAtDawn wrote: Sat Dec 24, 2022 12:29 am

I just updated, and it looks like the brightness setting is getting reset to maximum on reboot (even after saving the settings again). If I just save but don't reboot, the brightness setting is applied immediately but changes again when a gif is loaded.

Thanks for all the updates you've released on this. I really love my sign!

I can confirm I see the same thing here. I'll take a look.

I just released a new version that fixes brightness. Thanks for the report.

lemon8
Posts: 3
Joined: Sun Feb 19, 2023 12:16 pm
Been thanked: 2 times

Re: web2rgbmatrix

Unread post by lemon8 »

If anyone like me has issue's with not displaying the animated gifs, maybe you sd card is not formated correctly. I have fixed the issue yesterday by plugin the SD Card into a reader and into the Mister and formating the card using linux of Mister.

How can I submit new/better gifs to the repo ? I didn't like the static one for Bubble Bobble, so i created a new one.

bublbobl.gif
You do not have the required permissions to view the files attached to this post.
kconger
Posts: 100
Joined: Sun Sep 12, 2021 2:58 am
Has thanked: 135 times
Been thanked: 91 times

Re: web2rgbmatrix

Unread post by kconger »

lemon8 wrote: Sun Feb 19, 2023 12:20 pm

If anyone like me has issue's with not displaying the animated gifs, maybe you sd card is not formated correctly. I have fixed the issue yesterday by plugin the SD Card into a reader and into the Mister and formating the card using linux of Mister.

How can I submit new/better gifs to the repo ? I didn't like the static one for Bubble Bobble, so i created a new one.

bublbobl.gif

Thanks for contributing. You can submit via a PR or issue at the official repo, https://github.com/h3llb3nt/marquee_gifs

If you aren't familiar with GitHub I can add it for you.

User avatar
neogeo81
Top Contributor
Posts: 446
Joined: Fri Apr 16, 2021 1:52 pm
Has thanked: 34 times
Been thanked: 47 times

Re: web2rgbmatrix

Unread post by neogeo81 »

Anyone willing to do me one plug and play without the wood frame? Just the electronics and programming?

User avatar
neogeo81
Top Contributor
Posts: 446
Joined: Fri Apr 16, 2021 1:52 pm
Has thanked: 34 times
Been thanked: 47 times

Re: web2rgbmatrix

Unread post by neogeo81 »

venice wrote: Fri Sep 16, 2022 12:25 pm

...my Housing.

The size is about 40x10cm.
The back is (actually) made of cardboard and and holds magnetically. The magnets are part of the display accessories.

image0.jpeg
image2.jpeg
image1.jpeg
image4.jpeg

Hi. So i went on ordering the same as you. Could you send me more detailed images and maybe explaing how the wiring is done? Thanks a lot.

User avatar
venice
Top Contributor
Posts: 788
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 278 times
Been thanked: 278 times

Re: web2rgbmatrix

Unread post by venice »

Let me see what i can do for you.

//Edit
Do the pictures help?
The wiring of the display is straight forward.
Insert the Trinity Board in the right Slot of the right Panel (seen from the front) and bridge both panels together with the included ribbon cable.
Add Power (your part) to the Trinity Board and from the Trinity Board's green connector to both panels using the included power cables.

The SD Card-Reader must be connected accordingly to the software.

See https://github.com/kconger/MiSTer_web2r ... ix.ino#L96

Here is the part from the program you need for the SD Card Reader.

Code: Select all

// SD Card reader pins
#define SD_SCLK 33
#define SD_MISO 32
#define SD_MOSI 21
#define SD_SS 22
// Matrix Alt Config Pin - Connect to ground to swap Blue/Green
#define ALT 2

Add 3.3v and GND to the SD Cardreader as well.

Pin (2) on the Trinity is for swapping Blue and Green if you connect this Pin to GND.

Trinity.jpg
IMG_9009.JPG
IMG_9010.JPG
IMG_9012.JPG
IMG_9013.JPG
IMG_9014.JPG
You do not have the required permissions to view the files attached to this post.

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard (Cardwarez) to me.

User avatar
neogeo81
Top Contributor
Posts: 446
Joined: Fri Apr 16, 2021 1:52 pm
Has thanked: 34 times
Been thanked: 47 times

Re: web2rgbmatrix

Unread post by neogeo81 »

venice wrote: Sat Mar 25, 2023 12:27 pm

Hi
Yes, this helps. Thanks a lot.
Just about the swapping of red and blue. I saw earlier in here that you can also switch in software. Why did you use the ground pin for that?

User avatar
venice
Top Contributor
Posts: 788
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 278 times
Been thanked: 278 times

Re: web2rgbmatrix

Unread post by venice »

The software reads the Pin state and swaps the colors automatically if needed.
No need to touch the software.
And you can use the update functionality which you can‘t if you change the code manually.

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard (Cardwarez) to me.

User avatar
neogeo81
Top Contributor
Posts: 446
Joined: Fri Apr 16, 2021 1:52 pm
Has thanked: 34 times
Been thanked: 47 times

Re: web2rgbmatrix

Unread post by neogeo81 »

venice wrote: Tue Mar 28, 2023 1:10 pm

The software reads the Pin state and swaps the colors automatically if needed.
No need to touch the software.
And you can use the update functionality which you can‘t if you change the code manually.

Thanks a lot for your help. As soon as i have received everything and build it i will reply if i was successful or need further help :D

mickymonaco
Posts: 13
Joined: Mon Mar 27, 2023 3:10 pm
Has thanked: 2 times

Re: web2rgbmatrix

Unread post by mickymonaco »

Hi all,
I have a serious problems to follow all these configurations.
I found confused the thread with many configurations and I cannot swap between multiple pages and links.
There is someone that can help me?

I have purchase 2 led panels, 1 trinity board and a module sd, after I have flashed with Arduino, but with some errors, also the wiring is not cleary by photos...

Thanks so much

Missus
Posts: 183
Joined: Fri Jan 27, 2023 12:45 am
Has thanked: 48 times
Been thanked: 43 times

Re: web2rgbmatrix

Unread post by Missus »

mickymonaco wrote: Wed Apr 05, 2023 7:09 pm

Hi all,
I have a serious problems to follow all these configurations.
I found confused the thread with many configurations and I cannot swap between multiple pages and links.
There is someone that can help me?

I have purchase 2 led panels, 1 trinity board and a module sd, after I have flashed with Arduino, but with some errors, also the wiring is not cleary by photos...

Thanks so much

Admittedly, this is a bit confusing because of how many ways you can interface with these matrix displays!

You need to provide some additional detail like what youre using, how its wired, and what errors you saw when flashing the code. It may just be a missing library or syntax error.

kconger
Posts: 100
Joined: Sun Sep 12, 2021 2:58 am
Has thanked: 135 times
Been thanked: 91 times

Re: web2rgbmatrix

Unread post by kconger »

I have documentation and photos in the GitHub repo: https://github.com/kconger/MiSTer_web2rgbmatrix

Please let me know if anything isn't clear and I will try to update them to account for it.

mickymonaco
Posts: 13
Joined: Mon Mar 27, 2023 3:10 pm
Has thanked: 2 times

Re: web2rgbmatrix

Unread post by mickymonaco »

Ok thanks for your reply, tomorrow I will give you all informations required and I hope to solve.
Many thanks for now :)

mickymonaco
Posts: 13
Joined: Mon Mar 27, 2023 3:10 pm
Has thanked: 2 times

Re: web2rgbmatrix

Unread post by mickymonaco »

Hi all,
sorry for the late, I share with you all my informations and configurations about project.
Initially, I flashed the Board Trinity with the Arduino software by inserting the web2rgbmatrix.ino sketch. I selected the correct port COM and the Board Adafruit Esp32 feather. When I fill in the sketch I get the following errors, even if the panels then work because I can access at the AP and I can choose the settings. The SD is not mounted and display say "sd mount failed" (I already formatted in FAT and copied folders static and animated, no more, I don't know if needed other files)

Thanks to those who will be able to help me, I attach photos to make you understand even wiring and errors that I get.

If you need other test or data to know the problems no hesitate to ask me.

You do not have the required permissions to view the files attached to this post.
kconger
Posts: 100
Joined: Sun Sep 12, 2021 2:58 am
Has thanked: 135 times
Been thanked: 91 times

Re: web2rgbmatrix

Unread post by kconger »

Those are just warnings and can be ignored. My guess is that it's your SD card wiring.

mickymonaco
Posts: 13
Joined: Mon Mar 27, 2023 3:10 pm
Has thanked: 2 times

Re: web2rgbmatrix

Unread post by mickymonaco »

Do you know how I can do correct wiring and which type of files I will put? Only static and animated folders are enough? Thanks

kconger
Posts: 100
Joined: Sun Sep 12, 2021 2:58 am
Has thanked: 135 times
Been thanked: 91 times

Re: web2rgbmatrix

Unread post by kconger »

Hard to tell as you used a different module than I did. In the pictures, it looks like you're sourcing power for somewhere besides the 3V3 pin, also your SD card module looks to have a regulator on it. Are you sourcing and supplying the correct voltage for your SD card module?

mickymonaco
Posts: 13
Joined: Mon Mar 27, 2023 3:10 pm
Has thanked: 2 times

Re: web2rgbmatrix

Unread post by mickymonaco »

I connected as below, but I don't know if it's right

CS to pin 33 on the trinity
SCK to SCL on the trinity
MOSI to pin 32 on the trinity
MISO to SDA on the trinity
VCC to 3v3 on the trinity
GND to GND

mickymonaco
Posts: 13
Joined: Mon Mar 27, 2023 3:10 pm
Has thanked: 2 times

Re: web2rgbmatrix

Unread post by mickymonaco »

I don't know why in sketch there are only 4 define.. while I have a different pins named CS,SCK,MOSI,MISO,VCC,GND

// SD Card reader pins
#define SD_SCLK 33
#define SD_MISO 32
#define SD_MOSI 21
#define SD_SS 22

mickymonaco
Posts: 13
Joined: Mon Mar 27, 2023 3:10 pm
Has thanked: 2 times

Re: web2rgbmatrix

Unread post by mickymonaco »

Finally I can see the size of memory!
Card reader needed 5v and not 3.3v, now I get the follow error when I run update_web2rgbmatrix.sh

You do not have the required permissions to view the files attached to this post.
mickymonaco
Posts: 13
Joined: Mon Mar 27, 2023 3:10 pm
Has thanked: 2 times

Re: web2rgbmatrix

Unread post by mickymonaco »

Et voila'! Done..

You do not have the required permissions to view the files attached to this post.
kconger
Posts: 100
Joined: Sun Sep 12, 2021 2:58 am
Has thanked: 135 times
Been thanked: 91 times

Re: web2rgbmatrix

Unread post by kconger »

mickymonaco wrote: Fri Apr 07, 2023 10:49 am

Finally I can see the size of memory!
Card reader needed 5v and not 3.3v

Thanks, I'll clarify that the module in the docs is 3V.

User avatar
neogeo81
Top Contributor
Posts: 446
Joined: Fri Apr 16, 2021 1:52 pm
Has thanked: 34 times
Been thanked: 47 times

Re: web2rgbmatrix

Unread post by neogeo81 »

venice wrote: Tue Mar 28, 2023 1:10 pm

The software reads the Pin state and swaps the colors automatically if needed.
No need to touch the software.
And you can use the update functionality which you can‘t if you change the code manually.

Hey another question.
Where did you get that barrel to red and white wire adapter? Can i also use the barrel port on the esp to power it? Can i also use the usb c port to power it?
Did you soder the sd card cables to the esp board?

Post Reply