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

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

Unread post by venice »

Any progress?

Make sure Pin 1 has correct GND.
This Pin was more than once the showstopper.

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

funkychimp
Posts: 9
Joined: Sun May 24, 2020 7:23 pm

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

Unread post by funkychimp »

Hi Venice,

Unfortunately not. I have checked Pin 1 again with a multimeter and its definitely getting ground. Mmm.

Regards

Paul
User avatar
venice
Top Contributor
Posts: 785
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 276 times
Been thanked: 277 times

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

Unread post by venice »

The wiring in general looks good to me but I would remove the "blob of solder".
Try to build something like this...
gnd_bridges.png

Or try with a breakout board viewtopic.php?p=26268#p26268
Or use an generic PCB and some "enamelled wires" (isolated wires for soldering) viewtopic.php?p=24089#p24089
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 (Cardwarez) to me.

Jukk@M
Posts: 48
Joined: Wed Aug 26, 2020 2:20 pm
Location: Finland / Tampere
Has thanked: 14 times
Been thanked: 19 times

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

Unread post by Jukk@M »

funkychimp wrote: Wed Jan 19, 2022 8:32 pm Hi Venice,

Unfortunately not. I have checked Pin 1 again with a multimeter and its definitely getting ground. Mmm.

Regards

Paul
Could you disconnect the wires from the OLED display that are in the connector and then take a new picture. Leave the ground wire.
funkychimp
Posts: 9
Joined: Sun May 24, 2020 7:23 pm

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

Unread post by funkychimp »

Hi,

I tidied up the Ground mess and created a 8 way Dupont cable.
Wires2.jpg
Wires3.jpg
Again continuity is good on all grounds and there appears to be no shorts. The multimeter shows 3.3v at the OLED.

Unfortunately there is still no life from the OLED.

Managed to order in some ESP8266 (NodeMCU)s this week and tried them instead of the Devkitc V4. Again no joy. I am thinking it may be a dud OLED. I have ordered another OLED from Ali so hopefully I will get that in next week. I will report back.

Regards

Paul
You do not have the required permissions to view the files attached to this post.
User avatar
venice
Top Contributor
Posts: 785
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 276 times
Been thanked: 277 times

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

Unread post by venice »

Hi@all
my first entry in this thread is exactly one year ago.
So Happy Birthday to all tty2oled Users :)

Starting as a simple Picture Viewer we have now a full set of tools and scripts for an easy setup and usage on the MiSTer.
Many Many Thanks to all Contributors.

Some facts in release order...
Picture Viewer were you have to upload the Arduino code for every new Picture, SD-Card Version,
the Magic USB-Version, adding Contrast, Installer/Updater, INI File,Command Mode v1, d.ti Board v1.1,
Re-Structure Update, the Greyscale Update and Command Mode v2, the Flash-Update,
update-all can download the tty2oled Updater Script and the great PixViewer.
And we have 357 Monchrome and 890 Greyscale Pictures :mrgreen:

If you like to build your own Display maybe you can use d.ti's new PCB Rev1.2 ;) .
Board_v1.2_small.jpg
Take a look in the Gallery for more details and download links.
Not all components are supported yet, WIP.

And finally a map of tty2oled users around the world.
2022-01-21_tty2oled_Users.png
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 (Cardwarez) to me.

User avatar
venice
Top Contributor
Posts: 785
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 276 times
Been thanked: 277 times

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

Unread post by venice »

funkychimp wrote: Fri Jan 21, 2022 7:27 pm ...have ordered another OLED from Ali so hopefully I will get that in next week. I will report back.
Maybe you can ask around if someone is able to test your display if you let us know where you live, if you like.

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

funkychimp
Posts: 9
Joined: Sun May 24, 2020 7:23 pm

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

Unread post by funkychimp »

Hi Venice,

Yes that would be useful. I live in the UK. My new OLED will hopefully be here by the end of this week. I am kinda hoping this new OLED just works and that my first OLED is just a dud. If the new OLED does not work then I've obviously missed something somewhere.

I am using Win 11. Arduino IDE did not complete at all during the process so I assume the OS is not the issue.

Regards

Paul
User avatar
marcelosofth
Posts: 174
Joined: Wed Sep 22, 2021 10:03 pm
Location: Brazil - São Paulo
Has thanked: 8 times
Been thanked: 4 times
Contact:

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

