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

Showcase builds, discuss cases, embedding MiSTer into existing computer cases.
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 »

Moondandy wrote: Wed Jul 28, 2021 7:43 pm
Looks great, where about did you source your screws and pins from?
sorry im late.

i buy this insert nut from aliexpress.

US $2.97 15% Off | Heat Set Insert Nut Female Thread Brass Knurled Inserts Nuts Embed Parts Pressed Fit into Holes for 3D Printing M3 50Pcs
https://www.aliexpress.com/item/1005002526998853.html

size : M3 D3.6 L6
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 »

Many thanks for that that, much appreciated!
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 »

Just a thought, for the GBA and GB 2P cores and the unofficial NES, MS and Megadrive 3D cores, is it worth just copying the main core images and renaming them accordingly and putting those in the repo?
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 »

Is the corename different to the 1P Version?

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 »

GAMEBOY2P and GBA2P Pictures ready for the Updater.
Are the 3D Cores already released?

The Updater got a fix supporting Picture Names with Spaces like "Clean Sweep.xbm".
Thanks RealLarry ;)

If you have an empty file called "Clean" in your Picture folder you can delete it.

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 Aug 05, 2021 4:43 pmThe Updater got a fix supporting Picture Names with Spaces like "Clean Sweep.xbm".
Thanks RealLarry ;)
Always at service, Bro'!
Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
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 »

Yeah the GBA and GC 2 player cores are both released, I think both are in Main now. They aren't included in the official update script to not confuse people (which I personally would prefer them to be).

The 3D cores aren't official, and won't make it into main as they are apparently a bit hacky in order to make them work, but certainly SMS and NES are working well by all accounts I have seen.

Has anyone made Japanese NES and SNES variants for Famicom and Super Famicom? Conscious of the fact the table doesn't really accommodate alternates too well.
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 »

See viewtopic.php?p=25641#p25641 for JP Style Pics.
I don‘t know if they are official ones but they looking really cool.

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 »

Nice, those look ace!
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 »

Hi,
the new Command Mode makes the tty2oled Display really universal.
If you like use it with Windows and Powershell.

Hello World :)

Code: Select all

#
# PowerShell tty2oled Serial Test
#

$serial = New-Object System.IO.Ports.SerialPort
$serial.PortName = "COM22"
$serial.BaudRate = "115200"
$serial.Parity = "None"
$serial.DataBits = 8
$serial.StopBits = 1
$serial.ReadTimeout = 1000

$serial.Open()
$serial.WriteLine("CMDCLS")
$serial.WriteLine("Hello World")
$serial.Close()
You can try Clock01.ps1 if your display is connected to your Windows PC as well.
https://github.com/venice1200/MiSTer_tt ... lock01.ps1

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 »

New Picture "Spelunker" by stefer09.
Many Thx :)

Picture for Input-Tester renamed from "InputTester" to "InputTest".
New Picture for the Alternative ZX Spectrum 48K FPGA implementation.

//Edit
Made some Pictures more readable (Crater Raider, Cyberbots).

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 »

Been trying to keep up with the new and upcoming cores and add them to the sheet, there are a couple of new computer cores Compukit UK101 and Interact Home Computer and lots of arcade cores.

There are a few more that could use existing images:

Ultrawide versions of the 2P Gameboy core:
viewtopic.php?f=20&p=31281#p31281

Jotego has two SD ram checkers which could use the same image as memtest:
https://github.com/jotego/jtbin/blob/ma ... 210108.rbf
https://github.com/jotego/jtbin/blob/ma ... 210108.rbf

I put a note on the sheet, but wanted to flag, did the ScumVM image make it into the repo? I marked it as yes awhile back, but actually I am not sure it is actually in there and needs its file name added.
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: Mon Aug 16, 2021 7:19 pm

There are a few more that could use existing images:

Ultrawide versions of the 2P Gameboy core:
viewtopic.php?f=20&p=31281#p31281
They could use the same, or I (or someone else) could edit the current one to add a "2P" indication somewhere on it. I might work on that later tonight or tomorrow night...
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 »

Right now the 2P versions of the GBA and GB cores are using the same images as the main GBA and GC cores, respectively.
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 »

