Page 38 of 46

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

Posted: Sun Jun 05, 2022 10:47 am
by RealLarry
salamantecas wrote: Sun Jun 05, 2022 8:32 am I leave the image I made of ninja warrior
Yep, thanks again! Has been merged as an alternative.

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

Posted: Mon Jun 06, 2022 2:17 am
by warham
agree, needs its own thread
RealLarry wrote: Sun Jun 05, 2022 10:47 am
PM sent via Discord. I think I have to open a new thread for the tty2tft project to channel the topic.

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

Posted: Sat Jun 18, 2022 10:54 am
by RealLarry
If anybody thought that I'm dead, I have one to disappoint. While I'm working on tty2tft I did some pictures for the new cores, but hadn't time to propagate them. But here there are now:

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

Posted: Sat Jun 18, 2022 11:13 am
by salamantecas
my alternative pic for gamate

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

Posted: Sat Jun 18, 2022 11:18 am
by RealLarry
salamantecas wrote: Sat Jun 18, 2022 11:13 am my alternative pic for gamate
Hehe, it was so clear to me that something was coming from you. Thanks, mate! It made it as an alternative.

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

Posted: Sat Jun 18, 2022 5:27 pm
by salamantecas
RealLarry wrote: Sat Jun 18, 2022 11:18 am
salamantecas wrote: Sat Jun 18, 2022 11:13 am my alternative pic for gamate
Hehe, it was so clear to me that something was coming from you. Thanks, mate! It made it as an alternative.
:lol: :lol: my friend I can't stand it when I see images posted, although I have to say that lately you make very nice screens and it's getting harder and harder to give a version that surpasses it although I have a lot of fun giving my touch, this is what Venice was referring to and what was the reason.... :D

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

Posted: Sun Jun 19, 2022 4:33 am
by RealLarry
salamantecas wrote: Sat Jun 18, 2022 5:27 pm
RealLarry wrote: Sat Jun 18, 2022 11:18 am
salamantecas wrote: Sat Jun 18, 2022 11:13 am my alternative pic for gamate
Hehe, it was so clear to me that something was coming from you. Thanks, mate! It made it as an alternative.
:lol: :lol: my friend I can't stand it when I see images posted, although I have to say that lately you make very nice screens and it's getting harder and harder to give a version that surpasses it although I have a lot of fun giving my touch, this is what Venice was referring to and what was the reason.... :D
Thanks again, went to the repo as alternatives...

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

Posted: Tue Jun 21, 2022 7:25 pm
by Sliff2000
Keep on getting an error when verifying:

'OLED_DC' was not declared in this scope

on line 129: Adafruit_SSD1322 oled(256, 64, &SPI, OLED_DC, OLED_RESET, OLED_CS);


Any wisdom? Thanks

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

Posted: Tue Jun 21, 2022 7:45 pm
by Sliff2000
All set,, sorry false alarm.

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

Posted: Tue Jun 21, 2022 8:42 pm
by venice
Let us know what you did to solve your problem!

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

Posted: Wed Jun 22, 2022 4:21 pm
by Sliff2000
Unfortunately I don't really know...I was trying on my mac then switched to windows and everything went flawless.

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

Posted: Sat Jun 25, 2022 5:04 pm
by venice
Sliff2000 wrote: Tue Jun 21, 2022 7:25 pm ...
'OLED_DC' was not declared in this scope
on line 129: Adafruit_SSD1322 oled(256, 64, &SPI, OLED_DC, OLED_RESET, OLED_CS);
...
This error message appears if you have selected the wrong board in the Arduino IDE.
I have a few definitions in the sketch which are related to the supported Boards.

Code: Select all

#ifdef ARDUINO_ESP32_DEV
...
#ifdef ARDUINO_LOLIN32 
...
#if defined(ARDUINO_ESP8266_NODEMCU) || defined(ARDUINO_ESP8266_NODEMCU_ESP12E)
...
If you don't choose one of these Boards you get such Errors.

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

Posted: Tue Jun 28, 2022 3:15 am
by RealLarry
...first part of new pictures:

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