Unread post by marcelosofth »

The day I launch a color Oled screen to use with Mister I'll abandon i2c2oled! ^_^
OnCor
Posts: 81
Joined: Mon May 25, 2020 2:43 am
Has thanked: 44 times
Been thanked: 19 times

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

Unread post by OnCor »

Hi everyone. I started this thread to show some custom cases I designed for the MiSTer, a couple of which have OLED screens running TTY2OLED. I mentioned the project there and hopefully it will bring more interest. Although there are already 90k+ views of this thread so clearly there are many in the community that follow it. :D I have been keeping a close eye on developments for several months now and am extremely grateful to Venice, RealLarry, Jukk@M, and everyone else who made TTY2OLED so awesome. It definitely is the highlight of my setup!
User avatar
RealLarry
Top Contributor
Posts: 858
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 114 times
Been thanked: 373 times

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

Unread post by RealLarry »

OnCor wrote: Wed Jan 26, 2022 3:14 am Hi everyone. I started this thread to show some custom cases I designed for the MiSTer, a couple of which have OLED screens running TTY2OLED. I mentioned the project there and hopefully it will bring more interest. Although there are already 90k+ views of this thread so clearly there are many in the community that follow it. :D I have been keeping a close eye on developments for several months now and am extremely grateful to Venice, RealLarry, Jukk@M, and everyone else who made TTY2OLED so awesome. It definitely is the highlight of my setup!
Nice work! Any downloadable sources for the pcb's and cases?
Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
OnCor
Posts: 81
Joined: Mon May 25, 2020 2:43 am
Has thanked: 44 times
Been thanked: 19 times

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

Unread post by OnCor »

RealLarry wrote: Wed Jan 26, 2022 3:48 am Nice work! Any downloadable sources for the pcb's and cases?
Not just yet. I've got extra components on hand and am putting some kits together to sell in order to help cover the cost of the 3D printer and other items I picked up for this project. I do have a handful of extra OLED screens (modified for TTY2OLED), NodeMCU modules, and adapter PCBs available as well for anyone that wants to add a screen to their current build.
lunch_box
Posts: 14
Joined: Sat Jun 27, 2020 7:15 am

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

Unread post by lunch_box »

OnCor wrote: Wed Jan 26, 2022 12:28 pm
RealLarry wrote: Wed Jan 26, 2022 3:48 am Nice work! Any downloadable sources for the pcb's and cases?
Not just yet. I've got extra components on hand and am putting some kits together to sell in order to help cover the cost of the 3D printer and other items I picked up for this project. I do have a handful of extra OLED screens (modified for TTY2OLED), NodeMCU modules, and adapter PCBs available as well for anyone that wants to add a screen to their current build.
Where are you located? My friend is after a tty2oled setup :)
OnCor
Posts: 81
Joined: Mon May 25, 2020 2:43 am
Has thanked: 44 times
Been thanked: 19 times

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

Unread post by OnCor »

lunch_box wrote: Wed Jan 26, 2022 3:01 pm Where are you located? My friend is after a tty2oled setup :)
I'm in the US (Kansas).
User avatar
Sigismond0
Posts: 339
Joined: Mon May 25, 2020 2:21 am
Has thanked: 1 time
Been thanked: 66 times

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

Unread post by Sigismond0 »

OnCor wrote: Wed Jan 26, 2022 12:28 pm Not just yet. I've got extra components on hand and am putting some kits together to sell in order to help cover the cost of the 3D printer and other items I picked up for this project. I do have a handful of extra OLED screens (modified for TTY2OLED), NodeMCU modules, and adapter PCBs available as well for anyone that wants to add a screen to their current build.
For anyone interested, this PCB was excellent. Plug-and play, no soldering, no dealing with that huge rats nest of ground wires. Works like a charm! I'll be designing a 3D printable enclosure for this PCB soon.

Only problem I have so far (and this is with TTY2OLED, not with the adapter PCB) is with the MiSTer_SAM script not working correctly. Outside of MiSTer_SAM the core graphics pop up beautifully. In MiSTer_SAM, it shows the core graphic, then swaps to this error screen instead of instead of showing the game name. Any thoughts on why? I'll be posting this in the MiSTer_SAM thread as well.

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

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

Unread post by venice »

That's an known issue and already addressed to the developers.
See viewtopic.php?p=39369#p39369

