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: 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 »

New Testing Version 220709T 220708T released!

Changes:
-The Screensaver Option "SCREENSAVER_LEVEL" is used to enable the shown Screensaver Pictures.
Set "SCREENSAVER_LEVEL" to one of the following to show...
1: tty2oled Logo
2: tty2oled Logo & MiSTer Logo
3: tty2oled Logo & MiSTer Logo & Little Core Logo
4: tty2oled Logo & MiSTer Logo & Little Core Logo & Time
5: tty2oled Logo & MiSTer Logo & Little Core Logo & Time & Date

I made this change for users "without RTC nor permanent internet connection (=no current time displayable)".
Idea taken from the tty2tft project.

-New font "Commodore64" used for Cores without a Picture:
IMG_8098_v2.jpg

If you like to test this Version you need to add
TTY2OLED_FW_TESTING="yes"
manually to your /media/fat/tty2oled/tty2oled-user.ini file.
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: 1239
Joined: Sun May 24, 2020 10:25 pm
Has thanked: 887 times
Been thanked: 284 times

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

Unread post by LamerDeluxe »

venice wrote: Sat Jul 09, 2022 2:43 pm New Testing Version 220709T 220708T released!

Changes:
-The Screensaver Option "SCREENSAVER_LEVEL" is used to enable the shown Screensaver Pictures.
Set "SCREENSAVER_LEVEL" to one of the following to show...
1: tty2oled Logo
2: tty2oled Logo & MiSTer Logo
3: tty2oled Logo & MiSTer Logo & Little Core Logo
4: tty2oled Logo & MiSTer Logo & Little Core Logo & Time
5: tty2oled Logo & MiSTer Logo & Little Core Logo & Time & Date

I made this change for users "without RTC nor permanent internet connection (=no current time displayable)".
Idea taken from the tty2tft project.

-New font "Commodore64" used for Cores without a Picture:
IMG_8098_v2.jpg


If you like to test this Version you need to add
TTY2OLED_FW_TESTING="yes"
manually to your /media/fat/tty2oled/tty2oled-user.ini file.
Good idea! I would personally like an option to only show the little core logo as a screen saver, possibly combined with the time and date. EDIT: Oh and the font looks great.
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: Sat Jul 09, 2022 2:43 pm New Testing Version 220709T 220708T released!

Changes:
-The Screensaver Option "SCREENSAVER_LEVEL" is used to enable the shown Screensaver Pictures.
Set "SCREENSAVER_LEVEL" to one of the following to show...
1: tty2oled Logo
2: tty2oled Logo & MiSTer Logo
3: tty2oled Logo & MiSTer Logo & Little Core Logo
4: tty2oled Logo & MiSTer Logo & Little Core Logo & Time
5: tty2oled Logo & MiSTer Logo & Little Core Logo & Time & Date

I made this change for users "without RTC nor permanent internet connection (=no current time displayable)".
Idea taken from the tty2tft project.

-New font "Commodore64" used for Cores without a Picture:
IMG_8098_v2.jpg


If you like to test this Version you need to add
TTY2OLED_FW_TESTING="yes"
manually to your /media/fat/tty2oled/tty2oled-user.ini file.

hi Venice

Does this screensaver option work in conjunction with Mister Sam? Or do you have to disable Mister Sam for it to be activated? I love the direction everything is taking with the screens, I would like to see some animation soon

a greeting

edit:

I just tried it and it works fine but I recommend disabling Mister Sam so that it works without interruptions. I do not like that the core image is seen in small size since a lot of definition is lost, I would put some option that the core image is seen in real size (the entire screen) and the centered time is also large and perhaps the date is alternated if you could do a mod like that it would definitely be my choice

to see if it is possible, changing the sizes of the images does not look really good
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 »

If you want to use tty2oled with MiSTer_SAM you have two possibilties.

1) tty2oled works normal and show available pictures, nothing more.
You are responsible to set your tty2oled Screensaver-Options correctly.
Easiest way, set the tty2oled Screensaver-Start-Option SCREENSAVER_START longer than the MiSTer_SAM Intervall.
Add the changed Option to your tty2oled-user.ini file.