Posted: Tue Jun 28, 2022 10:26 am
by RealLarry
...and part two. Done. Anything left? :)

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

Posted: Tue Jun 28, 2022 12:20 pm
by Moondandy
Oh wow, that was quick! Good effort! I'll probably add the other similar era IREMs as it seems once we have M72 the rest should be fairly simple to implement as well.

Be worth doing Laser 500 and RCA Studio II, those are in various stages of development and we have file names.

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

Posted: Tue Jun 28, 2022 12:25 pm
by RealLarry
Moondandy wrote: Tue Jun 28, 2022 12:20 pm Oh wow, that was quick! Good effort! I'll probably add the other similar era IREMs as it seems once we have M72 the rest should be fairly simple to implement as well.

Be worth doing Laser 500 and RCA Studio II, those are in various stages of development and we have file names.
Always on service! I'm getting informed by Ms. Google if you add/change something, so I'm permanently in stand-by :)

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

Posted: Tue Jun 28, 2022 2:59 pm
by RealLarry
Uh, bad yield. Very old and almost unknown games. Better luck next time! :)

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

Posted: Mon Jul 04, 2022 6:01 am
by salamantecas
Hi guys

I have been reading all the comments about the installation of the tty2oled with the TTGO-T8 board and I have carried out the steps of both the installation of libraries in arduino and the configuration of parameters, although I have to say that I do choose the 16mb option as directly recommended It gives me a black screen so I chose the option to flash with 4mb
I have managed that instead of a black screen an image with letters mister fpga by sorgelig and a number on the left and the usb logo in the upper right corner that everything seems to indicate that it went well. I have also unchecked the option corresponding to the board code that I am programming in Arduino as recommended by venice. the transmission chip is a ch9102 that gives me problems in windows to change the driver so I have modified the ini lines
System/User INI File Options:

Option TTYDEV="/dev/ttyXXX
This is the communication Interface used by the MiSTer.
Set to TTYDEV="/dev/ttyUSBx" if your Microcontroller uses a CP210x or CH34x USB-Serial Chip <= default
Set to TTYDEV="/dev/ttyACMx" if your Microcontroller uses a CH9102 USB-Serial Chip

The thing is that the screen seems to start up fine but I only get it to show text since when it tries to load the image corresponding to the menu it simply shows something in a bad state to remain black. I'll show you a video so you can get an idea

I also leave the data that I have managed to extract from the device information in case it helps

1.341159] usb 1-1.5: New USB device found, idVendor=1a86, idProduct=55d4, bcdDevice= 4.43
[ 1.341187] usb 1-1.5: New USB device strings: Mfr=0, Product=2, SerialNumber=3
[ 1.341200] usb 1-1.5: Product: USB Single Serial
[ 1.341209] usb 1-1.5: SerialNumber: 5425003698
[ 1.343908] cdc_acm 1-1.5:1.0: ttyACM0: USB ACM device

crw-rw-rw-1 root tty 5, 0 Jul 4 06:49 /dev/tty
crw--w---- 1 root tty 4, 0 Jul 4 06:49 /dev/tty0
crw--w---- 1 root tty 4, 1 Jul 4 06:49 /dev/tty1
crw--w---- 1 root tty 4, 2 Jul 4 06:49 /dev/tty2
crw--w---- 1 root tty 4, 3 Jul 4 06:49 /dev/tty3
crw--w---- 1 root tty 4, 4 Jul 4 06:49 /dev/tty4
crw--w---- 1 root tty 4, 5 Jul 4 06:49 /dev/tty5
crw--w---- 1 root tty 4, 6 Jul 4 06:49 /dev/tty6
crw--w---- 1 root tty 4, 7 Jul 4 06:49 /dev/tty7
crw--w---- 1 root tty 4, 8 Jul 4 06:49 /dev/tty8
crw--w---- 1 root tty 4, 9 Jul 4 06:49 /dev/tty9
crw-rw---- 1 root dialout 166, 0 Jul 4 06:54 /dev/ttyACM0
crw-rw---- 1 root dialout 4, 64 Jul 4 06:49 /dev/ttyS0
crw-rw---- 1 root dialout 4, 65 Jul 4 06:49 /dev/ttyS1

