Page 10 of 46

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

Posted: Wed Jun 23, 2021 4:25 am
by Mellified
I picked up this 2-pack of in-line microUSB power switches so I can turn my tty2oled screen on and off independently from the MiSTer. Thought it might be of interest to some of you!

https://www.amazon.com/dp/B077JYXZLL/

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

Posted: Wed Jun 23, 2021 12:00 pm
by venice
Mellified wrote: Wed Jun 23, 2021 4:25 am ...if interest to some of you!
Thx for the Link.

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

Posted: Wed Jun 23, 2021 1:01 pm
by venice
Picture Update
stefer09 moved the TurboGrafx16 Logo to the XBM_US Pictures and added an PCEngine Picture to XBM.

//Edit
stefer09 added Graphic Versions of Armored Car, Atlantis 2 and Beastie Feastie.

All Pictures available through the Updater or from
https://github.com/venice1200/MiSTer_tt ... ctures/XBM
https://github.com/venice1200/MiSTer_tt ... s/XBM_Text
https://github.com/venice1200/MiSTer_tt ... res/XBM_US

//Edit 2
stefer09 added new Pictures 1943, 1943 Kai, 1943 JPN, 1943 Mark II and Graphic Versions for Bezerk and BigKong.
Many Thanks

305 ;)

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

Posted: Mon Jun 28, 2021 10:36 am
by d.ti
Finished my 3D-printed case today. Just wanted to say thank you. :)

img_20210628_1016395zk1n.jpg

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

Posted: Mon Jun 28, 2021 5:59 pm
by venice
d.ti wrote: Mon Jun 28, 2021 10:36 am Finished my 3D-printed case today. Just wanted to say thank you. :)
You are welcome :D

Your case looks good!
Did you share your case design somewhere?

Did you use one of the PCBs or how did you build it?
And can I use the picture for the gallery?

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

Posted: Mon Jun 28, 2021 6:42 pm
by d.ti
I've designed my own PCB:

tty2oled_esp32-ttgo-t3gj9n.jpg

Kicad project is within the attachments. I also attached the case design. Within the case I've used foam to stop the Display/MCU from moving:

img_20210628_203503csjrn.png

Please feel free to use the picture(s) for the gallery.

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

Posted: Mon Jun 28, 2021 8:06 pm
by venice
d.ti wrote: Mon Jun 28, 2021 6:42 pm I've designed my own PCB
Very well made!
Thanks for sharing.

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

Posted: Thu Jul 01, 2021 3:33 pm
by venice
The USB Testing Version got an small update.
https://github.com/venice1200/MiSTer_tt ... SB_Testing

Now you can Rotate the Display Content by 180 degrees if you need/like.
You need to set the new INI Option "ROTATE" to "yes" or run the Command

Code: Select all

echo "CMDROT,1" > /dev/ttyUSB0

Code: Select all

echo "CMDROT,0" > /dev/ttyUSB0
or an restart returns the Display back to normal.

Was someone able to test the testing already ?

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

Posted: Sun Jul 04, 2021 10:35 am
by zinjin21
Great!!!

Thank you for your support!
I hope the ch340 is supported as soon as possible.

I used the ESP8266 NodeMCU CP2102.
I had a pcb for NodeMCU V3 but it was not available.
BE795F28-4E37-40EC-85C3-3A41A4390032.jpeg

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

Posted: Sun Jul 04, 2021 2:40 pm
by venice
Hi@all,
is someone using the SD Version?
Please let me know.

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

Posted: Mon Jul 05, 2021 12:11 am
by zinjin21
d.ti wrote: Mon Jun 28, 2021 6:42 pm I've designed my own PCB:


tty2oled_esp32-ttgo-t3gj9n.jpg


Kicad project is within the attachments. I also attached the case design. Within the case I've used foam to stop the Display/MCU from moving:


img_20210628_203503csjrn.png


Please feel free to use the picture(s) for the gallery.

It looks really cool, I want to make this.
Can you tell me the dimensions of the gold nut on the 3D Print case?
Can I get the PCB file as a Gerber file?

thank you.

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

Posted: Mon Jul 05, 2021 7:17 pm
by d.ti
Hi zinjin21,