2) You enable the tty2oled (i call it) "full control" in MiSTer_SAM by set
ttyenable="Yes" (Default=No) and ttyuseack="Yes" in your MiSTer_SAM.ini.
MiSTer_SAM is disabling the tty2oled Screensaver and the tty2oled Daemon automatically and take over the control of the tty2oled Display.
Works great.
This Variant has sometimes problems getting tty2oled back to normaly after you finish MiSTer_SAM.


salamantecas wrote: Sun Jul 10, 2022 9:37 am ...I would like to see some animation soon
Animations?
salamantecas wrote: Sun Jul 10, 2022 9:37 am I just tried it and it works fine but I recommend disabling Mister Sam so that it works without interruptions.
It's up to you to use MiSTer_SAM.
salamantecas wrote: Sun Jul 10, 2022 9:37 am I do not like that the core image is seen in small size since a lot of definition is lost,
...
to see if it is possible, changing the sizes of the images does not look really good
Disable the Screensaver, it's your choice.
salamantecas wrote: Sun Jul 10, 2022 9:37 am I would put some option that the core image is seen in real size (the entire screen)
Fullsize Pictures are the standard behavior of tty2oled without screensaver.
salamantecas wrote: Sun Jul 10, 2022 9:37 am and the centered time is also large and perhaps the date is alternated if you could do a mod like that it would definitely be my choice
Are you talking about the Stable or the Testing Version? What to "Mod"?

It‘s possible we talk about different things.
If so try google translate or deepl, maybe that can help us.

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

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

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

Unread post by RealLarry »

Here are my last ones...
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 »

I made 2 images to see if you like them
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 »

New Testing Version 220714T released!

Changes:
-The Screensaver Option "SCREENSAVER_LEVEL" is currently (in this testing) used to enable (I call them) "Screens" separatly.
The "SCREENSAVER_LEVEL" Value is here the addition of the following values:
1: tty2oled Logo
2: MiSTer Logo
4: Little Core Logo
8: Time
16: Date

Examples:
If you like the tty2oled Logo and the Core Logo "Screen" shown you need to set "SCREENSAVER_LEVEL" to 5 (1+4).
If you like the Core Logo and the Time "Screen" shown you need to set "SCREENSAVER_LEVEL" to 12 (4+8).
If you like the tty2oled Logo, the Core Logo and the Time "Screen" shown you need to set "SCREENSAVER_LEVEL" to 13 (1+4+8).

Maybe we add Options for easier handling to the INI Files later.

I think this is a useful solution for all 8-)

Please Test an Report.

//Edit
If the Time was not set from the MiSTer before you get „Time is not set!“.
The same for the Date.

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

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

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

Unread post by RealLarry »

salamantecas wrote: Wed Jul 13, 2022 5:44 am I made 2 images to see if you like them
I beg for pardon, but I'm not happy with them. gwar looks like cutted in half and set the top part to the right and gwar_alt1 looks to bright to me without using the white parts IMHO. But that's only my personal opinion. If other are fine with'em I'll commit them nevertheless.
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: Fri Jul 15, 2022 1:29 pm
salamantecas wrote: Wed Jul 13, 2022 5:44 am I made 2 images to see if you like them
I beg for pardon, but I'm not happy with them. gwar looks like cutted in half and set the top part to the right and gwar_alt1 looks to bright to me without using the white parts IMHO. But that's only my personal opinion. If other are fine with'em I'll commit them nevertheless.
It seems good to me I will review them when I can Larry, thanks for commenting, when I can I'll take a look at them

edit:

It is what happens for not checking on the screen how it looked, now I have checked my version so that it looks magical
I leave it for you to put it as an alternative if you wish
You do not have the required permissions to view the files attached to this post.
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: Thu Jul 07, 2022 7:28 am Use the „Connection Scheme Devkitc V4 and SSD1322“ with your Board.

https://github.com/venice1200/MiSTer_tt ... nd-ssd1322
Thanks again for your help, I confirm the DOIT devkit v1 works fine using the connection scheme for devkitc v4.
Only minor issue is when I try to update the ESP thru the script, I get an error as the ESP is in the "wrong boot mode"
Quite happy that it works as it is.
User avatar
RealLarry
Top Contributor
Posts: 881
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 120 times
Been thanked: 385 times

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

