tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)

Showcase builds, discuss cases, embedding MiSTer into existing computer cases.
User avatar
venice
Top Contributor
Posts: 785
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 276 times
Been thanked: 277 times

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Unread post by venice »

Mellified wrote: Sat Jul 17, 2021 12:09 am I created a few helper scripts using the new commands in the latest version. Thought they might be of interest to others.

https://github.com/Mellified/tty2oled_helpers
Cool. Many Thx.

I steal a bit from SAM for this
https://github.com/venice1200/MiSTer_tt ... oled_cc.sh
It’s not final i think but it works.

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

User avatar
Mellified
Posts: 145
Joined: Sat Aug 22, 2020 8:38 pm
Been thanked: 51 times

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Unread post by Mellified »

venice wrote: Sat Jul 17, 2021 8:19 am I steal a bit from SAM for this
https://github.com/venice1200/MiSTer_tt ... oled_cc.sh
It’s not final i think but it works.
Go ahead and steal any of that code. It was time consuming to write. Glad if we get more benefits.

Looks great! Nice thing about the menus - you can use the controller to navigate them.
User avatar
venice
Top Contributor
Posts: 785
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 276 times
Been thanked: 277 times

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Unread post by venice »

Bugfix

The tty2oled Script got a small Bugfix which could cause problems if tty2oled debugging is enabled.
Use your updater to get it.

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

User avatar
Moondandy
Top Contributor
Posts: 535
Joined: Mon May 25, 2020 2:14 am
Location: Edinburgh, Scotland
Has thanked: 32 times
Been thanked: 101 times

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Unread post by Moondandy »

Something that might be worth doing is have the update script grab the latest versions of the helper scrips.
lunch_box
Posts: 14
Joined: Sat Jun 27, 2020 7:15 am

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Unread post by lunch_box »

This looks very, very cool.

Is there anyone that offers a pre built version (external) so I can plug it into my existing mister??

I’ve read this thread and the GitHub and I can’t get my head around what is required and how to build it 🤣🤣

Thanks
User avatar
Mellified
Posts: 145
Joined: Sat Aug 22, 2020 8:38 pm
Been thanked: 51 times

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Unread post by Mellified »

lunch_box wrote: Tue Jul 20, 2021 2:37 pm I’ve read this thread and the GitHub and I can’t get my head around what is required and how to build it 🤣🤣
I had the same issue at first. I ended up purchasing the parts listed in this post:
viewtopic.php?p=26016#p26016

I was able to assemble a working tty2oled and use it with my MiSTer easily and without soldering.
User avatar
mrchrister
Scripting Wizard
Posts: 294
Joined: Tue Mar 30, 2021 6:23 pm
Location: Canada
Has thanked: 32 times
Been thanked: 122 times

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Unread post by mrchrister »

Hey guys,

Would love some ideas what else I could try?

I can't get my ESP32_Devkitc_v4 to work unfortunately. I connected all the wires according to the diagram, changed the screen to 4SPI with a solder bridge, flashed as WEMOS LOLIN 32 - black screen

Code: Select all

Compressed 203568 bytes to 104620...
Writing at 0x00010000... (14 %)
Writing at 0x00014000... (28 %)
Writing at 0x00018000... (42 %)
Writing at 0x0001c000... (57 %)
Writing at 0x00020000... (71 %)
Writing at 0x00024000... (85 %)
Writing at 0x00028000... (100 %)
Wrote 203568 bytes (104620 compressed) at 0x00010000 in 2.2 seconds (effective 723.8 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 128...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (128 compressed) at 0x00008000 in 0.0 seconds (effective 2234.2 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...

Everything seems good on the Arduino side, no problems.

What I tried:
- Solder different gauge wires
- Flash as ESP32 Dev Module
- Reinstall Arduino

So far I have not been able to confirm that the screen works at all

IMG-20210720-214140.jpg
IMG-20210720-214214.jpg
IMG-20210720-214921.jpg

Excuse my shabby solder job, I know it looks quite bad ;)
I didn't have any DuPont wires handy but made sure that all connections connect as they should with a multimeter. All Ground pins make connection as well.
Thanks for any help!
You do not have the required permissions to view the files attached to this post.
User avatar
venice
Top Contributor
Posts: 785
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 276 times
Been thanked: 277 times

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Unread post by venice »

mrchrister wrote: Wed Jul 21, 2021 4:38 am Hey guys,

Would love some ideas what else I could try?
..
Excuse my shabby solder job, I know it looks quite bad ;)
I didn't have any DuPont wires handy but made sure that all connections connect as they should with a multimeter. All Ground pins make connection as well.
Thanks for any help!
Hi,
if the display shows nothing you need to double check the hardware and the wiring.
Double check for solder bridges between the Pins where there should be none.
At least the startup text "MiSTer FPGA by Sorgelig" should be shown if the connection is correct and the hardware isn't broken.

