web2rgbmatrix

Showcase builds, discuss cases, embedding MiSTer into existing computer cases.
kconger
Posts: 100
Joined: Sun Sep 12, 2021 2:58 am
Has thanked: 134 times
Been thanked: 91 times

Re: web2rgbmatrix

Unread post by kconger »

kconger wrote: Fri Apr 07, 2023 5:53 pm
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.

I've expanded my assembly documentation on GitHub to better explain the wiring.
https://github.com/kconger/MiSTer_web2r ... ssembly.md

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

Re: web2rgbmatrix

Unread post by mickymonaco »

One question..
This project works only with Arcade gifs? Or is it possible display name of games on console? If yes which is the correct naming convention? I tried for example to rename Genesis_Batman.gif for the game Batman but it doesn't work.
Thanks you

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: Tue Apr 11, 2023 9:13 am

One question..
This project works only with Arcade gifs? Or is it possible display name of games on console? If yes which is the correct naming convention? I tried for example to rename Genesis_Batman.gif for the game Batman but it doesn't work.
Thanks you

I believe that right now it is only the core name that gets logged.

There is a way to make a packed custom entry to automatically load a specific rom, maybe employing that can provide a unique name.

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

Re: web2rgbmatrix

Unread post by kconger »

mickymonaco wrote: Tue Apr 11, 2023 9:13 am

One question..
This project works only with Arcade gifs? Or is it possible display name of games on console? If yes which is the correct naming convention? I tried for example to rename Genesis_Batman.gif for the game Batman but it doesn't work.
Thanks you

It works with MiSTer core/setname and Retropie system name.

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

Re: web2rgbmatrix

Unread post by mickymonaco »

Ok so only display the name of core, no possibility to display rom name on led..

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

Re: web2rgbmatrix

Unread post by kconger »

mickymonaco wrote: Tue Apr 11, 2023 1:17 pm

Ok so only display the name of core, no possibility to display rom name on led..

MiSTer doesn't currently provide the ROM a Core has loaded so there is nothing for us to use. If there was it would probably be just a small tweak to the linux service code.

User avatar
RealLarry
Top Contributor
Posts: 881
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 120 times
Been thanked: 385 times

Re: web2rgbmatrix

Unread post by RealLarry »

kconger wrote: Tue Apr 11, 2023 12:59 pm
mickymonaco wrote: Tue Apr 11, 2023 9:13 am

One question..
This project works only with Arcade gifs? Or is it possible display name of games on console? If yes which is the correct naming convention? I tried for example to rename Genesis_Batman.gif for the game Batman but it doesn't work.
Thanks you

It works with MiSTer core/setname and Retropie system name.

Just to prevent misinformation: MiSTer is using MAME system names and RetroPie is follwing the same schema.

Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
User avatar
RealLarry
Top Contributor
Posts: 881
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 120 times
Been thanked: 385 times

Re: web2rgbmatrix

Unread post by RealLarry »

Half correct: One can enable log_file_entry=1 in MiSTer.ini :

; Write out file name under the cursor in browser for external integration
; External application or script may parse the info and do some additional actions and/or send info to 3rd party server.
; Warning: it may slowdown the system or add lag while browsing the files in OSD depending on external app/script.

We were thinking about that feature but dropped that idea because of the mass of reorganisation of all picture/cores/disks/cartridges ... That would be a fulltime job for someone who is too bored ;)

Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
mickymonaco
Posts: 13
Joined: Mon Mar 27, 2023 3:10 pm
Has thanked: 2 times

Re: web2rgbmatrix

Unread post by mickymonaco »

No problem for me, I just wanted only a procedure in order to test some games and in my spare time I will carry on with the project

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 »

neogeo81 wrote: Sat Apr 08, 2023 3:41 pm

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

Do you mean "barrel to red and black wire adapter"? It's self made.
I am sure you can use the barrel port on the Trinity as well but I want the power connector externally.

neogeo81 wrote: Sat Apr 08, 2023 3:41 pm

...
Did you soder the sd card cables to the esp board?

No, I solder Pins onto the Trinity Board and used pre-built dupont cables (female-to-female).

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

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

Re: web2rgbmatrix

Unread post by neogeo81 »

Hey guys
To all who already have a finished LED matrix.
I ordered these as mentioned on the webpage https://esp32trinity.com/:

64x32 P3 Matrix display
https://s.click.aliexpress.com/e/_dYz5DLt

As they are P3, they are slightly larger then the OP case and 3D prints.
Did anyone use also these LEDs? I am searching for connectors or even a Frame to 3D print and would appreciate the 3mf files.

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

Re: web2rgbmatrix

Unread post by neogeo81 »

mickymonaco wrote: Fri Apr 07, 2023 7:38 am

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

Which one is it? This here above or like on your images?

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

Re: web2rgbmatrix

Unread post by kconger »

neogeo81 wrote: Sun Apr 30, 2023 11:47 pm
mickymonaco wrote: Fri Apr 07, 2023 7:38 am

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

Which one is it? This here above or like on your images?

Assuming you're using the Trinity board, you can source it anywhere labeled '5V'.

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

Re: web2rgbmatrix

Unread post by neogeo81 »

kconger wrote: Mon May 01, 2023 2:32 pm
neogeo81 wrote: Sun Apr 30, 2023 11:47 pm
mickymonaco wrote: Fri Apr 07, 2023 7:38 am

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

Which one is it? This here above or like on your images?