Unread post by RealLarry »

salamantecas wrote: Fri Jul 15, 2022 2:11 pm It is what happens for not checking on the screen how it looked, now I have checked my version so that it looks magical
I leave it for you to put it as an alternative if you wish
Thank you! This is a nice one and made it as an alternative.
Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
User avatar
RealLarry
Top Contributor
Posts: 881
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 120 times
Been thanked: 385 times

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

Unread post by RealLarry »

Vendest wrote: Tue Jul 19, 2022 6:43 pm
venice wrote: Thu Jul 07, 2022 7:28 am Use the „Connection Scheme Devkitc V4 and SSD1322“ with your Board.

https://github.com/venice1200/MiSTer_tt ... nd-ssd1322
Thanks again for your help, I confirm the DOIT devkit v1 works fine using the connection scheme for devkitc v4.
Only minor issue is when I try to update the ESP thru the script, I get an error as the ESP is in the "wrong boot mode"
Quite happy that it works as it is.
The "Wrong Boot Mode" can happen if the manufacturer had used wrong or cheap (or nothing at all) BOOT button and further parts connected like on the original layout made by Espressif. See here and here for an explanation. For some boards you' have to press a BOOT (or PROGRAM) button to enter flash mode, if esptool (the flash program) can't do that for your board.
And if your board hasn't a BOOT button and you're pissed off the "Wrong Boot Mode" message, you can build this "button" by yourself by using a 10k Ohm resistor connected to GPIO0 and GND to manually enter the "program mode".
Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
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 »

Thank you! the update worked as I pressed and hold down the boot button.
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 »

I released the new Stable tty2oled Version 220723.

Run the Updater to get the new tty2oled Firmware and a Script and INI Update.

Changes:
You can enable/disable the different Screensaver "Screens" separately. Set the new Options as you need them.

New Options with it's default value
  • SCREENSAVER_SCREEN_TTY2OLED="yes", enables the tty2oled Screensaver "Screen"
  • SCREENSAVER_SCREEN_MISTER="yes", enables the MiSTer Screensaver "Screen"
  • SCREENSAVER_SCREEN_CORE="yes", enables the Corename Screensaver "Screen"
  • SCREENSAVER_SCREEN_TIME="yes", enables the Time Screensaver "Screen"
  • SCREENSAVER_SCREEN_DATE="yes", enables the Date Screensaver "Screen"
If you like to disable a Screen add SCREENSAVER_SCREEN_xx="no" to your tty2oled-user.ini file.
Time & Date are only for ESP32 Systems.

New fonts "commodore64" (font 9) and "8bitclassic" (font 10).
The Commodore 64 Font is the new default font for Cores without a Picture.

Deprecated Option:
"SCREENSAVER_LEVEL"

Report Problems here.

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 »

updated at the moment everything is correct, I love the dotted letter tty2oled updating....
Samy83
Posts: 11
Joined: Sun Jul 24, 2022 3:23 pm
Been thanked: 1 time

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

Unread post by Samy83 »

Hello,

I have a problem. I updated today with "tty2oled update" and since, the image is flipped.
Even if I modify the .ini file with ROTATE="yes" or "no", nothing change ? :?:

Thanks for your help.
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 »

Can you post your Option settings from the files tty2oled-system.ini and tty2oled-user.ini ?
Which hardware do you use?
Do you use our Firmware or do you compile yourself?

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

Samy83
Posts: 11
Joined: Sun Jul 24, 2022 3:23 pm
Been thanked: 1 time

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

Unread post by Samy83 »

venice wrote: Sun Jul 24, 2022 7:51 pm

Can you post your Option settings from the files tty2oled-system.ini and tty2oled-user.ini ?
Which hardware do you use?
Do you use our Firmware or do you compile yourself?

I use your firmware

I should say that during the last update that caused the problem there was a "yes" or "no" option and going fast I chose "yes" without reading... :oops:

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 »

Your user ini contains rotate = yes .
This overrides the settings from the system ini file.