please find the Gerber files within the attachment. I've used M3 nuts with an outside diameter of 4.6 mm and 6 mm length.

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

Posted: Mon Jul 05, 2021 11:47 pm
by zinjin21
d.ti wrote: Mon Jul 05, 2021 7:17 pm Hi zinjin21,

please find the Gerber files within the attachment. I've used M3 nuts with an outside diameter of 4.6 mm and 6 mm length.
Hi! d.ti!!

Thank you!!! 감사합니다!!

I'll post a picture when it's done.

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

Posted: Tue Jul 06, 2021 5:27 pm
by venice
zinjin21 wrote: Sun Jul 04, 2021 10:35 am Great!!!

Thank you for your support!
I hope the ch340 is supported as soon as possible.

I used the ESP8266 NodeMCU CP2102.
I had a pcb for NodeMCU V3 but it was not available.
Yes, Great :D
Did you had problems to get it working?

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

Posted: Wed Jul 07, 2021 5:06 am
by zinjin21
venice wrote: Tue Jul 06, 2021 5:27 pm
zinjin21 wrote: Sun Jul 04, 2021 10:35 am Great!!!

Thank you for your support!
I hope the ch340 is supported as soon as possible.

I used the ESP8266 NodeMCU CP2102.
I had a pcb for NodeMCU V3 but it was not available.
Yes, Great :D
Did you had problems to get it working?
There is a problem.

I used the NodeMCU V3 PCB and NodeMCU V3.
The NodeMCU V3 uses a ch340 chip.(? Is the chip the right name? )

But I don't think there's a ch340 driver in Mister.

(Sorry, I'm not good at English because I'm Korean)

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

Posted: Wed Jul 07, 2021 6:39 am
by RealLarry
zinjin21 wrote: Wed Jul 07, 2021 5:06 amThere is a problem.
I used the NodeMCU V3 PCB and NodeMCU V3.
The NodeMCU V3 uses a ch340 chip.(? Is the chip the right name? )
But I don't think there's a ch340 driver in Mister.
Your're right - the driver for CH34x devices isn't compiled into MiSTer's kernel yet. I've opened an issue at Sorgelig's kernel repo to include the kernel module for the next time he'll compile and publish one and he accepted.
For the meantime I compiled my own one months ago as I'm using a NodeMCU V3 too. I've pushed this kernel to venice's repo now, so have a look to it.
To be sure that nothing can go wrong backup or rename the original kernel zImage_dtb (at /media/fat/linux/ on MiSTer's tf card) and replace the file with the repo's one. Reboot and enjoy the result :)

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

Posted: Wed Jul 07, 2021 10:52 am
by Moondandy
d.ti wrote: Mon Jun 28, 2021 6:42 pm I've designed my own PCB:


tty2oled_esp32-ttgo-t3gj9n.jpg


Kicad project is within the attachments. I also attached the case design. Within the case I've used foam to stop the Display/MCU from moving:


img_20210628_203503csjrn.png


Please feel free to use the picture(s) for the gallery.
I have just been reading through this thread about the project, it's fantastic, and love the design of this - I really want to make one now! How did you get your PCB made and how much did it cost? I'm keen to order all the parts needed and make one just like this if possible.

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

Posted: Wed Jul 07, 2021 11:05 am
by zinjin21
RealLarry wrote: Wed Jul 07, 2021 6:39 am
zinjin21 wrote: Wed Jul 07, 2021 5:06 amThere is a problem.
I used the NodeMCU V3 PCB and NodeMCU V3.
The NodeMCU V3 uses a ch340 chip.(? Is the chip the right name? )
But I don't think there's a ch340 driver in Mister.
Your're right - the driver for CH34x devices isn't compiled into MiSTer's kernel yet. I've opened an issue at Sorgelig's kernel repo to include the kernel module for the next time he'll compile and publish one and he accepted.
For the meantime I compiled my own one months ago as I'm using a NodeMCU V3 too. I've pushed this kernel to venice's repo now, so have a look to it.
To be sure that nothing can go wrong backup or rename the original kernel zImage_dtb (at /media/fat/linux/ on MiSTer's tf card) and replace the file with the repo's one. Reboot and enjoy the result :)
thank you verymuch.
but… something wrong.