any help and indication will be welcome, anyway I would have liked to use the online script to make everything easier but it does not detect the chip giving a message to reconnect the usb and run the script again I guess it is because of the controller of usb

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

Posted: Mon Jul 04, 2022 8:13 am
by venice
Which Interface do you set in your INI?

It looks to me you need to add at least
TTYDEV="/dev/ttyACM0"
to your User INI file.

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

Posted: Mon Jul 04, 2022 8:43 am
by salamantecas
venice wrote: Mon Jul 04, 2022 8:13 am Which Interface do you set in your INI?

It looks to me you need to add at least
TTYDEV="/dev/ttyACM0"
to your User INI file.
Hi Venice

I did it as you comment but I can't get it to show correct images only text

If I follow these utility instructions I can display the menu text on the screen, just text

https://github.com/venice1200/MiSTer_tt ... ki/Testing

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

Posted: Mon Jul 04, 2022 9:05 am
by salamantecas
I just did it!!! It has given me to execute the script online that never detected the screen and it has detected the port and I just flashed it correctly online and now it works. Computer mysteries or perhaps someone has reviewed the script online, whatever it is, thanks

is it possible to use 2 tty2oled screens connected at the same time and that they work together in this case a ttyACM0 and a ttyUSB0 since they have different controllers? or will he go crazy? what should i put in the user ini then. The screen with the TTGO is faster than the other

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

Posted: Mon Jul 04, 2022 10:11 am
by venice
Running two tty2oled displays parallel is currently not supported as you only have one INI file for the setup.

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

Posted: Mon Jul 04, 2022 10:40 am
by venice
But it is possible to start the tty2oled script by hand with an interface parameter.

See: https://github.com/venice1200/MiSTer_tt ... -parameter

But I haven’t tested this for a long time, maybe it doesn’t work.

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

Posted: Mon Jul 04, 2022 3:06 pm
by venice
salamantecas wrote: Mon Jul 04, 2022 9:05 am …and I just flashed it correctly online and now it works. Computer mysteries or perhaps someone has reviewed the script online, whatever it is, thanks
The Software Version 210712 on the Display was a bit too old and the used tty interface was wrong.
After you set the correct Interface the updater was able to update your display.

Changes to the “Standard“ Settings must be added to the User INI File.

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

Posted: Wed Jul 06, 2022 2:38 pm
by Vendest
Hi, would an ESP32 devkit v1 suffice for this project? I do not see a board with a matching pinout on the github.
Asking in case someone used the devkit v1 before otherwise I'll purchase one of the recommended ESP32.
Thanks.

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

Posted: Wed Jul 06, 2022 9:16 pm
by venice
Do you have a link or some pictures of the board?

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

Posted: Thu Jul 07, 2022 1:51 am
by Vendest
venice wrote: Wed Jul 06, 2022 9:16 pm Do you have a link or some pictures of the board?
Here is a picture of the board I have on hands.
Link to the pinout https://www.mischianti.org/2021/02/17/d ... and-specs/

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

Posted: Thu Jul 07, 2022 6:31 am
by venice
Looks to me more or less like a ESP32 Devkitc V4 if I compare the pinouts.

V1 TX2/RX2 = 17/16

I think it works with the Devkitc V4 connection schema.

Please try and let us know?
Do you want to use the tty2oled Updater or the Arduino IDE?

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

Posted: Thu Jul 07, 2022 7:03 am
by Vendest
Thanks, I'll give it a try.
Just to confirm that I should use the tty2oled_esp32-DevKitC_board?
I'll probably use Arduino IDE for the initial setup then use the script for updates.

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

Posted: Thu Jul 07, 2022 7:28 am
by venice
Use the „Connection Scheme Devkitc V4 and SSD1322“ with your Board.

https://github.com/venice1200/MiSTer_tt ... nd-ssd1322