Page 43 of 46

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

Posted: Thu Dec 08, 2022 7:01 am
by RealLarry

I have just tested mine 8266 with latest stable (221030) and rotating is working fine.
Did you restart the tty2oled Daemon after editing your user.ini?

Code: Select all

/media/fat/tty2oled/S60tty2oled restart

Please post your tty2oled-user.ini


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

Posted: Thu Dec 08, 2022 10:23 am
by neogeo81
RealLarry wrote: Thu Dec 08, 2022 7:01 am

I have just tested mine 8266 with latest stable (221030) and rotating is working fine.
Did you restart the tty2oled Daemon after editing your user.ini?

Code: Select all

/media/fat/tty2oled/S60tty2oled restart

Please post your tty2oled-user.ini

i also have the latest 301022

no matter if yes or not in rotate it looks like this (user.ini below the image)

20221208_112104.jpg

Userdata

TTY2OLED_UPDATE="yes" # Keep the display software up-to-date
SCRIPT_UPDATE="yes" # Set to "yes" if you want to update the tty2oled Scripts by the "Updater"
USBMODE="yes" # Set to "yes" if you use the USB Mode Sketch, set to "no" for SD or Standard Version
ROTATE="yes" # Set to "yes" if you want the Display rotated by 180 degrees
CONTRAST="100" # Set/send your Contrast from 0..255, default by Arduino Sketch = 200
OVERWRITE_PICTURE="yes" # Set to "yes" if you want to overwrite existing Pictures if they're updated upstream
SCREENSAVER="no" # Set to "yes" to enable screensaver mode on display
SCREENSAVER_START="60" # Start screensaver after x seconds (20-600)
SCREENSAVER_IVAL="10" # Screensaver Interval (10-600) seconds
SCREENSAVER_SCREEN_TTY2OLED="no" # Use tty2oled Screen "yes/no"
SCREENSAVER_SCREEN_MISTER="no" # Use MiSTer Screen "yes/no"
SCREENSAVER_SCREEN_CORE="no" # Use Corename Screen "yes/no"
SCREENSAVER_SCREEN_TIME="no" # Use Time Screen "yes/no"
SCREENSAVER_SCREEN_DATE="no" # Use Date Screen "yes/no"
SCREENSAVER_SCREEN_STARS="yes" # Use Animated ScreenSaver Starfield "yes/no"
SCREENSAVER_SCREEN_TOAST="no" # Use Animated ScreenSaver Flying Toaster"yes/no"
SCREENSAVER_LEVEL="5" # !! Deprecated !! Screensaver brightness level (1-15)
USE_TEXT_PICTURE="no" # Set to "yes" if you want to use the Text-Pictures-Version, default is no
USE_US_PICTURE="no" # Set to "yes" if you want to use the US Version of the Pictures, default is "no"
USE_GSC_PICTURE="yes" # Set to "yes" if you want to use the Grayscale Version of the Pictures, default is "no"
USE_RANDOM_ALT="yes" # If set to yes and there're xxx_alt* pictures, they'll be diced.
TRANSITION="-1" # Transition effect. -1 = AUTO, 0 = None, 1-xx see sketch


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

Posted: Thu Dec 08, 2022 11:59 am
by RealLarry

Weird. I don't have a new idea yet. But could you rename tty2oled-user.ini for backup purposes and run update_tty2oled.sh afterwards, please? This will create an new but empty tty2oled-user.ini file. Then completely turn off MiSTer and tty2oled, wait at least 10 sec, then restart and test again.


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

Posted: Thu Dec 08, 2022 2:09 pm
by venice
neogeo81 wrote: Thu Dec 08, 2022 10:23 am


no matter if yes or not in rotate it looks like this

Was the orientation ever the right way around?


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

Posted: Thu Dec 08, 2022 2:11 pm
by neogeo81
venice wrote: Thu Dec 08, 2022 2:09 pm
neogeo81 wrote: Thu Dec 08, 2022 10:23 am


no matter if yes or not in rotate it looks like this

Was the orientation ever the right way around?

no, i would like it to have it this way. As you see it on the image is the og orientation. the startup grafik is upside down also.


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

Posted: Thu Dec 08, 2022 2:18 pm
by neogeo81
RealLarry wrote: Thu Dec 08, 2022 11:59 am

Weird. I don't have a new idea yet. But could you rename tty2oled-user.ini for backup purposes and run update_tty2oled.sh afterwards, please? This will create an new but empty tty2oled-user.ini file. Then completely turn off MiSTer and tty2oled, wait at least 10 sec, then restart and test again.

