LyraCalc - PicoCalc with Luckfox Lyra

I’m currently working on a low-power cyberdeck (or handheld programming device, whatever you prefer to call it) based on the PicoCalc and the Luckfox Lyra.
Since I couldn’t find an existing software setup that fit my needs, I wrote a small, custom Linux distribution specifically tailored to the PicoCalc.
The project involves a minor hardware mod for the Luckfox Lyra to get the audio working properly. I also updated the STM32 on the PicoCalc to enable a proper shutdown and power-off function, and added a few new keyboard shortcuts while I was at it. I have a Wi-Fi dongle plugged into the Lyra’s second USB port, which makes downloading software super easy. For coding, I installed the micro text editor, expanded its syntax highlighting, and added code correction for the most programming languages. You can even program ESP32s natively right from the PicoCalc! xD
Since I’m a big Pico-8 fan, I integrated it completely, including working sound and a fully functional SPLORE game browser. If you don’t have a Pico-8 license, TIC-80 is pre-installed as well. I’ve also packed drivers for several common Wi-Fi chips into the OS so it should work plug-and-play for you guys if you decide to try it out. I’m currently finalizing the GitHub page. Does this sound interesting to anyone here, or is there any interest in a project like this at all? xD
Greetings from Germany,
LucaWoro

5 Likes

YES, I’m definitely interested in trying this out if you decide to make it available!

I already have a luckfox lyra and wifi usb adapter I can swap in.

My previous solution for PICO-8 is a pocketCHIP which came with PICO-8 pre-installed with a license. There were updates available for a while on the lexaloffle forums provided by an individual that I think is a Lexaloffle employee, but there has been no update to the latest version posted and a lot of games don’t work with the older version.

Welcome to the forum, @LucaWoro!

Did you try https://calculinux.org/ ?

Maybe you could combine your strengths and achieve even more through collaboration.

2 Likes

Secod to that idea :slight_smile:

Yes, I know Calculinux! I deliberately took a different approach, simply to offer one more option, since the two systems work quite differently.
I have two microSD cards and like to switch between both systems.

LyraCalc OS is based on Ubuntu 24.04 LTS (armhf) and uses apt instead of opkg. That means you can install new software directly on the device from the full Ubuntu repositories, without cross-compiling and without a separate build machine.

Compared to my OS, Calculinux is more of a lean, compact Swiss Army knife, so I see the two serving different use cases.

This is also the first time I’ve published one of my own projects. If anything is missing or I got something wrong, please let me know. Thanks a lot!

You can find the project on GitHub:

2 Likes

Thank you so much for sharing this!

It’s a lot of fun. I haven’t found anything that doesn’t work. I’m using a USB WiFi adapter:

Bus 002 Device 002: ID 2357:011e TP-Link AC600 wireless Realtek RTL8811AU [Archer T2U Nano]

I did the audio mod and it sounds good. I used the directions found here:

to be sure I was doing it right because the directions in the repo don’t identify which pin numbers to use and there are no pictures. I was afraid I might mix up the pins but that post I linked above has pictures so I could be extra sure.

As a Kubuntu user it’s great to be able to use ubuntu on the picocalc. And pico-8 works great! I had no problem flashing your modified keyboard firmware and the optional overlay is nice to have.

This is such a great project! Thank you for your work on it and for sharing it with us.

edit: I forgot to point out that I used a small boost converter (under all the kapton tape) on the USB plug to take the voltage from 3.3v to 5.0v to hopefully keep the wifi from dipping out or having any issues… so far so good. I can even SSH into the picocalc with no issues other than a slight delay in getting a response from key presses, though that could just be from having the adapter internal and not getting a great signal (or the speed of the lyra board?). I’m considering printing a new back for the picocalc that can accommodate an external usb port to see if that makes a difference.