Skip to content
venice1200 edited this page Apr 24, 2021 · 77 revisions

tty2oled logo is an Software Add-On for the MiSTer FPGA
showing Text or Pictures on a (OLED) Display based on the running core.
The Display is driven by an Arduino which is connected via USB to the MiSTer.

Video


πŸ’‘ The Idea πŸ’‘

At first I had the idea to add an Display which shows only the MiSTer Logo.
After a bit of searching I found the possibilty to get information about the actual loaded Core out of the file /tmp/CORENAME.
I tried tail -F /tmp/CORENAME which results in error messages so I choose cat /tmp/CORENAME in a timed loop.
Later the timed loop was replaced by an inotifywait -e modify "/tmp/CORENAME" which makes the system more reactive.

What is needed

  • An Arduino Microcontroller with enough I/O's, enough speed for the project and an and usable USB-Serial Interface.
    If you connect the Controller to the MiSTer it should generate an ttyusb [1] device on the MiSTer.
    I recommend an ESP32 with CP2101 USB-Serial Chip. If you want to use the SD Card I recommend the TTGO T8 v1.7.1.
  • An SSD1322 Display with SPI Interface
  • Some wires, an universal or pre-build PCB or an Breadboard
  • An USB Connection cable to connect the Microcontroller with the MiSTer
  • The Arduino IDE or something compatible like Platfrom IO to build the Program for the Microcontroller

[1] Some ESP32 have an USB-Serial CH340 Adapter Chip on Board which is currently (04/2021) not supported from the MiSTer.

Possible Enhancements

Use an second serial port to free up the MCU's programmer port.
Use an ESP32 with an SD Micro Slot for the Pictures Done.
Webserver for Logo Upload No longer needed because of the new USB-Version
Auto-Sync of Logos over Network (Update Script?!) Done

🚧 Work in progress 🚧

Clone this wiki locally