tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)
- venice
- Top Contributor
- Posts: 788
- Joined: Tue Jun 16, 2020 9:29 am
- Location: Germany
- Has thanked: 278 times
- Been thanked: 278 times
Re: tty2oled Software Add-On now with SD Support (Show Text/Pictures based on loaded Core on Display)
Update SD-Version
-Changed SD Card Access from SPI Mode to SD Bus Mode
-New Transition Effects (just for fun)
-Some new Pictures by RealLarry
Update Standard Version
-Some new Pictures by RealLarry
-Changed SD Card Access from SPI Mode to SD Bus Mode
-New Transition Effects (just for fun)
-Some new Pictures by RealLarry
Update Standard Version
-Some new Pictures by RealLarry
- LamerDeluxe
- Top Contributor
- Posts: 1239
- Joined: Sun May 24, 2020 10:25 pm
- Has thanked: 887 times
- Been thanked: 284 times
Re: tty2oled Software Add-On now with SD Support (Show Text/Pictures based on loaded Core on Display)
The logos look really cool in those display photos.
I'd also love to see this supported with the MT32-pi, but that connects to the user port, which, if I'm not mistaking, connects to the FPGA. So the core itself would have to display its logo on it and the MT32-pi would need functionality added to make this possible.
I'd also love to see this supported with the MT32-pi, but that connects to the user port, which, if I'm not mistaking, connects to the FPGA. So the core itself would have to display its logo on it and the MT32-pi would need functionality added to make this possible.
- RealLarry
- Top Contributor
- Posts: 883
- Joined: Mon May 25, 2020 4:04 am
- Location: San Junipero/DE/Earth
- Has thanked: 120 times
- Been thanked: 386 times
Re: tty2oled Software Add-On now with SD Support (Show Text/Pictures based on loaded Core on Display)
If I understand you correctly what you intend to do, this wouldn't work. The MT32-pi hat has no display and MT32-pi itself is using it's own microkernel. The latter means that there is no "usual" OS where you could start and process the core names.LamerDeluxe wrote: ↑Mon Mar 15, 2021 9:22 amI'd also love to see this supported with the MT32-pi, but that connects to the user port, which, if I'm not mistaking, connects to the FPGA. So the core itself would have to display its logo on it and the MT32-pi would need functionality added to make this possible.
I'd wouldn't say that your project isn't possible at all, but not realizable in a (very) short time. Maybe it's worth to open an issue at https://github.com/dwhinham/mt32-pi and ask for help/ideas there as I find your idea comprehensible.
- LamerDeluxe
- Top Contributor
- Posts: 1239
- Joined: Sun May 24, 2020 10:25 pm
- Has thanked: 887 times
- Been thanked: 284 times
Re: tty2oled Software Add-On now with SD Support (Show Text/Pictures based on loaded Core on Display)
The MT32-pi hat does have a display, where it shows texts, volume and channel VU meters. I know it has its own microkernel, that is why it works so well. I think we're on the same page, explaining that it would be a whole lot of work to do something like this and function in a very different way to the tty2oled. I was referring to someone earlier in the thread who wanted this.RealLarry wrote: ↑Tue Mar 16, 2021 4:00 amIf I understand you correctly what you intend to do, this wouldn't work. The MT32-pi hat has no display and MT32-pi itself is using it's own microkernel. The latter means that there is no "usual" OS where you could start and process the core names.LamerDeluxe wrote: ↑Mon Mar 15, 2021 9:22 amI'd also love to see this supported with the MT32-pi, but that connects to the user port, which, if I'm not mistaking, connects to the FPGA. So the core itself would have to display its logo on it and the MT32-pi would need functionality added to make this possible.
I'd wouldn't say that your project isn't possible at all, but not realizable in a (very) short time. Maybe it's worth to open an issue at https://github.com/dwhinham/mt32-pi and ask for help/ideas there as I find your idea comprehensible.
Indeed the microkernel would have to be changed to allow sending images to it. And all cores that wanted to use it would need to have this functionality added at their FPGA side. So it would be great to be able to use the MT32-pi hat for this combined functionality, but it would require a large amount of work from a lot of developers.
-
- Posts: 48
- Joined: Wed Aug 26, 2020 2:20 pm
- Location: Finland / Tampere
- Has thanked: 14 times
- Been thanked: 19 times
Re: tty2oled Software Add-On now with SD Support (Show Text/Pictures based on loaded Core on Display)
I got the parts, are they suitable?
Links:
https://www.aliexpress.com/item/4000115 ... 4c4dQlTaKm
https://www.aliexpress.com/item/3295379 ... 4c4dQlTaKm
Is the connection correct?
Core Debug Level: None, Error, Warn, Info, Debug, Verbose.
Links:
https://www.aliexpress.com/item/4000115 ... 4c4dQlTaKm
https://www.aliexpress.com/item/3295379 ... 4c4dQlTaKm
Is the connection correct?
- ESP32-Board SSD1322
Pin 26 -------> Pin 16
Pin 25 -------> Pin 14
Pin 27 -------> Pin 15
Gnd ---------> Pin 1
+3,3V or +5V --> Pin 2
Core Debug Level: None, Error, Warn, Info, Debug, Verbose.
- venice
- Top Contributor
- Posts: 788
- Joined: Tue Jun 16, 2020 9:29 am
- Location: Germany
- Has thanked: 278 times
- Been thanked: 278 times
Re: tty2oled Software Add-On now with SD Support (Show Text/Pictures based on loaded Core on Display)
-
- Posts: 48
- Joined: Wed Aug 26, 2020 2:20 pm
- Location: Finland / Tampere
- Has thanked: 14 times
- Been thanked: 19 times
Re: tty2oled Software Add-On now with SD Support (Show Text/Pictures based on loaded Core on Display)
Thanks for the quick reply. I'll test tomorrow.
Are the display pins 4 and 5 left unconnected?
Are the display pins 4 and 5 left unconnected?
- venice
- Top Contributor
- Posts: 788
- Joined: Tue Jun 16, 2020 9:29 am
- Location: Germany
- Has thanked: 278 times
- Been thanked: 278 times
Re: tty2oled Software Add-On now with SD Support (Show Text/Pictures based on loaded Core on Display)
Pin 4+5 are SPI Pins
Pin 4 of the Display must be connected to ESP Pin 18 (SPI SCLK)
Pin 5 of the Display must be connected to ESP Pin 23 (SPI MOSI)
Cheers
Pin 4 of the Display must be connected to ESP Pin 18 (SPI SCLK)
Pin 5 of the Display must be connected to ESP Pin 23 (SPI MOSI)
Cheers
- d0pefish
- mt32-pi Creator
- Posts: 39
- Joined: Fri Dec 11, 2020 6:38 pm
- Location: Newcastle-upon-Tyne, UK
- Has thanked: 27 times
- Been thanked: 29 times
- Contact:
Re: tty2oled Software Add-On now with SD Support (Show Text/Pictures based on loaded Core on Display)
Indeed - I've already addressed this here: https://github.com/dwhinham/mt32-pi/discussions/79LamerDeluxe wrote: ↑Tue Mar 16, 2021 7:43 am Indeed the microkernel would have to be changed to allow sending images to it. And all cores that wanted to use it would need to have this functionality added at their FPGA side. So it would be great to be able to use the MT32-pi hat for this combined functionality, but it would require a large amount of work from a lot of developers.
The closest I'd be willing to go is maybe image transfer via another custom SysEx command (similar to SC-55 images, just higher resolution); that way it's a generic feature that anything speaking MIDI can utilize. But you still have the huge problem of somehow bridging the Linux side of the MiSTer to the FPGA side so you can send the graphics over.
Far too many moving parts for me to to even consider; sorry!
- LamerDeluxe
- Top Contributor
- Posts: 1239
- Joined: Sun May 24, 2020 10:25 pm
- Has thanked: 887 times
- Been thanked: 284 times
Re: tty2oled Software Add-On now with SD Support (Show Text/Pictures based on loaded Core on Display)
Completely understandable. Sysex is a good idea, but then it would probably still boil down to the cores themselves having to transmit their own logo.d0pefish wrote: ↑Tue Mar 16, 2021 6:53 pmIndeed - I've already addressed this here: https://github.com/dwhinham/mt32-pi/discussions/79LamerDeluxe wrote: ↑Tue Mar 16, 2021 7:43 am Indeed the microkernel would have to be changed to allow sending images to it. And all cores that wanted to use it would need to have this functionality added at their FPGA side. So it would be great to be able to use the MT32-pi hat for this combined functionality, but it would require a large amount of work from a lot of developers.
The closest I'd be willing to go is maybe image transfer via another custom SysEx command (similar to SC-55 images, just higher resolution); that way it's a generic feature that anything speaking MIDI can utilize. But you still have the huge problem of somehow bridging the Linux side of the MiSTer to the FPGA side so you can send the graphics over.
Far too many moving parts for me to to even consider; sorry!
- venice
- Top Contributor
- Posts: 788
- Joined: Tue Jun 16, 2020 9:29 am
- Location: Germany
- Has thanked: 278 times
- Been thanked: 278 times
Re: tty2oled Software Add-On now with SD Support (Show Text/Pictures based on loaded Core on Display)
Let‘s keep the focus on the Add-On here please.
Thx
Thx
-
- Posts: 48
- Joined: Wed Aug 26, 2020 2:20 pm
- Location: Finland / Tampere
- Has thanked: 14 times
- Been thanked: 19 times
Re: tty2oled Software Add-On now with SD Support (Show Text/Pictures based on loaded Core on Display)
OLED connected and ESP32 programmed.
Pictures inserted on the SD card.
S60tty2oled and tty2oled transferred to MiSTer.
The display shows "MiSTer FPGA by Sorgelig and SD logo".
Nothing else happens. Can you advise what is wrong?
Pictures inserted on the SD card.
S60tty2oled and tty2oled transferred to MiSTer.
The display shows "MiSTer FPGA by Sorgelig and SD logo".
Nothing else happens. Can you advise what is wrong?
- venice
- Top Contributor
- Posts: 788
- Joined: Tue Jun 16, 2020 9:29 am
- Location: Germany
- Has thanked: 278 times
- Been thanked: 278 times
Re: tty2oled Software Add-On now with SD Support (Show Text/Pictures based on loaded Core on Display)
Hi,
Test your Display at first connected to your Computer using the Arduino Terminal with 57600 baud and LineFeed active.
Just send MENU, cls, sorg, llander or just a simple text to test if the ESP is working.
MENU should show the MiSTer Logo, cls should clear the screen, llander should show the Lunar Lander Logo.
Did you made the two scripts executable (chmod +x [script])? Sorry I forgot this in the HowTo. Done now!
Did you reboot the MISTer once after adding the files?
Or start the script manually typing /etc/init.d/S60tty2oled start on MiSTer's console.
Could you check your MiSTer has created the /dev/ttyUSB01 device after you connect the ESP to the MiSTer?
Good luck...
I can try.
Test your Display at first connected to your Computer using the Arduino Terminal with 57600 baud and LineFeed active.
Just send MENU, cls, sorg, llander or just a simple text to test if the ESP is working.
MENU should show the MiSTer Logo, cls should clear the screen, llander should show the Lunar Lander Logo.
Are the two scripts copied to the correct folder?
Did you made the two scripts executable (chmod +x [script])? Sorry I forgot this in the HowTo. Done now!
Did you reboot the MISTer once after adding the files?
Or start the script manually typing /etc/init.d/S60tty2oled start on MiSTer's console.
Could you check your MiSTer has created the /dev/ttyUSB01 device after you connect the ESP to the MiSTer?
Good luck...
- venice
- Top Contributor
- Posts: 788
- Joined: Tue Jun 16, 2020 9:29 am
- Location: Germany
- Has thanked: 278 times
- Been thanked: 278 times
Re: tty2oled Software Add-On now with SD Support (Show Text/Pictures based on loaded Core on Display)
Does it work?
Post a picture/video if you like.
-
- Posts: 48
- Joined: Wed Aug 26, 2020 2:20 pm
- Location: Finland / Tampere
- Has thanked: 14 times
- Been thanked: 19 times
Re: tty2oled Software Add-On now with SD Support (Show Text/Pictures based on loaded Core on Display)
Works well.
I made .xbm pictures (Gauntlet & Gauntlet 2).
I would attach pictures and attachments here but I don't know how.
I made .xbm pictures (Gauntlet & Gauntlet 2).
I would attach pictures and attachments here but I don't know how.
- venice
- Top Contributor
- Posts: 788
- Joined: Tue Jun 16, 2020 9:29 am
- Location: Germany
- Has thanked: 278 times
- Been thanked: 278 times
Re: tty2oled Software Add-On now with SD Support (Show Text/Pictures based on loaded Core on Display)
If you don't see the Attachments Section you may need to have done a few posts more.
You can add the Pictures to my Github Repo requesting an Pull Request or I can send you my mail address via PM.
Up to you...
You can add the Pictures to my Github Repo requesting an Pull Request or I can send you my mail address via PM.
Up to you...
You do not have the required permissions to view the files attached to this post.
- venice
- Top Contributor
- Posts: 788
- Joined: Tue Jun 16, 2020 9:29 am
- Location: Germany
- Has thanked: 278 times
- Been thanked: 278 times
Re: tty2oled Software Add-On now with SD Support (Show Text/Pictures based on loaded Core on Display)
My Case now with the mounted OLED.
Jump to viewtopic.php?p=21055#p21055
Jump to viewtopic.php?p=21055#p21055
-
- Posts: 48
- Joined: Wed Aug 26, 2020 2:20 pm
- Location: Finland / Tampere
- Has thanked: 14 times
- Been thanked: 19 times
Re: tty2oled Software Add-On now with SD Support (Show Text/Pictures based on loaded Core on Display)
Liitteenä on kolme .xbm-kuvaa (Gauntlet, Gauntlet 2 & Xevious).
You do not have the required permissions to view the files attached to this post.
- venice
- Top Contributor
- Posts: 788
- Joined: Tue Jun 16, 2020 9:29 am
- Location: Germany
- Has thanked: 278 times
- Been thanked: 278 times
Re: tty2oled Software Add-On now with SD Support (Show Text/Pictures based on loaded Core on Display)
Good to see another working tty2oled.
I already added them to the Github Repo.
Many Thanks/Kiitos paljon (Correct?)
All 3 are Arcades? Got it!
I already added them to the Github Repo.
Many Thanks/Kiitos paljon (Correct?)
- venice
- Top Contributor
- Posts: 788
- Joined: Tue Jun 16, 2020 9:29 am
- Location: Germany
- Has thanked: 278 times
- Been thanked: 278 times
Re: tty2oled Software Add-On now with SD Support (Show Text/Pictures based on loaded Core on Display)
Important Note!
It's likely you need to copy the two needed Script's again to the MiSTer after an OS Update.
It's likely you need to copy the two needed Script's again to the MiSTer after an OS Update.
-
- Posts: 48
- Joined: Wed Aug 26, 2020 2:20 pm
- Location: Finland / Tampere
- Has thanked: 14 times
- Been thanked: 19 times
Re: tty2oled Software Add-On now with SD Support (Show Text/Pictures based on loaded Core on Display)
I made eight more .xbm images.
Arcade: 1941, Alibaba and 40 Thieves, Arkanoid, Bomb Jack, Green Beret & Tapper.
Computers: C16
MENU.xbm slightly modified.
Arcade: 1941, Alibaba and 40 Thieves, Arkanoid, Bomb Jack, Green Beret & Tapper.
Computers: C16
MENU.xbm slightly modified.
You do not have the required permissions to view the files attached to this post.
- venice
- Top Contributor
- Posts: 788
- Joined: Tue Jun 16, 2020 9:29 am
- Location: Germany
- Has thanked: 278 times
- Been thanked: 278 times
Re: tty2oled Software Add-On now with SD Support (Show Text/Pictures based on loaded Core on Display)
They are all looking great, many Thanks.
I already add them to the Repo.
Special Thanks for Bomb Jack, that's one of my favorite games.
Here is the list of all currently available XBM's.
https://github.com/venice1200/MiSTer_tt ... re_core.md
I add you to the Wiki: https://github.com/venice1200/MiSTer_tt ... ts-&-Links
Is this OK?
Update
tty2oled slightly reworked, thanks to RealLarry.
New Video added to Post #1.
-
- Posts: 48
- Joined: Wed Aug 26, 2020 2:20 pm
- Location: Finland / Tampere
- Has thanked: 14 times
- Been thanked: 19 times
Re: tty2oled Software Add-On now with SD Support (Show Text/Pictures based on loaded Core on Display)
I made five more xbm images.
Arcade: Ms. Pac-Man, Pac-Man, Pac-Man Club, Pac-Man Plus & Pac Manic Miner Man.
Arcade: Ms. Pac-Man, Pac-Man, Pac-Man Club, Pac-Man Plus & Pac Manic Miner Man.
You do not have the required permissions to view the files attached to this post.
- venice
- Top Contributor
- Posts: 788
- Joined: Tue Jun 16, 2020 9:29 am
- Location: Germany
- Has thanked: 278 times
- Been thanked: 278 times
Re: tty2oled Software Add-On now with SD Support (Show Text/Pictures based on loaded Core on Display)
Many thanks .
I added them to the Github Repository already.
-
- Posts: 48
- Joined: Wed Aug 26, 2020 2:20 pm
- Location: Finland / Tampere
- Has thanked: 14 times
- Been thanked: 19 times
Re: tty2oled Software Add-On now with SD Support (Show Text/Pictures based on loaded Core on Display)
Here are sixteen more .xbm images.
You do not have the required permissions to view the files attached to this post.
- venice
- Top Contributor
- Posts: 788
- Joined: Tue Jun 16, 2020 9:29 am
- Location: Germany
- Has thanked: 278 times
- Been thanked: 278 times
Re: tty2oled Software Add-On now with SD Support (Show Text/Pictures based on loaded Core on Display)
Just uploaded them to the Github-Repo.
Many Thanks
- venice
- Top Contributor
- Posts: 788
- Joined: Tue Jun 16, 2020 9:29 am
- Location: Germany
- Has thanked: 278 times
- Been thanked: 278 times
Re: tty2oled Software Add-On now with SD Support (Show Text/Pictures based on loaded Core on Display)
Updates
Second Post updated
- First Release of USB-Version. Many thanks to RealLarry
- tty2oled updates to support SD- and USB-Version with 115200 baud
- SD-Version updated to support 115200 Baud
- The Standard-Version will no longer get updates because of the new USB-Version.
Second Post updated
- RealLarry
- Top Contributor
- Posts: 883
- Joined: Mon May 25, 2020 4:04 am
- Location: San Junipero/DE/Earth
- Has thanked: 120 times
- Been thanked: 386 times
Re: tty2oled Software Add-On now with SD Support (Show Text/Pictures based on loaded Core on Display)
Yeah, it's a kind of magic!venice wrote: ↑Mon Mar 29, 2021 12:13 pm Updates
- First Release of USB-Version. Many thanks to RealLarry
- tty2oled updates to support SD- and USB-Version
- SD-Version updated to support 115200 Baud
Please test the USB Version and report here.
- The Standard-Version will no longer get updates because of the new USB-Version.
Second Post updated
Deriving from my own experiences you can enable and use 115200 Baud with all Arduinos and all the time, even with the small ESP8266's. While experimenting with their sketches I sent the XBM pictures over and over again and got no failure. So my recommendation is speeeeeed.