//Edit
The Problem is that i can‘t follow your wiring because of too few colored cables.
If something is mixed-up nothing happens and the screen stays black.

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

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

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Unread post by venice »

Moondandy wrote: Tue Jul 20, 2021 12:57 am Something that might be worth doing is have the update script grab the latest versions of the helper scrips.
Download https://github.com/venice1200/MiSTer_tt ... oled_cc.sh to /media/fat/Scripts and try.

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

zinjin21
Posts: 19
Joined: Mon Feb 22, 2021 9:12 am
Has thanked: 5 times

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Unread post by zinjin21 »

d.ti wrote: Mon Jun 28, 2021 6:42 pm I've designed my own PCB:


tty2oled_esp32-ttgo-t3gj9n.jpg


Kicad project is within the attachments. I also attached the case design. Within the case I've used foam to stop the Display/MCU from moving:


img_20210628_203503csjrn.png


Please feel free to use the picture(s) for the gallery.
thank you!!

Finally I made it!!! Good!!
IMG_8022.jpg
IMG_8039.jpg
IMG_8053.jpg
IMG_8050.jpg
You do not have the required permissions to view the files attached to this post.
User avatar
d.ti
Posts: 26
Joined: Tue May 26, 2020 3:35 pm
Has thanked: 7 times
Been thanked: 12 times

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Unread post by d.ti »

Looks good. Thanks for the feedback. Have fun with it. :)
Find my projects on Github: https://github.com/dtimber/
User avatar
venice
Top Contributor
Posts: 785
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 276 times
Been thanked: 277 times

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Unread post by venice »

Cool, both Display Projects together :)

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

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

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Unread post by venice »

8 new Pictures by Stefer09 available.

1944, 19xx, Action Fighter, Alex Kidd, the lost Stars, Armored Warrior, Alien vs Predator, Battle Curcuit and Body Slam.
Google Sheet updated.

Many Thanks

Hey Guys, let's created Pictures :mrgreen:

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

lunch_box
Posts: 14
Joined: Sat Jun 27, 2020 7:15 am

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Unread post by lunch_box »

can i ask, where does everyone suggest i get the PCB made up for this project? I have had a look around but I am unsure where to order from :)

Thanks
User avatar
Moondandy
Top Contributor
Posts: 535
Joined: Mon May 25, 2020 2:14 am
Location: Edinburgh, Scotland
Has thanked: 32 times
Been thanked: 101 times

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Unread post by Moondandy »

I used these guys, boards look good and was very easy to do and cheap.

https://jlcpcb.com/

Just uploaded the folder of files uploaded here and it found the ones it needed. Minimum order was 5 boards, and after postage to the UK and tax it came to about £6 i.e. crazy cheap.

My screen should arrive this week, but just dawned on me I don't have screws and the pins you can see in Zinjin21's image.
zinjin21 wrote: Sat Jul 24, 2021 6:26 am Finally I made it!!! Good!!
Looks great, where about did you source your screws and pins from?
User avatar
venice
Top Contributor
Posts: 785
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 276 times
Been thanked: 277 times

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Unread post by venice »

lunch_box wrote: Wed Jul 28, 2021 6:35 pm can i ask, where does everyone suggest i get the PCB made up for this project? I have had a look around but I am unsure where to order from :)

Thanks
Where are you located?
Maybe there is someone around you with an spare PCB.

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

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

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Unread post by RealLarry »

venice wrote: Thu Jul 29, 2021 12:48 pm
lunch_box wrote: Wed Jul 28, 2021 6:35 pm can i ask, where does everyone suggest i get the PCB made up for this project? I have had a look around but I am unsure where to order from :)

Thanks
Where are you located?
Maybe there is someone around you with an spare PCB.
I have some working spare PCBs laying around. These are from our testing series, so working, but not one of the actual ones (see https://github.com/venice1200/MiSTer_tt ... wiki/PCB's). Can send one or more of them within europe.
Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
User avatar
venice
Top Contributor
Posts: 785
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 276 times
Been thanked: 277 times

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Unread post by venice »

Picture Updates by stefer09

Arcade-TIAMC1 Bilyard, Birdie, Black Hole, Crazy Climber, Cosmo, Crater Raider, Crush Roller,
Capcom World 2, Cyberbots: Full Metal Madness, Fantasy Zone, Minefield, Shinobi

Google Sheet updated

Many Thanks

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

stefer09
Posts: 23
Joined: Fri Jun 18, 2021 9:55 pm
Has thanked: 11 times
Been thanked: 1 time

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Unread post by stefer09 »

venice wrote: Fri Jul 30, 2021 9:50 am Google Sheet updated
There's a Google Sheet? I've been looking game by game to see which ones didn't have a picture already :lol:

Where ?
User avatar
RealLarry
Top Contributor
Posts: 858
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 114 times
Been thanked: 373 times

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Unread post by RealLarry »

stefer09 wrote: Fri Jul 30, 2021 11:25 am
venice wrote: Fri Jul 30, 2021 9:50 am Google Sheet updated
There's a Google Sheet? I've been looking game by game to see which ones didn't have a picture already :lol:

Where ?
Seems that you've missed that entry in this thread ;) viewtopic.php?p=29461#p29461
Have a look at https://docs.google.com/spreadsheets/d/ ... edit#gid=0 and begin painting 8-)
Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
stefer09
Posts: 23
Joined: Fri Jun 18, 2021 9:55 pm
Has thanked: 11 times
Been thanked: 1 time

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Unread post by stefer09 »

Thanks @RealLarry ! Hmm it's too bad that the core name is not in a column too :( You guys just open the mra for the game and look up the core name from there?
User avatar
venice
Top Contributor
Posts: 785
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 276 times
Been thanked: 277 times

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Unread post by venice »

The name of the picture in the "Image File Name" column, without ".xbm", is the corename (or mra setname). No extra column needed i think.
Unidentified corenames (setname) are shown “plain” on the display.
See at the end of https://github.com/venice1200/MiSTer_tt ... es-it-work
No need to open the mra, just run the game and watch the screen ;)