text out was good but menu and xmb has crrupt
1AF45CC4-D278-4156-8DF8-C4ACA0AB9C86.jpeg
5736CF60-8AA9-4A88-BCC4-8CCD50FB7BBF.jpeg

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

Posted: Wed Jul 07, 2021 1:08 pm
by venice
zinjin21 wrote: Wed Jul 07, 2021 11:05 am text out was good but menu and xmb has crrupt
We have no experience with an CH340 NodeMCU v3, so we need to test.

Which Arduino version do you run. USB or SD?

Run the command

Code: Select all

stty -F /dev/ttyUSB0 
from an MiSTer's Terminal (SSH,CLI) after the tty2oled daemon has done the tty setup and post the result.

Could you try the test command bye from the Arduino Terminal or run

Code: Select all

echo "bye" > /dev/ttyUSB0
from the MiSTer's Terminal.
Double check the baudrate.
See https://github.com/venice1200/MiSTer_tt ... ki/Testing

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

Posted: Wed Jul 07, 2021 2:53 pm
by Moondandy
Ordered my screen and ESP32, and figured out how to order PCB boards, cost a whole £6 for 5 boards (min order), with shipping and tax to the UK. Looking forward to getting putting this together!

Thanks guys, this is ace!

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

Posted: Wed Jul 07, 2021 6:29 pm
by Moondandy
Slow day at work this afternoon, so decided to run through the Core Translation List ( https://github.com/venice1200/MiSTer_tt ... ation-List ) and cross reference with the list of (non arcade) cores in Main, and unofficial, W.I.P and under development cores I am aware of and put them in a Google sheet to see what cores have images and what don't. Pretty good coverage!

https://docs.google.com/spreadsheets/d/ ... edit#gid=0

Might be of use to people into making the images to see what is currently missing. I need to finish reading through all the wikis for the project and get my head around how it works for arcade cores, but can add those to the list later on.

If this is useful and anyone wants edit access to the file just let me know.

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

Posted: Wed Jul 07, 2021 8:15 pm
by venice
Moondandy wrote: Wed Jul 07, 2021 6:29 pm Slow day at work this afternoon, so decided to run through the Core Translation List ( https://github.com/venice1200/MiSTer_tt ... ation-List ) and cross reference with the list of (non arcade) cores in Main, and unofficial, W.I.P and under development cores I am aware of and put them in a Google sheet to see what cores have images and what don't. Pretty good coverage!

https://docs.google.com/spreadsheets/d/ ... edit#gid=0

Might be of use to people into making the images to see what is currently missing. I need to finish reading through all the wikis for the project and get my head around how it works for arcade cores, but can add those to the list later on.

If this is useful and anyone wants edit access to the file just let me know.
Maybe a google list is better than the Excel generated wiki list 8-) Could you add the picture name to the list?
Nice job, thanks.

Btw. PET is already covered ;)

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

Posted: Wed Jul 07, 2021 9:21 pm
by Moondandy
Nice one, will update later or tomorrow. Can certainly add in a names column. Ping me your email if you would like edit permissions.

A couple of questions:
Could software run on Linux like ScummVM get an image?

For arcade games that share the same core, like CPS2, do the individual games get an image or an umbrella one for the hardware they run on?

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

Posted: Wed Jul 07, 2021 10:46 pm
by zinjin21
venice wrote: Wed Jul 07, 2021 1:08 pm
zinjin21 wrote: Wed Jul 07, 2021 11:05 am text out was good but menu and xmb has crrupt
We have no experience with an CH340 NodeMCU v3, so we need to test.

Which Arduino version do you run. USB or SD?

Run the command

Code: Select all

stty -F /dev/ttyUSB0 
from an MiSTer's Terminal (SSH,CLI) after the tty2oled daemon has done the tty setup and post the result.

Could you try the test command bye from the Arduino Terminal or run

Code: Select all

echo "bye" > /dev/ttyUSB0
from the MiSTer's Terminal.
Double check the baudrate.
See https://github.com/venice1200/MiSTer_tt ... ki/Testing
HI. I’m using USB mode.
“bye” command works fine when I checked yesterday.
I think it's a boudrate issue, as you said. I'm at work now, so I'll test it after 12 hours.
Thank you!
4BCB1E7A-84D0-4FAE-8725-18D3D769E23D.jpeg

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

