Page 1 of 5

web2rgbmatrix

Posted: Mon Sep 05, 2022 3:34 am
by kconger
After seeing @hellbent's awesome tty2rgbmatrix project(viewtopic.php?t=5078) I was inspired to create a wireless RGB matrix marquee for my MiSTer setup.

https://github.com/kconger/MiSTer_web2rgbmatrix

Current features
  • Matrix: Display animated or static GIFs from SD card or by HTTP POST
  • Matrix: Display text by request
  • Matrix: Screen Savers: Blank, Tetris Clock, Plasma, Starfield, and Toasters
  • Web: Display status of Wifi, SD Card, loaded GIF, settings and connected client
  • Web: Settings for Wifi, matrix text color, matrix brightness, screen saver, and client timeout
  • Web: SD Card File Browser with upload support
  • Web: OTA updates
  • Web: HTTP calls for scripting
  • FTP: FTP Server for SD card file management
  • Serial: MiSTer_tty2x service support, requires GIFs installed on rgbmatrix SD Card
  • Serial: Debug output
  • MiSTer FPGA/RetroPie: Linux service that displays an animated and/or static GIF logo of the current running core.
  • MiSTer FPGA/RetroPie: Text fallback for missing GIFs
  • MiSTer FPGA/RetroPie: Store GIFs on system, storing on the requesting system introduces a playback delay due to the transfer
  • MiSTer FPGA/RetroPie: Update Script
Screen Savers in action: https://github.com/kconger/MiSTer_web2r ... nSavers.md

matrix-webui.jpg
matrix-on.jpg
matrix-off.jpg
matrix-rear.jpg
matrix-rear-open.jpg

Re: web2rgbmatrix

Posted: Mon Sep 05, 2022 7:31 am
by neogeo81
Any chance of buying a already setup set?

Re: web2rgbmatrix

Posted: Mon Sep 05, 2022 9:02 am
by AngelicLiver
This is an awesome project, thanks!

I still haven't managed to get this working with the ESP32 I2C Matrix module I used (couldn't get hold of a Trinity board anywhere). Admittedly I haven't taken the time to work out the kinks mind you, I'm guessing the pins are different. 🤷‍♂️

Re: web2rgbmatrix

Posted: Mon Sep 05, 2022 3:59 pm
by kconger
neogeo81 wrote: Mon Sep 05, 2022 7:31 am Any chance of buying a already setup set?
I have no plans to build and sell these, it was just a one-off for myself. :)

Re: web2rgbmatrix

Posted: Mon Sep 05, 2022 4:04 pm
by kconger
AngelicLiver wrote: Mon Sep 05, 2022 9:02 am This is an awesome project, thanks!

I still haven't managed to get this working with the ESP32 I2C Matrix module I used (couldn't get hold of a Trinity board anywhere). Admittedly I haven't taken the time to work out the kinks mind you, I'm guessing the pins are different. 🤷‍♂️
Before I received my Trinity I used an ESP32-S2 to start developing. The pins needed to be defined completely differently, see below. The HUB75 library README has details. https://github.com/mrfaptastic/ESP32-HU ... el-I2S-DMA

Code: Select all

  
  //Pins for an Adafruit Feather ESP32-S2
  mxconfig.gpio.b1 = 39;
  mxconfig.gpio.b2 = 12;
  mxconfig.gpio.g1 = 10;
  mxconfig.gpio.g2 = 13;
  mxconfig.gpio.r1 = 38;
  mxconfig.gpio.r2 = 11;
  mxconfig.gpio.a = 18;
  mxconfig.gpio.b = 17;
  mxconfig.gpio.c = 16;
  mxconfig.gpio.d = 15;
  mxconfig.gpio.clk = 9;
  mxconfig.gpio.lat = 5;
  mxconfig.gpio.oe = 6;
  

Re: web2rgbmatrix

Posted: Mon Sep 05, 2022 4:06 pm
by AngelicLiver
Ooh thanks, I'll have a play around when I next get a chance!

Re: web2rgbmatrix

Posted: Fri Sep 09, 2022 1:08 pm
by RealLarry
Are you planning an updater script for your MiSTer files? I'm asking because I've made a simple all inclusive updater and already included your project for future use. It is named tty2rgb there, but could be renamed to web2rgbmatrix or whatever if your updater would become available...

Re: web2rgbmatrix

Posted: Fri Sep 09, 2022 4:06 pm
by kconger
RealLarry wrote: Fri Sep 09, 2022 1:08 pm Are you planning an updater script for your MiSTer files? I'm asking because I've made a simple all inclusive updater and already included your project for future use. It is named tty2rgb there, but could be renamed to web2rgbmatrix or whatever if your updater would become available...
Thank you for the offer! I do plan on adding one at some point. Since tty2rgb is a different project I think it would be best to call it something like web2rgb. I'll reach out when I have something ready.

Re: web2rgbmatrix