The Google Sheet is also linked here https://github.com/venice1200/MiSTer_tt ... ation-List

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

stefer09
Posts: 23
Joined: Fri Jun 18, 2021 9:55 pm
Has thanked: 11 times
Been thanked: 1 time

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Unread post by stefer09 »

483qMpw.png

Yeah but a lot of the ones that don't have a picture yet, don't have the core name in that column...
What i'll do is filter by picture=no, print it out, sit in front of the mister and load the ones that don't have the core name written in the core column, that way i'll have the name for the xbm file written down.
You do not have the required permissions to view the files attached to this post.
stefer09
Posts: 23
Joined: Fri Jun 18, 2021 9:55 pm
Has thanked: 11 times
Been thanked: 1 time

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Unread post by stefer09 »

venice wrote: Fri Jul 30, 2021 9:50 am Google Sheet updated
cworld2j is still set as "no" btw (Adventure Quiz: Capcom World 2)
User avatar
venice
Top Contributor
Posts: 785
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 276 times
Been thanked: 277 times

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Unread post by venice »

stefer09 wrote: Fri Jul 30, 2021 1:09 pm cworld2j is still set as "no" btw (Adventure Quiz: Capcom World 2)
I added Capcom World 2 as an new entry.
I will fix this later.

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

stefer09
Posts: 23
Joined: Fri Jun 18, 2021 9:55 pm
Has thanked: 11 times
Been thanked: 1 time

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Unread post by stefer09 »

Ah that's why, ok thanks :)
User avatar
Moondandy
Top Contributor
Posts: 535
Joined: Mon May 25, 2020 2:14 am
Location: Edinburgh, Scotland
Has thanked: 32 times
Been thanked: 101 times

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Unread post by Moondandy »

stefer09 wrote: Fri Jul 30, 2021 12:50 pm Yeah but a lot of the ones that don't have a picture yet, don't have the core name in that column...
Hi there, I knocked up this sheet and also added in a load that I know developers are working on, or reliable ones have said they are going to be working (i.e. JT). If you look then those cores are marked "JT W.I.P." which is Jotego work in progress, so they don't exist yet but will (hoefully) in the not too distant future.

One that I did mark as YES that has no name is the ScummVM one if someone wants to add a name for that (assuming it did get added to the repro).

Glad she sheet has come in handy and if there is anything that could make it better then please say, feedback very welcome.
stefer09
Posts: 23
Joined: Fri Jun 18, 2021 9:55 pm
Has thanked: 11 times
Been thanked: 1 time

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Unread post by stefer09 »

Moondandy wrote: Fri Jul 30, 2021 5:10 pm Glad she sheet has come in handy and if there is anything that could make it better then please say, feedback very welcome.
Hey thanks for the sheet! One quick question, I have Billiard in my list of arcade games... on the Mister Github, I only see one mention of a Billiard arcade core, and it's under TIA-MC1. The MRA I have pulled up with the update all script (mind you, i used the arcade rename option), I see the game Billiard, with the core name "bilyard". Is line 45 in the google sheet (as of now) an error, or am I missing a core in my setup?

5HvepoN.png
You do not have the required permissions to view the files attached to this post.
User avatar
venice
Top Contributor
Posts: 785
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 276 times
Been thanked: 277 times

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Unread post by venice »

@stefer09
Could you please add the picture names to the google sheet if you create new pictures? That will be helpful!
Ask Moondandy fo write-access if you like.

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

stefer09
Posts: 23
Joined: Fri Jun 18, 2021 9:55 pm
Has thanked: 11 times
Been thanked: 1 time

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Unread post by stefer09 »

@Moondandy may i have write access please? (see venice's comment above)
Post Reply