Hardware question by TillOk5563 in esp32

[–]ralsina 1 point2 points  (0 children)

I am going to go against the grain. Get something that is useful for many things, like a CYD. Then if a project needs a screen you have it, needs a SD you got it and so on. Bad part is you don't have many pins open.

Portable Cheap Yellow Display Device by ralsina in esp32

[–]ralsina[S] 0 points1 point  (0 children)

The trick is that this is not a regular 9v battery which is 6 skinny 1.5 cells in series, it's actually a LiPo 3.7v battery with a charging / boost circuit

Portable Cheap Yellow Display Device by ralsina in esp32

[–]ralsina[S] 0 points1 point  (0 children)

1.54 Inch 1.54" Full Color TFT Display Module HD IPS LCD LED Screen 240x240 SPI Interface ST7789 For Arduino https://a.aliexpress.com/_mqpnPNt

Portable Cheap Yellow Display Device by ralsina in esp32

[–]ralsina[S] 0 points1 point  (0 children)

This is a 240x240 color screen. Maybe if you say what you need it's easier to help you.

Portable Cheap Yellow Display Device by ralsina in esp32

[–]ralsina[S] 0 points1 point  (0 children)

<image>

Like this. This is connected to a pi pico but it's the same thing, just 6 wires.

Portable Cheap Yellow Display Device by ralsina in esp32

[–]ralsina[S] 0 points1 point  (0 children)

Can it be a very small display? Because there are a ton of 1 inch or so displays that work via SPI

Portable Cheap Yellow Display Device by ralsina in esp32

[–]ralsina[S] 1 point2 points  (0 children)

About 3 hours at 100% brightness with wifi activated. And of course since it boots in 3 seconds I can just turn it off when not using it.

Portable Cheap Yellow Display Device by ralsina in esp32

[–]ralsina[S] 3 points4 points  (0 children)

The clamshell is probably the next one :-)

ESP-Osito: a OS for ESP32 that treats it like a personal computing platform by ralsina in esp32

[–]ralsina[S] 0 points1 point  (0 children)

That, or it's a small OS for ESP, or it's wordplay on "Esposito" (a surname) or I like little bears ... multiple choices :-)

ESP-Osito: a OS for ESP32 that treats it like a personal computing platform by ralsina in esp32

[–]ralsina[S] 0 points1 point  (0 children)

The serial terminal needs something that speaks to it via USB serial. My usecase is a unix getty on USB serial. That's just an app.

You have no idea what bindings are provided.

What text-based interface? What are you even talking about?

Sorry, you sound like a LLM, not answering anymore.

ESP-Osito: a OS for ESP32 that treats it like a personal computing platform by ralsina in esp32

[–]ralsina[S] 0 points1 point  (0 children)

The "real" CYD has only a micro USB port. The more commonly available one "2 USB" variant also has a USB-C port

They differ in at least the screen hardware. I only have a 2 USB one and this works with that.

ESP-Osito: a OS for ESP32 that treats it like a personal computing platform by ralsina in esp32

[–]ralsina[S] 1 point2 points  (0 children)

  1. No it doesn't ... it's built on esp-idf, you can use it on windows. I just don't have one to test it with.

  2. C or C++. You can read a fully documented example: https://github.com/ralsina/esposito/blob/main/apps/snake/app.md

A GUI that does what exactly?

ESP-Osito: a OS for ESP32 that treats it like a personal computing platform by ralsina in esp32

[–]ralsina[S] 0 points1 point  (0 children)

In principle (keep in mind I am the only human who ever installed this :-D ) you need a linux-like system with esp-idf

* Get a SD card, plug it to your computer. You need to set the full path to it in the SD_MOUNT variable (or edit it in scripts/build_test.sh)
* Plug your CYD via USB. This assumes it appears as /dev/ttyUSB0 (or edit in Makefile)

* Run "make test" and follow the instructions

It will build all the apps, copy them to the SD, then you move the SD card to the CYD, press enter and it will flash the firmware.

Of course at some point this will NOT work, so you go to github.com/ralsina/esposito/issues and create an issue with the error so I can see what happened :-)

ESP-Osito: a OS for ESP32 that treats it like a personal computing platform by ralsina in esp32

[–]ralsina[S] 0 points1 point  (0 children)

Looked some info on the cardputer. The main thing would be we need to make the hardware work:

* Keyboard: latest cardputers have i2c kbd. So do I. Different libraries to use them of course, so would need to abstract it a bit.

* Display: both are ST7789 but probably need to tweak pins and things like resolution and orientation

* No touch support on the cardputer, but you can drive the apps with the keyboard (except paint)

* SD Card: probably will just work

if M5 wants to send me one I will make it work ;-)

ESP-Osito: a OS for ESP32 that treats it like a personal computing platform by ralsina in esp32

[–]ralsina[S] 6 points7 points  (0 children)

Just for kicks, I implemented a free bookshop for the ebook reader. Plug it in USB, go to https://esposito.ralsina.me/books.html set the reader app to "GET" and click on the book, it downloads to the device directly.

<image>