Posted: Sat Sep 10, 2022 6:00 am
by RealLarry
kconger wrote: Fri Sep 09, 2022 4:06 pm
RealLarry wrote: Fri Sep 09, 2022 1:08 pm Are you planning an updater script for your MiSTer files? I'm asking because I've made a simple all inclusive updater and already included your project for future use. It is named tty2rgb there, but could be renamed to web2rgbmatrix or whatever if your updater would become available...
Thank you for the offer! I do plan on adding one at some point. (...) 'll reach out when I have something ready.
You're welcome! Just gimme sign...

Since tty2rgb is a different project I think it would be best to call it something like web2rgb.
Interesting and exciting to see more display technics coming to the family! :)

Re: web2rgbmatrix

Posted: Sat Sep 10, 2022 2:08 pm
by venice
kconger wrote: Mon Sep 05, 2022 3:34 am After seeing @hellbent's awesome tty2rgbmatrix project(viewtopic.php?t=5078) I was inspired to create a wireless RGB matrix marquee for my MiSTer setup. This weekend I finished my project and posted the details on GitHub, I hope others find it helpful.
Congratulations, this is a very cool thing!

How do you bind the displays with the wooden frame?
With adapters and screws from the back side?

Note, we added -qq to our inotifywait‘s for console quietness if we are not running debug mode.

Re: web2rgbmatrix

Posted: Sat Sep 10, 2022 4:03 pm
by kconger
venice wrote: Sat Sep 10, 2022 2:08 pm
kconger wrote: Mon Sep 05, 2022 3:34 am After seeing @hellbent's awesome tty2rgbmatrix project(viewtopic.php?t=5078) I was inspired to create a wireless RGB matrix marquee for my MiSTer setup. This weekend I finished my project and posted the details on GitHub, I hope others find it helpful.
Congratulations, this is a very cool thing!

How do you bind the displays with the wooden frame?
With adapters and screws from the back side?

Note, we added -qq to our inotifywait‘s for console quietness if we are not running debug mode.
The 3D printed brackets are screwed in at an angle into the frame. I can provide the STLs if interested.

Re: web2rgbmatrix

Posted: Sat Sep 10, 2022 5:47 pm
by venice
My Display has 3mm LED's so I think your STL's doesn't fit.

Anyway, it works really great.
IMG_small.jpg

My used Parts:

Re: web2rgbmatrix

Posted: Tue Sep 13, 2022 12:03 pm
by kirabate
Sup man, i can't make this to work, i flash de module, i have an ESP32 Trinity, i did everything but my MISTer just don't detect de module. Im in this Point. Img. 1

When I run the updater I get this screen img2 .

Re: web2rgbmatrix

Posted: Tue Sep 13, 2022 2:58 pm
by kconger
Thanks for testing. Try to run the update script again, hopefully, I've resolved the issue.

Re: web2rgbmatrix

Posted: Thu Sep 15, 2022 9:56 am
by venice
Hi,
as some of hellbent's really great animated gifs doesn't have the Game Logo as last Picture within the gif (because of the gif loop), e.g. MarioBros,
I had the idea to play these animated gifs at first (if there is one availbale) from a different folder on SD, and if the video is over show the static gif.

This is similar to the function of tty2tft which plays available videos before the Logo is shown.

@kconger, what do you think?

Re: web2rgbmatrix

Posted: Thu Sep 15, 2022 6:30 pm
by kconger
venice wrote: Thu Sep 15, 2022 9:56 am Hi,
as some of hellbent's really great animated gifs doesn't have the Game Logo as last Picture within the gif (because of the gif loop), e.g. MarioBros,
I had the idea to play these animated gifs at first (if there is one availbale) from a different folder on SD, and if the video is over show the static gif.

This is similar to the function of tty2tft which plays available videos before the Logo is shown.

@kconger, what do you think?
Sure, seems reasonable.

Re: web2rgbmatrix

Posted: Fri Sep 16, 2022 12:25 pm
by venice
...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

Re: web2rgbmatrix

Posted: Fri Sep 16, 2022 1:19 pm
by kconger
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.
Very nice!

Re: web2rgbmatrix

Posted: Fri Sep 16, 2022 2:01 pm
by venice
Thx.
kconger wrote: Mon Sep 05, 2022 3:34 am After seeing @hellbent's awesome tty2rgbmatrix project(viewtopic.php?t=5078)...
"Awesome" is the right word for these two rgbmatrix projects.
Many many thanks to you and hellbent.

Note, the only thing that doesn't work for me is uploading gifs to SD.

Re: web2rgbmatrix

Posted: Fri Sep 16, 2022 2:52 pm
by kconger
venice wrote: Fri Sep 16, 2022 2:01 pm Thx.
kconger wrote: Mon Sep 05, 2022 3:34 am After seeing @hellbent's awesome tty2rgbmatrix project(viewtopic.php?t=5078)...
"Awesome" is the right word for these two rgbmatrix projects.
Many many thanks to you and hellbent.

Note, the only thing that doesn't work for me is uploading gifs to SD.
Thank you.