Did that. It stays now in his og orientation. what now? retry including the the rotation option again? (ROTATE="yes")


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

Posted: Thu Dec 08, 2022 2:20 pm
by venice

The display software read one pin of the 8266 for automatic display rotation.
If the pin is at low level the display will start rotated.
For the 8266 we use Pin 16.
Normally the Pin should be unused and at high voltage level 3.3v.

Are you able to check the Pin Voltage Level?


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

Posted: Thu Dec 08, 2022 2:22 pm
by neogeo81
venice wrote: Thu Dec 08, 2022 2:20 pm

The display software read one pin of the 8266 for automatic display rotation.
If the pin is at low level the display will start rotated.
For the 8266 we use Pin 16.
Normally the Pin should be unused and at high voltage level 3.3v.

Are you able to check the Pin Voltage Level?

no, i am not that into technical things. could it be a cable problem?


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

Posted: Thu Dec 08, 2022 2:26 pm
by RealLarry
neogeo81 wrote: Thu Dec 08, 2022 2:18 pm
RealLarry wrote: Thu Dec 08, 2022 11:59 am

Weird. I don't have a new idea yet. But could you rename tty2oled-user.ini for backup purposes and run update_tty2oled.sh afterwards, please? This will create an new but empty tty2oled-user.ini file. Then completely turn off MiSTer and tty2oled, wait at least 10 sec, then restart and test again.

Did that. It stays now in his og orientation. what now? retry including the the rotation option again? (ROTATE="yes")

No, senseless. Just copy your tty2oled-user.ini back.

could it be a cable problem?

If the display is working in a normal way (but rotated), definitely no.


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

Posted: Thu Dec 08, 2022 2:28 pm
by neogeo81
neogeo81 wrote: Thu Dec 08, 2022 2:18 pm
RealLarry wrote: Thu Dec 08, 2022 11:59 am

Weird. I don't have a new idea yet. But could you rename tty2oled-user.ini for backup purposes and run update_tty2oled.sh afterwards, please? This will create an new but empty tty2oled-user.ini file. Then completely turn off MiSTer and tty2oled, wait at least 10 sec, then restart and test again.

Did that. It stays now in his og orientation. what now? retry including the the rotation option again? (ROTATE="yes")

doesn't work


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

Posted: Thu Dec 08, 2022 2:29 pm
by neogeo81
RealLarry wrote: Thu Dec 08, 2022 2:26 pm
neogeo81 wrote: Thu Dec 08, 2022 2:18 pm
RealLarry wrote: Thu Dec 08, 2022 11:59 am

Weird. I don't have a new idea yet. But could you rename tty2oled-user.ini for backup purposes and run update_tty2oled.sh afterwards, please? This will create an new but empty tty2oled-user.ini file. Then completely turn off MiSTer and tty2oled, wait at least 10 sec, then restart and test again.

Did that. It stays now in his og orientation. what now? retry including the the rotation option again? (ROTATE="yes")

No, senseless. Just copy your tty2oled-user.ini back.

could it be a cable problem?

If the display is working in a normal way (but rotated), definitely no.

no it is working in is og rotation and normal. i want to rotate it because of the setup orientation with the cable on the left side. it wont rotate

ok if its not the cable problem, why do all commands work but rotation not?


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

Posted: Thu Dec 08, 2022 2:32 pm
by RealLarry
neogeo81 wrote: Thu Dec 08, 2022 2:28 pm
neogeo81 wrote: Thu Dec 08, 2022 2:18 pm
RealLarry wrote: Thu Dec 08, 2022 11:59 am

Weird. I don't have a new idea yet. But could you rename tty2oled-user.ini for backup purposes and run update_tty2oled.sh afterwards, please? This will create an new but empty tty2oled-user.ini file. Then completely turn off MiSTer and tty2oled, wait at least 10 sec, then restart and test again.

Did that. It stays now in his og orientation. what now? retry including the the rotation option again? (ROTATE="yes")

doesn't work

Doesn't work at all?? Only the welcome animation? No MENU or any other picture when starting a core?
Do have another display or device connected to MiSTers USB ports which could occupy ttyUSB0 ? Please check and report

Code: Select all

ls -lh /dev/ttyU*

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

