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

Showcase builds, discuss cases, embedding MiSTer into existing computer cases.
Reg
Posts: 129
Joined: Mon Mar 22, 2021 11:38 am
Has thanked: 64 times
Been thanked: 36 times

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

Unread post by Reg »

Hey ! I see the one I set you there... :)

User avatar
venice
Top Contributor
Posts: 788
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 280 times
Been thanked: 279 times

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

Unread post by venice »

venice wrote: Tue Aug 27, 2024 5:12 pm

Found it :mrgreen:

Here my config which works with tty2oled and with or without the TapTo Device connected!

First, the ttyUSB Devices.
The first Device in the list is my tty2oled Display, the second is the TapTo Reader.

Code: Select all

/root# dmesg | grep tty
[    1.973877] usb 1-1.2: cp210x converter now attached to ttyUSB0
[    2.190865] usb 1-1.3: cp210x converter now attached to ttyUSB1

Both using an cp210x USB-Serial Chip.

And my tapto.ini File in /media/fat/Scripts/
I have disabled the probing and set the Serial to the correct device.

Code: Select all

[tapto]
connection_string=
allow_commands=false
disable_sounds=false
#probe_device=true    #line commented out
exit_game=false
exit_game_blocklist=
exit_game_delay=0
debug=false
api_port=7497
api_basic_auth=

#serial interface set and probing disabled
reader="pn532_uart:/dev/ttyUSB1
probe_device=false

[systems]

No need for a delay or to change the boot order.
Nothing complicate I think.

//Edit
This configuration is based on my hardware, yours can be different.

Can someone confirm a working tty2oled/TapTo setup based on my HowTo?

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

Missus
Posts: 185
Joined: Fri Jan 27, 2023 12:45 am
Has thanked: 48 times
Been thanked: 43 times

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

Unread post by Missus »

venice sent pm

pandoff
Posts: 1
Joined: Sat Nov 02, 2024 10:01 am

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

Unread post by pandoff »

Hi,

I've been working on a fun project based on tty2oled :)
I have put a tapto reader (PN532 module) and an OLED screen into the case of my old game boy (I had bought a new case for her).
The idea is to run the games by inserting the card into the cartridge slot of the game boy, and having the core displayed on the screen.

inthehunt-small.jpg

Game boy's screen being square, I had to find an OLED screen being squared, and adapt the tty2oled's display to this ratio.

I used the 1.54inch LCD 240x240 module of Waveshare (https://www.waveshare.com/1.54inch-LCD-Module.htm).
It needs the ST7789 driver instead of SSD1322.
I couldn't find a screen fitting better the game boy's screen (I found this model of screen into this article: https://www.youmaketech.com/raspberry-pi-pico-gameboy/).

I used an "Arduino Nano ESP32" (an ESP32 in the form factor of an Arduino nano) so that it fits into the battery's compartment of the game boy.
That one is recognized at ttyACM0 instead of ttyUSB0.

I have forked venice's tty2oled project:
https://github.com/coded-with-claws/MiS ... ree/st7789
=> Directory MiSTer_SSD1322_ST7789_USB

I coded into the "USB" .ino file to make it support ST7789 in addition to SSD1322.
So there are new #define directives in the .ino to specify either SSD1322 or ST7789.
There is also a #define to use a green theme and to display the tty2oled logo sliding from top to center when booting (like Nintendo's logo) to feel like being on GB DMG :)
And there is a #define whether to display tapto's logo (in case someone only uses the ST7789 screen).

boot_tty2oled-small.jpg

It's now in a state of working, and I also checked the non-regression on a SSD1322.
I still have cases when after loading a few cores, the loading of new cores is ignored by the tty2oled. I don't know if I broke something or if it was an existing issue. I don't know yet how to diagnose this.

I wish I could load Game boy games with their real cartridge. I have put a NFC sticker inside a cartridge, but it isn't detected by the NFC reader. Those stickers are detected if I directly insert them without a cartridge, so it seems to be a sensitivity or interference issue.
=> Does anyone know how to increase the "gain" of the PN532 module?

@venice:

  • Are you interesting in merging that into your project? If so, I can propose a pull request ;)
  • I had issues with the tapto's probing, which were fixed thanks to your guideline into the wiki (disabling probing).
  • Thanks a lot for all your work on tty2oled it's so great :)

I'll be happy to get feedbacks from the community :)

A short video to see it in action:

Boot in game boy's theme:

A last video to show the whole usage (sorry that it's long but MiSTer needs to finish booting in order to read the tapto tag):

e2e-low.mp4
You do not have the required permissions to view the files attached to this post.
User avatar
RealLarry
Top Contributor
Posts: 888
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 121 times
Been thanked: 387 times

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

Unread post by RealLarry »

There were nothing really new to play the tuba for months but a little has happened, so here there are the last new ones

montage.jpg
You do not have the required permissions to view the files attached to this post.
Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
niallquinn
Posts: 149
Joined: Wed Jun 05, 2024 4:54 pm
Has thanked: 148 times
Been thanked: 34 times

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

Unread post by niallquinn »

RealLarry wrote: Mon Nov 04, 2024 10:38 am

There were nothing really new to play the tuba for months but a little has happened, so here there are the last new ones

montage.jpg

Play the tuba? Ompa, Ompa, Ompa. :)

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

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

Unread post by RealLarry »

niallquinn wrote: Mon Nov 04, 2024 12:23 pm
RealLarry wrote: Mon Nov 04, 2024 10:38 am

There were nothing really new to play the tuba for months but a little has happened, so here there are the last new ones

montage.jpg

Play the tuba? Ompa, Ompa, Ompa. :)

Yeah, something like a fanfare... - or this evergreen :lol:

2024-11-04_13-38.png
You do not have the required permissions to view the files attached to this post.
Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
Post Reply