I already build these Pictures about an week before and just added an „2P“.
https://github.com/venice1200/MiSTer_tt ... /GBA2P.xbm
https://github.com/venice1200/MiSTer_tt ... EBOY2P.xbm
GAMEBOY2P.png
GBA2P.png

The ScummVM picture was added by RealLarry.
https://github.com/venice1200/MiSTer_tt ... cummvm.xbm

I will add my ones as „alt“ Versions tomorrow.

//Edit
Uploaded my Alternative ScummVM Picture Versions.
https://github.com/venice1200/MiSTer_tt ... alt_BW.xbm
https://github.com/venice1200/MiSTer_tt ... alt_WB.xbm

//Edit2
New Picture for Chip-8 and Epoch's Galaxy II available.

Everything documented in the Google Sheet.
Use the Updater to get all new Pictures.
You do not have the required permissions to view the files attached to this post.

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

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 »

Hello together,

venice, RealLarry and I are proud to announce the next integration level for tty2oled:

d.ti_small_tty2oled_wroom_32d.jpg

The PCBA connects directly to the 3.12" display. No further adapter/MCU boards needed. The design relies on ESP32-WROOM-32D module with Micro USB Socket at back side. Additional SPI and I2C Sockets available for further hardware extension:

img_20210814_12211278krx.jpg

The project is free to use. Project files (including case) are available on Github: KiCad Project / Gerber Files / BOM / Schematics / Case / Assembly Instructions

Greetings d.ti
You do not have the required permissions to view the files attached to this post.
Find my projects on Github: https://github.com/dtimber/
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 »

:twisted:
d.ti wrote: Mon Aug 23, 2021 3:57 pm Hello together,

venice, RealLarry and I are proud to announce the next integration level for tty2oled:

The PCBA connects directly to the 3.12" display. No further adapter/MCU boards needed. The design relies on ESP32-WROOM-32D module with Micro USB Socket at back side. Additional SPI and I2C Sockets available for further hardware extension:

The project is free to use. Project files (including case) are available on Github: KiCad Project / Gerber Files / BOM / Schematics / Case / Assembly Instructions

Greetings d.ti
This looks amazing. How do I go about getting one of these PCBs made up? Thanks
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 »

You can order 5 PCBs for 8 $ from JLCPCB. For the electronic components I recommend sourcing the from LCSC.
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 »

MegaDrive Picture fixed.

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 »

Are there any benefits of using this new ESP32-WROOM-32D design over the one people have previously been using, save not needing a board?

A couple of low hanging fruit, these two memtests from Jotego could use the existing Memtest image:

https://github.com/jotego/jtbin/blob/ma ... 210108.rbf
https://github.com/jotego/jtbin/blob/ma ... 210108.rbf
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 »

...do you know the corenames ?

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

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 »

@Moondandy:

If you already own a tty2oled that fits your need, there is no benefit using the ESP32-WROOM-32D design.

The design comes in handy if you:

-don't want additional adapter PCB
-want USB connector on the backside
-need additional connectors for hardware extension using I2C/SPI
Find my projects on Github: https://github.com/dtimber/
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 »

venice wrote: Tue Aug 24, 2021 6:20 pm ...do you know the corenames ?
Yes, they are jtsdram48 and jtsdram96

Thanks for clarifying d.ti!
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 »

Gameboy2Pultrawide could use the game boy 2 player image as well, you can grab that one from here:
viewtopic.php?f=20&p=31281#p31281

Is currently at the bottom of the sheet.
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 »

jtsdram48 and jtsdram96 are done.

You can find here https://github.com/venice1200/MiSTer_tt ... s/XBM_Menu
some alternative MENU Pictures for your /media/fat/tty2oledpics/pri Folder.

//Edit
New Picture for Choplifter by RealLarry

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

User avatar
WiteWulf
Posts: 42
Joined: Tue Feb 09, 2021 3:09 pm
Has thanked: 13 times
Been thanked: 10 times

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

Unread post by WiteWulf »

I've been observing some strange interactions between my tty2oled and other hardware in my MiSTer setup recently and after chatting about it on the discord it was suggested I post about it here.

