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: 739
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 264 times
Been thanked: 261 times

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

Unread post by venice »

Update USB-Version
After many testings the new USB-Version is available

Updated Components:

tty2oled INI File
  • USB Mode is the new default Mode
ESP/Arduino Program
  • Bugfixes
  • Support of the new Display Rotation Option
  • Better Support of ESP8266
  • Support of the old "att" Command Mode which will be removed in a future update
tty2oled Daemon
  • Bugfixes
  • Using new Command Mode
    => Important, you need to Update your ESP <=
  • Support of the new Display Rotation Option
  • New Picture Subfolder /media/fat/tty2oledpics/pri
    This is your Private Picture Folder. If you like to add your personal MENU picture, add it here.
  • SD-Version is still supported

Note!
Get the New INI File and set you Options.
Now update your ESP.
Then use the updater with Option SCRIPT_UPDATE=„yes“ to get the new tty2oled Daemon Script.
After this you can set SCRIPT_UPDATE to „no“ if you like.


Report Problems here.

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

Reg
Posts: 118
Joined: Mon Mar 22, 2021 11:38 am
Has thanked: 60 times
Been thanked: 31 times

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

Unread post by Reg »

Reporting in that this worked like a dream - used the OTA update as I'd put the beta one on earlier.
Update.png
Like the little version control date... :) ...ideal to know we're on the latest and greatest.

.INI file updated manually.

As ever venice, thank you for all your hard work on this.
You do not have the required permissions to view the files attached to this post.
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: Wed Jul 14, 2021 3:11 pm ESP/Arduino Program
  • Bugfixes
I'll take a look at this and hopefully update MiSTer SAM this week.
User avatar
jawler
Posts: 30
Joined: Sun May 24, 2020 7:02 pm
Has thanked: 2 times
Been thanked: 11 times

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

Unread post by jawler »

A recently finished my new Mister Case and i had to rotate the oled screen. In arduino i uploaded the sketch with rotated option R2 and it worked perfect with Venice's help.

IMG_20210711_205020.jpg
IMG_20210711_110752.jpg
You do not have the required permissions to view the files attached to this post.
User avatar
venice
Top Contributor
Posts: 739
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 264 times
Been thanked: 261 times

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

Unread post by venice »

Reg wrote: Wed Jul 14, 2021 7:21 pm Reporting in that this worked like a dream - used the OTA update as I'd put the beta one on earlier.

.INI file updated manually.
Great.
Did you update the Daemon Script aus well?
Without the Daemon Update you use the "Old Command Mode" which will be removed in a future update.
jawler wrote: Thu Jul 15, 2021 4:49 am A recently finished my new Mister Case and i had to rotate the oled screen. In arduino i uploaded the sketch with rotated option R2 and it worked perfect with Venice's help.
Nice build.
It looks like a bigger Version of my Case. Can I use the Pictures for the Gallery?
With the new Version (new ESP Program & new Daemon) you have two possibilties to Rotate your Screen.
Use the new INI Option "ROTATE" and set is to "yes" or you modify the Display Parameter U8G2_R2 to U8G2_R0 in the ESP/Arduino Program.
The second Option shows everything rotated from start, the first one initializes the Display "normal" and the Daemon send the Command to rotate.
Using the INI Option you need to use the new INI File and the new Daemon Script.

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

User avatar
jawler
Posts: 30
Joined: Sun May 24, 2020 7:02 pm
Has thanked: 2 times
Been thanked: 11 times

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

Unread post by jawler »

jawler wrote: Thu Jul 15, 2021 4:49 am A recently finished my new Mister Case and i had to rotate the oled screen. In arduino i uploaded the sketch with rotated option R2 and it worked perfect with Venice's help.
Nice build.
It looks like a bigger Version of my Case. Can I use the Pictures for the Gallery?
With the new Version you have two possibilties to Rotate your Screen.
Use the new INI Option "ROTATE" and set is to "yes" or you modify the Display Parameter U8G2_R2 to U8G2_R0 in the ESP/Arduino Program.
The second Option shows everything rotated from start, the first one initializes the Display "normal" and the Daemon send the Comman to rotate.
Using the INI Option you need to use the new INI File and the new Daemon Script.
[/quote]

Sure, you can use it. Tell me if you need more pictures.
I modified the display parameter in arduino and i changed rotation in the ini file. I'm not sure it's the right combination but it worked for me.
User avatar
venice
Top Contributor
Posts: 739
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 264 times
Been thanked: 261 times

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

Unread post by venice »

jawler wrote: Thu Jul 15, 2021 7:58 am ...
Sure, you can use it. Tell me if you need more pictures.
I modified the display parameter in arduino and i changed rotation in the ini file. I'm not sure it's the right combination but it worked for me.
Rotation Posibilities:

1) Set new INI Option ROTATE="yes"
>> You need the new ESP/Arduino Program, the new INI File and the new tty2oled Daemon Script.
The Display initializes "normal" and the Daemon send the Command to rotate.

2) Modify the ESP/Arduino Program
>> Modify the Display Parameter U8G2_R2 to U8G2_R0
Everything is rotated from system start.

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard 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 »

I just uploaded an update to Super Attract Mode which requires the latest tty2oled. With that you'll get the standard tty2oled core graphics for 10 seconds, a transition, then the game and system name are displayed. Open to suggestions for further features!

To update SAM simply run MiSTer_SAM_on.sh and let it auto-update.
Reg
Posts: 118
Joined: Mon Mar 22, 2021 11:38 am
Has thanked: 60 times
Been thanked: 31 times

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

Unread post by Reg »

venice wrote: Thu Jul 15, 2021 5:45 am Great.
Did you update the Daemon Script aus well?
Without the Daemon Update you use the "Old Command Mode" which will be removed in a future update.
Yes !

Just changed the .INI file to SCRIPT_UPDATE="yes" and ran again, thank you.
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 »

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
User avatar
venice
Top Contributor
Posts: 739
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 264 times
Been thanked: 261 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 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: 739
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 264 times
Been thanked: 261 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 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: 97 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
Posts: 231
Joined: Tue Mar 30, 2021 6:23 pm
Location: Canada
Has thanked: 16 times
Been thanked: 79 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: 739
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 264 times
Been thanked: 261 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 to me.

User avatar
venice
Top Contributor
Posts: 739
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 264 times
Been thanked: 261 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 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: 739
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 264 times
Been thanked: 261 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 to me.

User avatar
venice
Top Contributor
Posts: 739
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 264 times
Been thanked: 261 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 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: 97 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: 739
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 264 times
Been thanked: 261 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 to me.

User avatar
RealLarry
Top Contributor
Posts: 768
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 86 times
Been thanked: 329 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: 739
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 264 times
Been thanked: 261 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 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: 768
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 86 times
Been thanked: 329 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
Post Reply