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

Showcase builds, discuss cases, embedding MiSTer into existing computer cases.
User avatar
RealLarry
Top Contributor
Posts: 883
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 120 times
Been thanked: 386 times

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

Unread post 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.
Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
warham
Posts: 32
Joined: Sat Aug 01, 2020 11:29 pm
Been thanked: 9 times

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

Unread post 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.
User avatar
RealLarry
Top Contributor
Posts: 883
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 120 times
Been thanked: 386 times

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

Unread post 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:
You do not have the required permissions to view the files attached to this post.
Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
User avatar
salamantecas
Posts: 108
Joined: Sat Feb 26, 2022 8:31 pm
Has thanked: 110 times
Been thanked: 14 times

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

Unread post by salamantecas »

my alternative pic for gamate
You do not have the required permissions to view the files attached to this post.
User avatar
RealLarry
Top Contributor
Posts: 883
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 120 times
Been thanked: 386 times

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

Unread post 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.
Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
User avatar
salamantecas
Posts: 108
Joined: Sat Feb 26, 2022 8:31 pm
Has thanked: 110 times
Been thanked: 14 times

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

Unread post 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
You do not have the required permissions to view the files attached to this post.
User avatar
RealLarry
Top Contributor
Posts: 883
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 120 times
Been thanked: 386 times

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

Unread post 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...
Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
Sliff2000
Posts: 28
Joined: Mon Nov 15, 2021 4:18 am
Has thanked: 6 times
Been thanked: 6 times

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

Unread post 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
Sliff2000
Posts: 28
Joined: Mon Nov 15, 2021 4:18 am
Has thanked: 6 times
Been thanked: 6 times

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

Unread post by Sliff2000 »

All set,, sorry false alarm.
User avatar
venice
Top Contributor
Posts: 788
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 278 times
Been thanked: 278 times

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

Unread post by venice »

Let us know what you did to solve your problem!

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

Sliff2000
Posts: 28
Joined: Mon Nov 15, 2021 4:18 am
Has thanked: 6 times
Been thanked: 6 times

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

Unread post by Sliff2000 »

Unfortunately I don't really know...I was trying on my mac then switched to windows and everything went flawless.
User avatar
venice
Top Contributor
Posts: 788
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 278 times
Been thanked: 278 times

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

Unread post 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.

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

User avatar
RealLarry
Top Contributor
Posts: 883
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 120 times
Been thanked: 386 times

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

Unread post by RealLarry »

...first part of new pictures:
You do not have the required permissions to view the files attached to this post.
Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
User avatar
RealLarry
Top Contributor
Posts: 883
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 120 times
Been thanked: 386 times

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

Unread post by RealLarry »

...and part two. Done. Anything left? :)
You do not have the required permissions to view the files attached to this post.
Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
User avatar
Moondandy
Top Contributor
Posts: 535
Joined: Mon May 25, 2020 2:14 am
Location: Edinburgh, Scotland
Has thanked: 32 times
Been thanked: 102 times

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

Unread post 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.
User avatar
RealLarry
Top Contributor
Posts: 883
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 120 times
Been thanked: 386 times

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

Unread post 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 :)
Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
User avatar
RealLarry
Top Contributor
Posts: 883
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 120 times
Been thanked: 386 times

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

Unread post by RealLarry »

Uh, bad yield. Very old and almost unknown games. Better luck next time! :)
You do not have the required permissions to view the files attached to this post.
Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
User avatar
salamantecas
Posts: 108
Joined: Sat Feb 26, 2022 8:31 pm
Has thanked: 110 times
Been thanked: 14 times

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

Unread post 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
You do not have the required permissions to view the files attached to this post.
User avatar
venice
Top Contributor
Posts: 788
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 278 times
Been thanked: 278 times

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

Unread post 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.

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

User avatar
salamantecas
Posts: 108
Joined: Sat Feb 26, 2022 8:31 pm
Has thanked: 110 times
Been thanked: 14 times

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

Unread post 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
User avatar
salamantecas
Posts: 108
Joined: Sat Feb 26, 2022 8:31 pm
Has thanked: 110 times
Been thanked: 14 times

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

Unread post 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
You do not have the required permissions to view the files attached to this post.
User avatar
venice
Top Contributor
Posts: 788
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 278 times
Been thanked: 278 times

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

Unread post by venice »

Running two tty2oled displays parallel is currently not supported as you only have one INI file for the setup.

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

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

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

Unread post 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.

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

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

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

Unread post 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.

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

Vendest
Posts: 9
Joined: Wed Jul 06, 2022 2:17 pm
Has thanked: 2 times

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

Unread post 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.
User avatar
venice
Top Contributor
Posts: 788
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 278 times
Been thanked: 278 times

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

Unread post by venice »

Do you have a link or some pictures of the board?

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

Vendest
Posts: 9
Joined: Wed Jul 06, 2022 2:17 pm
Has thanked: 2 times

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

Unread post 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/
You do not have the required permissions to view the files attached to this post.
User avatar
venice
Top Contributor
Posts: 788
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 278 times
Been thanked: 278 times

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

Unread post 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?

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

Vendest
Posts: 9
Joined: Wed Jul 06, 2022 2:17 pm
Has thanked: 2 times

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

Unread post 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.
User avatar
venice
Top Contributor
Posts: 788
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 278 times
Been thanked: 278 times

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

Unread post by venice »

Use the „Connection Scheme Devkitc V4 and SSD1322“ with your Board.

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

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

Post Reply