Posted: Thu Dec 08, 2022 2:39 pm
by neogeo81
RealLarry wrote: Thu Dec 08, 2022 2:32 pm
neogeo81 wrote: Thu Dec 08, 2022 2:28 pm
neogeo81 wrote: Thu Dec 08, 2022 2:18 pm

Did that. It stays now in his og orientation. what now? retry including the the rotation option again? (ROTATE="yes")

doesn't work

Doesn't work at all?? Only the welcome animation? No MENU or any other picture when starting a core?
Do have another display or device connected to MiSTers USB ports which could occupy ttyUSB0 ? Please check and report

Code: Select all

ls -lh /dev/ttyU*

no, the option rotation does not work. everthing else works correct.
i have a hdd, wifi dongle and bt dongle connected to different usb ports.


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

Posted: Thu Dec 08, 2022 2:40 pm
by neogeo81
RealLarry wrote: Thu Dec 08, 2022 2:32 pm
neogeo81 wrote: Thu Dec 08, 2022 2:28 pm
neogeo81 wrote: Thu Dec 08, 2022 2:18 pm

Did that. It stays now in his og orientation. what now? retry including the the rotation option again? (ROTATE="yes")

doesn't work

Doesn't work at all?? Only the welcome animation? No MENU or any other picture when starting a core?
Do have another display or device connected to MiSTers USB ports which could occupy ttyUSB0 ? Please check and report

Code: Select all

ls -lh /dev/ttyU*

how do i ssh into the mister on a macbook?


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

Posted: Thu Dec 08, 2022 2:41 pm
by venice
neogeo81 wrote: Thu Dec 08, 2022 2:29 pm


ok if its not the cable problem, why do all commands work but rotation not?

My Opinion: There is a issue with the auto-rotation Input Pin on your display.
I will see if I can disable the auto-rotation function for the 8266.


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

Posted: Thu Dec 08, 2022 2:45 pm
by neogeo81
venice wrote: Thu Dec 08, 2022 2:41 pm
neogeo81 wrote: Thu Dec 08, 2022 2:29 pm


ok if its not the cable problem, why do all commands work but rotation not?

My Opinion: There is a issue with the auto-rotation Input Pin on your display.
I will see if I can disable the auto-rotation function for the 8266.

ok thanks. how does auto rotation work? how does the screen know what rotation he should have?


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

Posted: Thu Dec 08, 2022 3:06 pm
by RealLarry
neogeo81 wrote: Thu Dec 08, 2022 2:40 pm

how do i ssh into the mister on a macbook?

AFAIK open the Applications folder in Finder and double click on the Utilities folder and double click on the Terminal application. Then you can open a ssh connection by typing

Code: Select all

ssh @IP-Address-of-MiSTer

But hold on until Venice has checked the tilt pin (which is intended to detect it's orientation - it's a tilt switch)


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

Posted: Thu Dec 08, 2022 6:37 pm
by venice
neogeo81 wrote: Thu Dec 08, 2022 2:39 pm

...
no, the option rotation does not work...

I have uploaded the tty2oled TEST VERSION 221208T.
Let's see if this fixes your Problem.

I have changed the 8266 Tilt/Autoration Pin from Pin 16 (D0) to Pin 10 (SD3).
See here for a 8266 Pinout: https://www.instructables.com/NodeMCU-E ... nd-Pinout/
As far as I know No Pre-Made 8266 based Display supports the Tilt Switch, so changing the Pin was easy to do.
No Problem with my 8266 Display.

HowTo get the Test Version?
See here (Testing/Optional): https://github.com/venice1200/MiSTer_tt ... ngoptional


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

Posted: Thu Dec 08, 2022 6:57 pm
by neogeo81
venice wrote: Thu Dec 08, 2022 6:37 pm
neogeo81 wrote: Thu Dec 08, 2022 2:39 pm

...
no, the option rotation does not work...

I have uploaded the tty2oled TEST VERSION 221208T.
Let's see if this fixes your Problem.

I have changed the Tilt/Autoration Pin from Pin 16 (D0) to Pin 10 (SD3).
See: https://www.instructables.com/NodeMCU-E ... nd-Pinout/
As far as I know No Pre-Made 8266 Display supports the Tilt Switch, so changing the Pin was easy to do.
No Problem with my 8266 Display.

HowTo get the Test Version?
See here (Testing/Optional): https://github.com/venice1200/MiSTer_tt ... ngoptional

Thanks I will give it a try later.


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

Posted: Thu Dec 08, 2022 7:10 pm
by salamantecas