Double check this Github issue for a manual fix
https://github.com/mrchrisster/MiSTer_SAM/issues/95

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

User avatar
LamerDeluxe
Top Contributor
Posts: 1230
Joined: Sun May 24, 2020 10:25 pm
Has thanked: 876 times
Been thanked: 281 times

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

Unread post by LamerDeluxe »

I'll post my fixed script here as well. Just replace your MiSTer_SAM_on.sh with the one in the attached zip file. It also uses the newly added tty2oled transition command.
You do not have the required permissions to view the files attached to this post.
User avatar
Sigismond0
Posts: 339
Joined: Mon May 25, 2020 2:21 am
Has thanked: 1 time
Been thanked: 66 times

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

Unread post by Sigismond0 »

That did the trick. Thanks!
OnCor
Posts: 81
Joined: Mon May 25, 2020 2:43 am
Has thanked: 44 times
Been thanked: 19 times

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

Unread post by OnCor »

Sigismond0 wrote: Sun Jan 30, 2022 2:52 am For anyone interested, this PCB was excellent. Plug-and play, no soldering, no dealing with that huge rats nest of ground wires. Works like a charm! I'll be designing a 3D printable enclosure for this PCB soon.
Glad the screen kit made it to you safely. :) The PCB does make life so much easier with getting one of these displays up and running with a NodeMCU module. I ordered a bunch from JLCPCB and have them available (with or without the pin connectors) if anyone else would like one to simplify their setups. Just shoot me a PM. The support bracket to tie all the components together can be found here.
User avatar
venice
Top Contributor
Posts: 785
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 276 times
Been thanked: 277 times

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

Unread post by venice »

LamerDeluxe wrote: Sun Jan 30, 2022 9:50 am I'll post my fixed script here as well. Just replace your MiSTer_SAM_on.sh with the one in the attached zip file. It also uses the newly added tty2oled transition command.
Thx. If you like to use random effects going from Logo to Text change line

Code: Select all

#echo "CMDCLST,0,0" > "${ttydevice}"   #  0 = No effect
to

Code: Select all

#echo "CMDCLST,-1,0" > "${ttydevice}"  # -1 = Random effect

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

User avatar
LamerDeluxe
Top Contributor
Posts: 1230
Joined: Sun May 24, 2020 10:25 pm
Has thanked: 876 times
Been thanked: 281 times

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

Unread post by LamerDeluxe »

Oh sorry, apparently that was a back-up of a slightly older version.
User avatar
venice
Top Contributor
Posts: 785
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 276 times
Been thanked: 277 times

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

Unread post by venice »

Would you post your recent version?

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

User avatar
venice
Top Contributor
Posts: 785
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 276 times
Been thanked: 277 times

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

Unread post by venice »

OnCor wrote: Sun Jan 30, 2022 5:06 pm ...The PCB does make life so much easier
...I ordered a bunch from JLCPCB and have them available (with or without the pin connectors)
Would you like to share your PCB as Open Source Hardware?

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

OnCor
Posts: 81
Joined: Mon May 25, 2020 2:43 am
Has thanked: 44 times
Been thanked: 19 times

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

Unread post by OnCor »

venice wrote: Sun Jan 30, 2022 5:58 pm Would you like to share your PCB as Open Source Hardware?
The Gerber files for the PCB can be found here.
User avatar
LamerDeluxe
Top Contributor
Posts: 1230
Joined: Sun May 24, 2020 10:25 pm
Has thanked: 876 times
Been thanked: 281 times

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

Unread post by LamerDeluxe »

venice wrote: Sun Jan 30, 2022 5:55 pm Would you post your recent version?
Here it is. I added a fade-in of the game text as well.
You do not have the required permissions to view the files attached to this post.
User avatar
Sigismond0
Posts: 339
Joined: Mon May 25, 2020 2:21 am
Has thanked: 1 time
Been thanked: 66 times

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

Unread post by Sigismond0 »

OnCor wrote: Sun Jan 30, 2022 8:00 pm The Gerber files for the PCB can be found here.
A 3D printable case is now available for this PCB adapter as well. Nothing fancy, but does the job.

https://www.prusaprinters.org/prints/12 ... r-tty2oled

And here's what the PCB looks like when assembled. A little thicker than most solutions, but being plug-and-play is a dream

