Page 4 of 5

Re: web2rgbmatrix

Posted: Sat Apr 08, 2023 5:21 pm
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


Re: web2rgbmatrix

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


Re: web2rgbmatrix

Posted: Tue Apr 11, 2023 12:03 pm
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.


Re: web2rgbmatrix

Posted: Tue Apr 11, 2023 12:59 pm
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.


Re: web2rgbmatrix

Posted: Tue Apr 11, 2023 1:17 pm
by mickymonaco

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


Re: web2rgbmatrix

Posted: Tue Apr 11, 2023 1:21 pm
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.


Re: web2rgbmatrix

Posted: Tue Apr 11, 2023 3:41 pm
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.


Re: web2rgbmatrix

Posted: Tue Apr 11, 2023 3:48 pm
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 ;)


Re: web2rgbmatrix

Posted: Tue Apr 11, 2023 4:40 pm
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


Re: web2rgbmatrix

Posted: Wed Apr 12, 2023 4:29 pm
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).


Re: web2rgbmatrix

Posted: Mon Apr 17, 2023 1:40 pm
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.


Re: web2rgbmatrix

Posted: Sun Apr 30, 2023 11:47 pm
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?


Re: web2rgbmatrix

Posted: Mon May 01, 2023 2:32 pm
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'.


Re: web2rgbmatrix

Posted: Mon May 01, 2023 2:50 pm
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.


Re: web2rgbmatrix

Posted: Tue May 02, 2023 8:31 am
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"


Re: web2rgbmatrix

Posted: Tue May 02, 2023 2:26 pm
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.


Re: web2rgbmatrix

Posted: Tue May 02, 2023 2:31 pm
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?


Re: web2rgbmatrix

Posted: Tue May 02, 2023 2:51 pm
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.


Re: web2rgbmatrix

Posted: Tue May 02, 2023 2:54 pm
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?


Re: web2rgbmatrix

Posted: Tue May 02, 2023 3:11 pm
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.


Re: web2rgbmatrix

Posted: Tue May 02, 2023 3:14 pm
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?


Re: web2rgbmatrix

Posted: Tue May 02, 2023 3:21 pm
by kconger

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


Re: web2rgbmatrix

Posted: Tue May 02, 2023 3:23 pm
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?


Re: web2rgbmatrix

Posted: Tue May 02, 2023 3:32 pm
by kconger

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


Re: web2rgbmatrix

Posted: Mon May 08, 2023 6:54 am
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.


Re: web2rgbmatrix

Posted: Thu May 11, 2023 12:29 pm
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?


Re: web2rgbmatrix

Posted: Thu May 11, 2023 2:00 pm
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


Re: web2rgbmatrix

Posted: Thu May 11, 2023 2:03 pm
by neogeo81

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


Re: web2rgbmatrix

Posted: Thu May 11, 2023 2:08 pm
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.


Re: web2rgbmatrix

Posted: Wed Jun 21, 2023 8:14 am
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