That screen looks like Antonio Villena's. They are always the same. with the same error


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

Posted: Thu Dec 08, 2022 7:12 pm
by neogeo81
salamantecas wrote: Thu Dec 08, 2022 7:10 pm

That screen looks like Antonio Villena's. They are always the same. with the same error

Yes it is. What error?


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

Posted: Thu Dec 08, 2022 7:25 pm
by salamantecas
neogeo81 wrote: Thu Dec 08, 2022 7:12 pm
salamantecas wrote: Thu Dec 08, 2022 7:10 pm

That screen looks like Antonio Villena's. They are always the same. with the same error

Yes it is. What error?

the screen always appears upside down at startup if you don't touch the ini as Venice or Larry have commented, also some suffer from update problems although several people fixed it with prompts, I recommend you keep an eye on Venice and Larry and read the answers to that same problem in previous comments


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

Posted: Thu Dec 08, 2022 7:28 pm
by neogeo81
salamantecas wrote: Thu Dec 08, 2022 7:25 pm
neogeo81 wrote: Thu Dec 08, 2022 7:12 pm
salamantecas wrote: Thu Dec 08, 2022 7:10 pm

That screen looks like Antonio Villena's. They are always the same. with the same error

Yes it is. What error?

the screen always appears upside down at startup if you don't touch the ini as Venice or Larry have commented, also some suffer from update problems although several people fixed it with prompts, I recommend you keep an eye on Venice and Larry and read the answers to that same problem in previous comments

OK, never had any problem. And I can just turn it around to have it not upside down. It is just the rotation config that does not work.


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

Posted: Fri Dec 09, 2022 8:57 am
by neogeo81
venice wrote: Thu Dec 08, 2022 6:37 pm
neogeo81 wrote: Thu Dec 08, 2022 2:39 pm

...
no, the option rotation does not work...

I have uploaded the tty2oled TEST VERSION 221208T.
Let's see if this fixes your Problem.

I have changed the 8266 Tilt/Autoration Pin from Pin 16 (D0) to Pin 10 (SD3).
See here for a 8266 Pinout: https://www.instructables.com/NodeMCU-E ... nd-Pinout/
As far as I know No Pre-Made 8266 based Display supports the Tilt Switch, so changing the Pin was easy to do.
No Problem with my 8266 Display.

HowTo get the Test Version?
See here (Testing/Optional): https://github.com/venice1200/MiSTer_tt ... ngoptional

Hey thanks a lot. now it is working properly again with the rotation.


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

Posted: Fri Dec 09, 2022 6:41 pm
by venice

Great!

The previously chosen 8266 Pin for the AutoRotation Feature was not the best choice as the Pin has not all needed features.
The new Pin works as expected.

I will release a new stable soon.


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

Posted: Mon Dec 12, 2022 1:03 pm
by RealLarry

...the latest artwork I have done:

montage.jpg

An don't forget: If I'm doing pixel art, then I'm doing this for all display setups I'm involved in. Just update from the usual sources :)


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

Posted: Mon Dec 12, 2022 1:26 pm
by neogeo81
RealLarry wrote: Mon Dec 12, 2022 1:03 pm

...the latest artwork I have done:

montage.jpg

An don't forget: If I'm doing pixel art, then I'm doing this for all display setups I'm involved in. Just update from the usual sources :)

Do you also do these images for the Pocket?


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

Posted: Mon Dec 12, 2022 1:51 pm
by RealLarry
neogeo81 wrote: Mon Dec 12, 2022 1:26 pm

Do you also do these images for the Pocket?

Do you mean the pocket system where Jotego is working on? Then no, I'm involved in tty2oled, tty2tft and tty2rpi and that means enough work :)


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

Posted: Mon Dec 12, 2022 2:53 pm
by neogeo81
RealLarry wrote: Mon Dec 12, 2022 1:51 pm
neogeo81 wrote: Mon Dec 12, 2022 1:26 pm

Do you also do these images for the Pocket?

Do you mean the pocket system where Jotego is working on? Then no, I'm involved in tty2oled, tty2tft and tty2rpi and that means enough work :)

yes, the analogue pocket. ok thanks


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

Posted: Tue Dec 13, 2022 6:42 pm
by rhester72

I'm not sure whether this is an issue with tty2oled itself, but when starting the arcade game Moon Alien (located in Arcade/Alternatives/Galaxian), the logo displayed on the OLED is for the Thomson MO6, which I will take as read isn't correct. LOL Not sure where to report this.