Round OLED Help (tty2pico)

Showcase builds, discuss cases, embedding MiSTer into existing computer cases.
User avatar
CartoonDonkey
Posts: 121
Joined: Fri Aug 06, 2021 8:22 am
Has thanked: 17 times
Been thanked: 29 times

Round OLED Help (tty2pico)

Unread post by CartoonDonkey »

Anyone installed this cool display?
https://github.com/neil-morrison44/MiSTer_tty2pico

I need some help if anyone has any insight.

I've got the RoundyPi, which meets all the hardware requirements, flashed it with the firmware from the github repository.
I can dmesg | grep tty from the console and the MiSTer sees: cdc_acm 1-1.6:1.0 ttyACM0: USB ACM device

Changed the options in fat/tty2oled/tty2oled-user.ini to:

TTYDEV="/dev/ttyACM0"
USBMODE="no"
SCRIPT_UPDATE="no"
TTY2OLED_UPDATE="no"

and I run the script.. but nothing.

/logos/mister.png
Traceback (most recent call last):
File "<stdin>", line 3, in <module>
File "tty_and_logos.py", line 49, in display_logo
File "lib/png.py", line 1542, in iterstraight
MemoryError: memory allocation failed, allocating 65664 bytes

Black screen. The display works with adafruit's firmware and test images when testing on my pc via usb.
At a loss here. Contacted the original dev, maybe he'll chime in...

Flandango
Core Developer
Posts: 388
Joined: Wed May 26, 2021 9:35 pm
Has thanked: 41 times
Been thanked: 328 times

Re: Round OLED Help (tty2pico)

Unread post by Flandango »

How large is the mister.png file?
It sounds like it may be too large to fit in the Pico's memory.

User avatar
CartoonDonkey
Posts: 121
Joined: Fri Aug 06, 2021 8:22 am
Has thanked: 17 times
Been thanked: 29 times

Re: Round OLED Help (tty2pico)

Unread post by CartoonDonkey »

Argh... yeah it's filesize, and the project isn't fully baked. Author chimed in on reddit and said he was still working on it. :-/

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

Re: Round OLED Help (tty2pico)

Unread post by venice »

Could someone try my generic tty2x Script Daemon with this Display.
See: https://github.com/venice1200/MiSTer_tty2x

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

Missus
Posts: 123
Joined: Fri Jan 27, 2023 12:45 am
Has thanked: 27 times
Been thanked: 27 times

Re: Round OLED Help (tty2pico)

Unread post by Missus »

venice wrote: Sat Feb 18, 2023 12:26 pm

Could someone try my generic tty2x Script Daemon with this Display.
See: https://github.com/venice1200/MiSTer_tty2x

I'll ordered this board (https://www.amazon.com/dp/B0BCPGG812) and will help test. Your projects and the spin offs are really great, happy to help.

Question, does the software support multiple screens?
Ex. multiple tty2tft, or perhaps an tty2oled and a tty2pico at the same time?

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

Re: Round OLED Help (tty2pico)

Unread post by RealLarry »

Missus wrote: Sun Feb 19, 2023 1:00 am

Question, does the software support multiple screens?
Ex. multiple tty2tft, or perhaps an tty2oled and a tty2pico at the same time?

Not in it's current state, but could be easily extended to.

Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
Missus
Posts: 123
Joined: Fri Jan 27, 2023 12:45 am
Has thanked: 27 times
Been thanked: 27 times

Re: Round OLED Help (tty2pico)

Unread post by Missus »

RealLarry wrote: Sun Feb 19, 2023 4:48 am
Missus wrote: Sun Feb 19, 2023 1:00 am

Question, does the software support multiple screens?
Ex. multiple tty2tft, or perhaps an tty2oled and a tty2pico at the same time?

Not in it's current state, but could be easily extended to.

Good to know! I suppose I could have looked at the code a bit more before asking :)

Pointedly, many thanks to you as well, RealLarry.
Great work. Enabling us all make our setups that much more enjoyable!

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

Re: Round OLED Help (tty2pico)

Unread post by RealLarry »

Missus wrote: Sun Feb 19, 2023 5:32 am
RealLarry wrote: Sun Feb 19, 2023 4:48 am
Missus wrote: Sun Feb 19, 2023 1:00 am

Question, does the software support multiple screens?
Ex. multiple tty2tft, or perhaps an tty2oled and a tty2pico at the same time?

Not in it's current state, but could be easily extended to.

Good to know! I suppose I could have looked at the code a bit more before asking :)

You could, but your question was perfectly fine :)

Pointedly, many thanks to you as well, RealLarry.
Great work. Enabling us all make our setups that much more enjoyable!

You're welcome, but nothing to thank for. We're doing our best to get the most exciting experience (for all of us).
I'l speak to @venice if he is interested in my changes that I have already made by defining an array of devices.

Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
User avatar
CartoonDonkey
Posts: 121
Joined: Fri Aug 06, 2021 8:22 am
Has thanked: 17 times
Been thanked: 29 times

Re: Round OLED Help (tty2pico)

Unread post by CartoonDonkey »

I will test your script a bit later today.
Man I hope the RoundyPi is somehow enabled to work with tty2oled. It's such a gorgeous little color unit.
If it works I have plans to make a custom 3d printed lid for the left side of my self designed 3d mister wedge case:

mister-roundy.jpg
You do not have the required permissions to view the files attached to this post.
User avatar
RealLarry
Top Contributor
Posts: 769
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 86 times
Been thanked: 330 times

Re: Round OLED Help (tty2pico)

Unread post by RealLarry »

CartoonDonkey wrote: Sun Feb 19, 2023 9:35 am

Man I hope the RoundyPi is somehow enabled to work with tty2oled. It's such a gorgeous little color unit.

Problem here would be that tty2oled has to be in non-USB mode (an ESP device with all pictures on a SD card) as no data except the picture name is send.

Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
User avatar
time-lord
Posts: 3
Joined: Sun May 24, 2020 10:44 pm

Re: Round OLED Help (tty2pico)

Unread post by time-lord »

Was anyone able to build it from source?
I had no luck, even with fresh PlatformIO, im on Linux and wanted to try it with the combined RP2040 + round LCD module from Waveshare, the one @Missus mentioned... ^^

The Pins should be:
clk = Pin 10
mosi = Pin 11
rst = Pin 12
dc = Pin 8
cs = Pin 9
bl = Pin 25
for the Waveshare "RP2040 MCU Board, With 1.28inch Round LCD", just in case someone got an build environment that works without throwing strange fatal errors on the actual version of the code. :)

Post Reply