For your problem is it through the web UI, FTP, or MiSTer script?

Re: web2rgbmatrix

Posted: Fri Sep 16, 2022 3:16 pm
by venice
Using FTP with WinSCP the transfer was never finished, the Upload Dialog/Counter stays at 100% and doesn’t close.

The WebUi says Upload finished but the Picture was not found for showing it.

Both ways are showing a file on the SD Card but without further details like file size or date’s.

I am using an 8GB SD with Fat32.

Is the MiSTer Script able to upload pics to SD?

Re: web2rgbmatrix

Posted: Fri Sep 16, 2022 3:17 pm
by jca
SD card full?

Re: web2rgbmatrix

Posted: Fri Sep 16, 2022 3:44 pm
by kconger
venice wrote: Fri Sep 16, 2022 3:16 pm Using FTP with WinSCP the transfer was never finished, the Upload Dialog/Counter stays at 100% and doesn’t close.

The WebUi says Upload finished but the Picture was not found for showing it.

Both ways are showing a file on the SD Card but without further details like file size or date’s.

I am using an 8GB SD with Fat32.

Is the MiSTer Script able to upload pics to SD?
Ah yes, that is fixed locally. I'll commit and push that up.

The update script can upload the GIFS to the SD over FTP, it's disabled by default since it's a complete overwrite every time.

Re: web2rgbmatrix

Posted: Fri Sep 16, 2022 10:32 pm
by kconger
venice wrote: Fri Sep 16, 2022 3:16 pm Using FTP with WinSCP the transfer was never finished, the Upload Dialog/Counter stays at 100% and doesn’t close.
For FTP you must set your client to use only 1 connection, this is a limitation of the SimpleFTPServer library.
venice wrote: Fri Sep 16, 2022 3:16 pm The WebUi says Upload finished but the Picture was not found for showing it.
I've released a new version that fixes this issue.

Re: web2rgbmatrix

Posted: Sat Sep 17, 2022 12:43 pm
by venice
Jepp, FTP works fine now. I tried uploading and deleting a file.
Note, the Web Gui still shows v1.0.

I tried my tty2x Daemon (viewtopic.php?p=60138#p60138) with web2rgbmatrix but I only get the Corename shown on the Display.

Re: web2rgbmatrix

Posted: Sat Sep 17, 2022 2:58 pm
by kconger
venice wrote: Sat Sep 17, 2022 12:43 pm Jepp, FTP works fine now. I tried uploading and deleting a file.
Note, the Web Gui still shows v1.0.

I tried my tty2x Daemon (viewtopic.php?p=60138#p60138) with web2rgbmatrix but I only get the Corename shown on the Display.
Thanks for testing the tty client, I can't easily test without disassembling mine.

I released 1.2 which hopefully resolves tty support.

Re: web2rgbmatrix

Posted: Sat Sep 17, 2022 4:08 pm
by venice
kconger wrote: Sat Sep 17, 2022 2:58 pm Thanks for testing the tty client, I can't easily test without disassembling mine.
That was the reason for me to use magnets :mrgreen:
My are similar to these https://www.adafruit.com/product/4631
kconger wrote: Sat Sep 17, 2022 2:58 pm I released 1.2 which hopefully resolves tty support.
Thumbs Up, it works fine.

The Universal tty2x Daemon is now available at Github: https://github.com/venice1200/MiSTer_tty2x

Re: web2rgbmatrix

Posted: Sat Sep 17, 2022 4:54 pm
by kconger
venice wrote: Sat Sep 17, 2022 4:08 pm
kconger wrote: Sat Sep 17, 2022 2:58 pm Thanks for testing the tty client, I can't easily test without disassembling mine.
That was the reason for me to use magnets :mrgreen:
My are similar to these https://www.adafruit.com/product/4631
kconger wrote: Sat Sep 17, 2022 2:58 pm I released 1.2 which hopefully resolves tty support.
Thumbs Up, it works fine.

The Universal tty2x Daemon is now available at Github: https://github.com/venice1200/MiSTer_tty2x
Thanks for confirming, I've updated my README to link to tty2x.

Re: web2rgbmatrix

Posted: Sun Sep 18, 2022 2:48 pm
by kconger
venice wrote: Thu Sep 15, 2022 9:56 am Hi,
as some of hellbent's really great animated gifs doesn't have the Game Logo as last Picture within the gif (because of the gif loop), e.g. MarioBros,
I had the idea to play these animated gifs at first (if there is one availbale) from a different folder on SD, and if the video is over show the static gif.

This is similar to the function of tty2tft which plays available videos before the Logo is shown.

@kconger, what do you think?
Version 1.3 will now play the animated GIF before the static GIF if available. Details are in the README.

Re: web2rgbmatrix

Posted: Sun Sep 18, 2022 6:01 pm
by venice
It works great, many thanks.

I/we only need to find a few replacements for some static gifs.
The defender galaga pic is a bit too retro and the defender pic contains just a few pixels.

Question, Is there a short blackout between the animated and the static gif?