And your system ini file contains rotate = yes as well.
Default is, I think, rotate = no.

Correct the settings in your user ini file and run the updater again.

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

Samy83
Posts: 11
Joined: Sun Jul 24, 2022 3:23 pm
Been thanked: 1 time

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

Unread post by Samy83 »

I tried every possible combination between user and system ini : yes/yes, no/no, yes/no, no/yes but it doesn't solve my problem.

I think the problem comes from the question which I answered yes in the last update.
What was it ?
This "option" was not there during the last few weeks updates...
User avatar
RealLarry
Top Contributor
Posts: 881
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 120 times
Been thanked: 385 times

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

Unread post by RealLarry »

Some 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
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 »

Samy83 wrote: Mon Jul 25, 2022 11:53 am I tried every possible combination between user and system ini : yes/yes, no/no, yes/no, no/yes but it doesn't solve my problem.

I think the problem comes from the question which I answered yes in the last update.
What was it ?
This "option" was not there during the last few weeks updates...
Does the display work normally, even if it is twisted?

The “yes/no”’was the question to update your device with the latest Firmware.
I have tested the 8266 Firmware Update and the Rotate Option and it works normal for me.

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

Samy83
Posts: 11
Joined: Sun Jul 24, 2022 3:23 pm
Been thanked: 1 time

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

Unread post by Samy83 »

Yes, the image is inverted but everything else works normally.

Is it possible to go back to the previous firmware?
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 »

Is the Picture rotated from the start?
Or is it rotated a bit after the start?

Did you see this Wiki Page?
https://github.com/venice1200/MiSTer_tt ... led-device

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

Samy83
Posts: 11
Joined: Sun Jul 24, 2022 3:23 pm
Been thanked: 1 time

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

Unread post by Samy83 »

The picture is rotated from the start.

No, I had not seen this Wiki page.
Do you think I should flash the same firmware again (and force another MCU type)?
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 »

The only way to get the display rotated from the start is to activate an option called XROTATE in the sourcecode.

If you use the „rotate“ option in the ini files the display is rotated after the tty2oled logo is shown for the first time.

Set all options in your ini files back to default and send us a good quality picture from the MCU of your display.
As far I know Antonio still sells displays with 8266 MCU but we have to be sure before a re-flash.

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

Samy83
Posts: 11
Joined: Sun Jul 24, 2022 3:23 pm
Been thanked: 1 time

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

Unread post by Samy83 »

venice wrote: Tue Jul 26, 2022 7:36 am The only way to get the display rotated from the start is to activate an option called XROTATE in the sourcecode.

If you use the „rotate“ option in the ini files the display is rotated after the tty2oled logo is shown for the first time.

Set all options in your ini files back to default and send us a good quality picture from the MCU of your display.
As far I know Antonio still sells displays with 8266 MCU but we have to be sure before a re-flash.
I'll try to do that on Thursday if I have some time. I will keep you informed.
Thanks
Samy83
Posts: 11
Joined: Sun Jul 24, 2022 3:23 pm
Been thanked: 1 time

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

Unread post by Samy83 »

venice wrote: Tue Jul 26, 2022 7:36 am

The only way to get the display rotated from the start is to activate an option called XROTATE in the sourcecode.

If you use the „rotate“ option in the ini files the display is rotated after the tty2oled logo is shown for the first time.

Set all options in your ini files back to default and send us a good quality picture from the MCU of your display.
As far I know Antonio still sells displays with 8266 MCU but we have to be sure before a re-flash.

Here is a picture from the MCU

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 »

Its an 8266.
So go ahead a re-flash your device following the procedure from here:
https://github.com/venice1200/MiSTer_tt ... led-device

Try at first just

Code: Select all

./installer.sh FORCE
If this doesn't work try

Code: Select all

./installer.sh FORCE HWESP8266
But make sure you INI files are back to default!
Means set ROTATE="no".

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

Samy83
Posts: 11
Joined: Sun Jul 24, 2022 3:23 pm
Been thanked: 1 time

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

Unread post by Samy83 »

I'm abroad for 2 weeks.
I will try flashing the MCU when I get back and let you know if it worked.

Thanks a lot for your help :D
Post Reply