Posted: Thu Jul 08, 2021 3:26 am
by RealLarry
Moondandy wrote: Wed Jul 07, 2021 9:21 pmA couple of questions:
Could software run on Linux like ScummVM get an image?
Yes, but behaviour is out of tty2oled's scope. For ScummVM, for example, easily edit it's start script /media/fat/Scripts/ScummVM_2_2_0.sh and insert a line like

Code: Select all

echo "scummvm" > /tmp/CORENAME
like cores/MiSTer are doing. The only important thing is to have a picture named exactly as used by the echo command.
EDIT: Created and uploaded a scummvm logo to Venice's repo. Edited my own ScummVM startup script as explained above and it's working as expected.

For arcade games that share the same core, like CPS2, do the individual games get an image or an umbrella one for the hardware they run on?
Individual ones. You can see the used name by keeping an eye at /tmp/CORENAME. Many cores (rather MRAs) are setting this by it <setname> tag.

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

Posted: Thu Jul 08, 2021 3:54 am
by RealLarry
zinjin21 wrote: Wed Jul 07, 2021 11:05 amthank you verymuch.
but… something wrong.
text out was good but menu and xmb has crrupt
To get a "feeling" about your environment, it's best to have a look at our mini FAQ at viewtopic.php?p=25890#p25890
Please read and check this carefully, then post your results. Maybe we are getting a better comprehension about your setup and problems then. Most of the time, specially when "it works but has hickups", the culprits are cabling (bad USB cable, solder points, connections ...).

venice wrote: Wed Jul 07, 2021 1:08 pmWe have no experience with an CH340 NodeMCU v3, so we need to test.
Which Arduino version do you run. USB or SD?
NoNo, Bro'! ;) You're missing that this NodeMCU v3 is the lil' ESP8266 based brother of the ESP32 ones I'm using primarily at my site (Remeber, "yield" is the answer!) 8-)

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

Posted: Thu Jul 08, 2021 5:48 am
by zinjin21
RealLarry wrote: Thu Jul 08, 2021 3:54 am
zinjin21 wrote: Wed Jul 07, 2021 11:05 amthank you verymuch.
but… something wrong.
text out was good but menu and xmb has crrupt
To get a "feeling" about your environment, it's best to have a look at our mini FAQ at viewtopic.php?p=25890#p25890
Please read and check this carefully, then post your results. Maybe we are getting a better comprehension about your setup and problems then. Most of the time, specially when "it works but has hickups", the culprits are cabling (bad USB cable, solder points, connections ...).
Thank you~

I tested several things.
Tested yesterday and the results are
1. Not OLED Problem - It worked fine on NodeMCU CP2102.
2. Not PCB Problem - It was the same symptom when connected by line as in the case of NodeMCU CP2102.

I tested several times under the same conditions as NodeMCU CP2102.
just different NodeMCU Version. CP2102 is Good work.

I will try to connect another NodeMCU V3 tonight around 11pm (KST). Thanks!

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

Posted: Thu Jul 08, 2021 6:15 am
by RealLarry
zinjin21 wrote: Thu Jul 08, 2021 5:48 amI tested several times under the same conditions as NodeMCU CP2102.
just different NudeMCU Version. CP2102 is Good work.
I will try to connect another NodeMCU V3 tonight around 11pm (KST). Thanks!
Interesting. We (Venice and I) had a similar weired issue with two ESP32 DevKits - uploading a sketch worked, but very strange results when sending gfx to the device. Swapped to new ones and problems were gone.
Awaiting your report.

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

Posted: Thu Jul 08, 2021 6:20 am
by venice
If someone uses it, the actual "Testing" content has moved to https://github.com/venice1200/MiSTer_tt ... ee/testing

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

Posted: Thu Jul 08, 2021 8:48 am
by venice
RealLarry wrote: Thu Jul 08, 2021 3:54 am NoNo, Bro'! ;) You're missing that this NodeMCU v3 is the lil' ESP8266 based brother of the ESP32 ones I'm using primarily at my site (Remeber, "yield" is the answer!) 8-)
//Edit
V3 = ESP8266, V4 = ESP32, noted :mrgreen: