Hey ! I see the one I set you there...
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 Soft&Hardware Add-On (Shows Core based Pictures on a Display)
venice wrote: ↑Tue Aug 27, 2024 5:12 pmFound it
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?
Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)
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.
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).
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):
- RealLarry
- Top Contributor
- Posts: 881
- Joined: Mon May 25, 2020 4:04 am
- Location: San Junipero/DE/Earth
- Has thanked: 120 times
- Been thanked: 385 times
Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)
There were nothing really new to play the tuba for months but a little has happened, so here there are the last new ones
-
- Posts: 136
- Joined: Wed Jun 05, 2024 4:54 pm
- Has thanked: 139 times
- Been thanked: 33 times
Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)
Play the tuba? Ompa, Ompa, Ompa.
- RealLarry
- Top Contributor
- Posts: 881
- Joined: Mon May 25, 2020 4:04 am
- Location: San Junipero/DE/Earth
- Has thanked: 120 times
- Been thanked: 385 times
Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)
Yeah, something like a fanfare... - or this evergreen