tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)
- 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)
Any progress?
Make sure Pin 1 has correct GND.
This Pin was more than once the showstopper.
Make sure Pin 1 has correct GND.
This Pin was more than once the showstopper.
-
- Posts: 9
- Joined: Sun May 24, 2020 7:23 pm
Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)
Hi Venice,
Unfortunately not. I have checked Pin 1 again with a multimeter and its definitely getting ground. Mmm.
Regards
Paul
Unfortunately not. I have checked Pin 1 again with a multimeter and its definitely getting ground. Mmm.
Regards
Paul
- 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)
The wiring in general looks good to me but I would remove the "blob of solder".
Try to build something like this...
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
Try to build something like this...
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.
-
- 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)
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 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
-
- Posts: 9
- Joined: Sun May 24, 2020 7:23 pm
Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)
Hi,
I tidied up the Ground mess and created a 8 way Dupont cable.
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
I tidied up the Ground mess and created a 8 way Dupont cable.
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.
- 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)
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
If you like to build your own Display maybe you can use d.ti's new PCB Rev1.2 . 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.
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
If you like to build your own Display maybe you can use d.ti's new PCB Rev1.2 . 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.
You do not have the required permissions to view the files attached to this post.
- 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)
Maybe you can ask around if someone is able to test your display if you let us know where you live, if you like.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.
-
- Posts: 9
- Joined: Sun May 24, 2020 7:23 pm
Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)
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
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
- 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)
The day I launch a color Oled screen to use with Mister I'll abandon i2c2oled! ^_^
Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)
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. 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!
- 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)
Nice work! Any downloadable sources for the pcb's and cases?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. 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!
Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)
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.
Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)
Where are you located? My friend is after a tty2oled setupOnCor wrote: ↑Wed Jan 26, 2022 12:28 pmNot 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.
- 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)
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.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.
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.
You do not have the required permissions to view the files attached to this post.
- 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)
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
See viewtopic.php?p=39369#p39369
Double check this Github issue for a manual fix
https://github.com/mrchrisster/MiSTer_SAM/issues/95
- 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)
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.
- 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)
That did the trick. Thanks!
Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)
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.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.
- 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)
Thx. If you like to use random effects going from Logo to Text change lineLamerDeluxe 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.
Code: Select all
#echo "CMDCLST,0,0" > "${ttydevice}" # 0 = No effect
Code: Select all
#echo "CMDCLST,-1,0" > "${ttydevice}" # -1 = Random effect
- 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)
Oh sorry, apparently that was a back-up of a slightly older version.
- 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)
Would you post your recent version?
- 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)
Would you like to share your PCB as Open Source Hardware?
Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)
The Gerber files for the PCB can be found here.
- 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)
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.
- 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)
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
You do not have the required permissions to view the files attached to this post.
-
- 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)
Hi,
Would you have any PCBs left?
- 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)
Here is my slightly modified Version.LamerDeluxe wrote: ↑Mon Jan 31, 2022 2:32 pm Here it is. I added a fade-in of the game text as well.
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=""
}
MiSTer Arcade doesn't work for me.
You do not have the required permissions to view the files attached to this post.
- 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)
This is working quite nicely.venice wrote: ↑Thu Feb 03, 2022 12:16 pmHere is my slightly modified Version.LamerDeluxe wrote: ↑Mon Jan 31, 2022 2:32 pm Here it is. I added a fade-in of the game text as well.
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
If you like try and report!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="" }
MiSTer Arcade doesn't work for me.
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.
- 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)
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.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.