Assuming you're using the Trinity board, you can source it anywhere labeled '5V'.

Saddly didn't work. Had to order a sd module like yours.

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

Re: web2rgbmatrix

Unread post by neogeo81 »

kconger wrote: Mon May 01, 2023 2:32 pm
neogeo81 wrote: Sun Apr 30, 2023 11:47 pm
mickymonaco wrote: Fri Apr 07, 2023 7:38 am

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

Which one is it? This here above or like on your images?

Assuming you're using the Trinity board, you can source it anywhere labeled '5V'.

Just for my understanding the SD GIF update updates the gifs and statics on the sd card regarding if the GIF update is true or not. Or do I need to set the correct path to the sd card? (what path would that be)?

#SD GIF Update
SD_UPDATE="true"

#Path to GIF files
GIF_PATH="/media/fat/web2rgbmatrix/gifs"

#Update Linux scripts
SCRIPT_UPDATE="true"

#Update ESP32-Trinity
TRINITY_UPDATE="true"

#GIF Update, forces overwrite of exisiting GIFs
GIF_UPDATE="false"

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

Re: web2rgbmatrix

Unread post by kconger »

You are correct in your understanding of the switches. The path is for the local storage of GIFs on your MiSTer SD Card, I would leave it but you can adjust it to whatever you'd like.

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

Re: web2rgbmatrix

Unread post by neogeo81 »

kconger wrote: Tue May 02, 2023 2:26 pm

You are correct in your understanding of the switches. The path is for the local storage of GIFs on your MiSTer SD Card, I would leave it but you can adjust it to whatever you'd like.

But if i turn on SD Update it saves the gif on my mister sd card and sd car on the matrix. And on the external sd car on the matrix it does not save properly as it make a "gif" folder on the root instead of "animated" and "static"

how can I set it correctly to onyl update the gifs on the external sd card of the matrix and NOT on mister itself?

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

Re: web2rgbmatrix

Unread post by kconger »

Sounds like you found a bug in the Matrix SD update part of the script. I've logged the issue and will take a look when I have a chance.

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

Re: web2rgbmatrix

Unread post by neogeo81 »

kconger wrote: Tue May 02, 2023 2:51 pm

Sounds like you found a bug in the Matrix SD update part of the script. I've logged the issue and will take a look when I have a chance.

Thanks. maybe there should be the choice to select to update the gifs on mister or sd external separately?

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

Re: web2rgbmatrix

Unread post by kconger »

I still need local storage to unpack them before transferring them to the matrix, a deletion after the matrix was updated could be added.

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

Re: web2rgbmatrix

Unread post by neogeo81 »

kconger wrote: Tue May 02, 2023 3:11 pm

I still need local storage to unpack them before transferring them to the matrix, a deletion after the matrix was updated could be added.

oh ok i understand. so it downloads to the mister and then transfers all of them to the external. so the only thing is an option to delete them afterwards and the right folder on external sd car.

dit it maybe create a separte folder because i had the option to override disabled?

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

Re: web2rgbmatrix

Unread post by kconger »

No, I think it's a bug. I changed folder names at some point and probably missed something.

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

Re: web2rgbmatrix

Unread post by neogeo81 »

kconger wrote: Tue May 02, 2023 3:21 pm

No, I think it's a bug. I changed folder names at some point and probably missed something.

so what does the script do if the overwrite is disabled? just don't transfer it?

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

Re: web2rgbmatrix

Unread post by kconger »

Overwrite is to prevent any custom GIFs added on the MiSTer SD aren't overwritten by the GIFs in the repo.

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

Re: web2rgbmatrix

Unread post by neogeo81 »

Just for your information. I made a complete wireless version with a 6000mah powerbank. Still testing how long the battery lasts but it is looking good.

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

Re: web2rgbmatrix

Unread post by neogeo81 »

So a 6000mAh powerbank holds for over 8 hours. When i have the finished display i will show it here. next step is making a wooden case.

Does someone know how often the gifs are updated?

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

Re: web2rgbmatrix

Unread post by kconger »

neogeo81 wrote: Thu May 11, 2023 12:29 pm

Does someone know how often the gifs are updated?

It's sporadic and infrequent :) You can see the repo's commit history here: https://github.com/h3llb3nt/marquee_gifs/commits/main

I usually try to whip up new static GIFs as new cores are released. h3llb3nt is the one who creates the excellent animated GIFs

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

Re: web2rgbmatrix

Unread post by neogeo81 »

How can i contribute if i have new ones i created myself?

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

Re: web2rgbmatrix

Unread post by kconger »

neogeo81 wrote: Thu May 11, 2023 2:03 pm

How can i contribute if i have new ones i created myself?

The best way is to submit a pull request to the repo, there are a couple of us who can approve. If you're unfamiliar with git, post them here and one of us can add them.

P.Ginnungagap
Posts: 1
Joined: Tue Jun 20, 2023 8:03 pm
Been thanked: 1 time

Re: web2rgbmatrix

Unread post by P.Ginnungagap »

Very thankful for your hard work on this project. You gave me inspiration to use rgb led matrix in my Arcade Bartop. I achieved an amazing effect with simple scripts in Batocera. There are a few more features I'd like to see in your code, such as an infinite loop and breaking animated gif animation with newline and of course scrolling text with chosen font, but that's just a dreams because I know how hard coding is. I'm not a coder and I'm still struggling with scripting for Batocera to improve my Arcade. Here is short video of my work

Post Reply