MiSTer Configuration:
128MB RAM
Digital IO board v1.2
USB Hub v2.1
- K400+ keyboard dongle
- bluetooth dongle
- 2.4GHz M30 controller dongle
- tty2oled (TTGO-T8 with SSD1322 on 6" USB cable)
MT32-pi (on 6" USB cable)
Wired ethernet connection
HDMI via CEC blocker to Sony sounder and LG OLED55B8

The MiSTer, MT32-pi and tty2oled are all running the most up to date software releases as of this morning 27/8/21

First problem:
With the tty2oled connected and running, at boot the M30 controller is unresponsive, but if I disconnect and reconnect the M30 dongle it works. Rebooting the MiSTer displays the same behaviour, controller is unresponsive until the dongle is replugged. With the tty2oled unit disconnected the behaviour is not observed.

Second problem:
With the tty2oled connected and running, spurious level meter activity is sometimes observed on the MT32-pi. This can be a single meter rising and falling or all meters showing lots of activity, eventually followed by a "sysex overload" message and the MT32-pi appearing to reboot. d0pefish stated this was down to something "wiggling" the serial port pin that the MT32-pi uses to communicate with the MiSTer. Others suggested it may be down to RF interference from a noisy OLED board on the tty2oled, so I connected it up via a 3m USB extender cable, moved the tty2oled to the opposite side of the room, and still observed the strange meters activity.

As a further experiment, while the meters were moving without any MT32-pi audio activity I disconnected the tty2oled from the USB cable and the behaviour persisted. I took this further and reset the MiSTer using the button on the Digital IO board and the meter activity persisted until the MT32-pi was initialised.

At one point while cycling through cores to precipitate the behaviour the MT32-pi display became completely corrupted and shifted. Again, d0pefish attributed this to corruption of the i2c data connection between the pi and the display and suggested RF interference.

I'm not looking for a fix, as I hardly use the tty2oled to be honest, but wanted to present my experience in case someone else has similar issues or there's an obvious solution fix. MT32-pi and tty2oled both use serial communications, although the MT32-pi connects directly rather than via a USB serial device, so I'm really not sure.
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 »

Thanks for reporting this.
I have two systems with external powerred USB Hub's v2.1 and never had problems while my tty2oled is connected.
One system has an MT32pi connected as well. Never saw "Self Meter Moving".

Which "2.4GHz M30 controller dongle" do you use?

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 »

WiteWulf wrote: Fri Aug 27, 2021 2:32 pmSecond problem:
With the tty2oled connected and running, spurious level meter activity is sometimes observed on the MT32-pi. This can be a single meter rising and falling or all meters showing lots of activity, eventually followed by a "sysex overload" message and the MT32-pi appearing to reboot. d0pefish stated this was down to something "wiggling" the serial port pin that the MT32-pi uses to communicate with the MiSTer. Others suggested it may be down to RF interference from a noisy OLED board on the tty2oled, so I connected it up via a 3m USB extender cable, moved the tty2oled to the opposite side of the room, and still observed the strange meters activity.
I'd a similar issue some days ago after finishing and testing my MiSTer-AjSTer setup. 'till finishing up the whole setup (including mt32-pi by USB cable via user port and tty2oled) I've used a MeanWell GST40A05-P1J power supply and this was working fine. But after completing the setup with the official USB hub (Y-cable from power supply to MiSTer and hub) I could measure voltage drops down to 4.7V on one line (4.8V went fine, depending on moonphase and used drugs). Swapped the power supply against a MeanWell RS-25-5 set to 5.1V (and it's doing this and nothing other) all problems are gone and whole setup is running stable since then.

USB hub supplies BT, WiFi, Keyboard, Mouse, Joystick and tty2oled - MiSTer supplies mt32-pi
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 »

After I updated one of my MiSTer's with "Update All" today (Release 20210825) the tty2oled stops working.

I had to run the Updater again to get the Scripts back onto the MiSTer and I had to rename
/etc/init.d/S60tty2oled to /etc/init.d/S99tty2oled to get it working again.

Are there others with this problem?

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

Post Reply