iHjVzZl.jpeg
You do not have the required permissions to view the files attached to this post.
RegularGary
Posts: 1
Joined: Mon May 25, 2020 5:14 am
Has thanked: 1 time

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

Unread post by RegularGary »

gojira54 wrote: Thu Nov 04, 2021 11:27 am I've got 2x TTGO T8 PCBs left - free to forum members, just cover the postage from UK =]
Hi,

Would you have any PCBs left?
User avatar
venice
Top Contributor
Posts: 785
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 276 times
Been thanked: 277 times

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

Unread post by venice »

LamerDeluxe wrote: Mon Jan 31, 2022 2:32 pm Here it is. I added a fade-in of the game text as well.
Here is my slightly modified Version.
After the logo is shown I use effect 19 (Warp) to fill the Screen completely and then clear it with random effect .
Then the text is shown using a loop from 1 to 15 (or 1..15/3 for the last line).

The major difference is that I use a function to wait for the tty2oled command response after each "echo".

Code: Select all

#Fill transition
echo "CMDCLST,19,15" > "${ttydevice}"
waitforttyack
sleep 0.2
#Clear transition
echo "CMDCLST,-1,0" > "${ttydevice}"
waitforttyack
sleep 0.5

Code: Select all

function waitforttyack() {
  #echo -n "Waiting for tty2oled Acknowledge... "
  read -d ";" ttyresponse < ${ttydevice}                # The "read" command at this position simulates an "do..while" loop
  while [ "${ttyresponse}" != "ttyack" ]; do
    read -d ";" ttyresponse < ${ttydevice}              # Read Serial Line until delimiter ";"
  done
  #echo -e "${fgreen}${ttyresponse}${freset}"
  ttyresponse=""
}
If you like try and report!
MiSTer Arcade doesn't work for me.
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 (Cardwarez) to me.

User avatar
LamerDeluxe
Top Contributor
Posts: 1230
Joined: Sun May 24, 2020 10:25 pm
Has thanked: 876 times
Been thanked: 281 times

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

Unread post by LamerDeluxe »

venice wrote: Thu Feb 03, 2022 12:16 pm
LamerDeluxe wrote: Mon Jan 31, 2022 2:32 pm Here it is. I added a fade-in of the game text as well.
Here is my slightly modified Version.
After the logo is shown I use effect 19 (Warp) to fill the Screen completely and then clear it with random effect .
Then the text is shown using a loop from 1 to 15 (or 1..15/3 for the last line).

The major difference is that I use a function to wait for the tty2oled command response after each "echo".

Code: Select all

#Fill transition
echo "CMDCLST,19,15" > "${ttydevice}"
waitforttyack
sleep 0.2
#Clear transition
echo "CMDCLST,-1,0" > "${ttydevice}"
waitforttyack
sleep 0.5

Code: Select all

function waitforttyack() {
  #echo -n "Waiting for tty2oled Acknowledge... "
  read -d ";" ttyresponse < ${ttydevice}                # The "read" command at this position simulates an "do..while" loop
  while [ "${ttyresponse}" != "ttyack" ]; do
    read -d ";" ttyresponse < ${ttydevice}              # Read Serial Line until delimiter ";"
  done
  #echo -e "${fgreen}${ttyresponse}${freset}"
  ttyresponse=""
}
If you like try and report!
MiSTer Arcade doesn't work for me.
This is working quite nicely.

EDIT: I had an (unrelated) idea: We have alternative logos for cores. What if the logos would change to the next one every x seconds (user defined), while running a core. That would be a nice incentive for more alternative logos and help against the display burning in. No idea how hard that would be to add though.
User avatar
RealLarry
Top Contributor
Posts: 858
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 114 times
Been thanked: 373 times

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

Unread post by RealLarry »

LamerDeluxe wrote: Thu Feb 03, 2022 10:52 pmEDIT: I had an (unrelated) idea: We have alternative logos for cores. What if the logos would change to the next one every x seconds (user defined), while running a core. That would be a nice incentive for more alternative logos and help against the display burning in. No idea how hard that would be to add though.
I like this idea. I had something similar in mind (turning off the display after some mins) while typing the deamon months ago, but are lacking in ideas how to realize that within the daemon. Without russian rocket science I think this would led to another daemon, which keeps an eye at the running time of the actual logo.
Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
Post Reply