Luckfox Lyra on PicoCalc

Thank you! I haven’t yet tried it inside the PicoCalc, but I booted the image on the Lyra and my usb wifi dongle works great using adb shell. Even the bluetooth functionality works (I guess that driver was already in the image).

For anyone interested, the specific dongle I have is:

I plan to get a boost converter and use it as michael_mayer has done here:

While it would be nicer to expose the USB port externally with a custom case, I don’t have access to a 3D printer so I’m planning to just use the Lyra USB adaptor with the boost converter hacked in (and some cable length removed) and then keep it all inside the PicoCalc case with the wifi dongle attached.

@michael_mayer you mentioned that powering on with the wifi dongle atatched could be a problem here: Luckfox Lyra on PicoCalc - #122 by michael_mayer
Since I plan to keep mine int he case, if possible, and it won’t be easy to remove, I’m wondering if I can either get it to work by having it plugged in to USB when powering on, or if it’s possible to reset or reconect to the wifi dongle in software rather than physically unplugging it? I’m hoping I could just do something like disable and renable the driver or something, since it sounds like it will fail to initialize on power on with it plugged in. Though you indicated the keyboard may not come up as well, so maybe I’ll need to keep the port external and plug the dongle in after boot.

Also, just wanted to say that your command-launcher and scripts are really convenient, and it’s a nice simple tool to adapt for running other custom scripts. Everything (including even the screen saver!) works fine for me through adb shell, which made this a great way to test that the usb wifi driver you built into it worked. Excellent work, and thank you for adding that driver and building this platform for the Lyra on PicoCalc.

Software wise I don’t know if this is possible, it is not my expertise. This is the reason to make the port external. Yes, you have power issues if the USB is plugged in. Keyboard is not working if you startup with USB connected to wifi dongle.

1 Like

Amazing work, getting a Lyra now to try this out.

P.S. spotted the Beepy beside it, nice collection!

I have a good collection of wifi adapters so i will do some testing which ones work etc.

buildroot sdk uploaded.

3 Likes

You and Rex need some MVP status with ClockworkPi

Hey all, my Picocalc/Lyra combination won’t boot until I hit the reset button on the back of the Picocalc PCB. Has anyone else seen this issue? Checking for a fix before I try to deep-dive it myself.

@hisptoot great buildroot images! Thanks for the hard work. I intend to set up the SDK and start working on some custom packages (gforth).

I’ve also read about folks successfully using the ILI9488 on other projects with the upstream fbtft ILI9341 driver and a dt overlay.

1 Like

Didn’t have this issue. Did you try to re-erase the internal firmware (assuming you have flash soldered in)?

Hello all, has anyone tried to use a Bluetooth keyboard with the Lyra? I saw mentions that some wifi/bluetooth dongles are supported? Thank you

Here is my contribution for picocalc a short review. Clockwork PicoCalc (powerfull programing handheld review) https://youtu.be/Mws_vlNXmbU

1 Like

Just out of curiosity, can frotz or something similar be installed on this? This would be an awesome machine to play the classic text based games.

It’s essentially a linux computer with a compiler and SDL. There are tons of things that you may be able to run on it.

For Pico 8 i used the Raspberry Pi build (pico8_dyn), and it works fine. Maybe you not need to build frotz if you can copy it from a Pi.

New image uploaded, including dosbox and frotz (not tested). Prboom and dosbox now support midi output via timidity.

If you want to play dos games with dosbox, please enable swapfile. Or it may run out of memory.
Ctrl-F5 will close dosbox.

5 Likes

Sorry for the newbie question but how to add additional software to your “distro”?

Did you plug the TP-Link Nano and the MX1.25 4Pin to USB Cable directly into the Lyra or did you have to add a boost converter?

Use buildroot sdk to compile softwares and transfer them into tf card via adb or scp. Opkg tools are also included in buildroot sdk. Softwares can be packed into ipk.

Or try alpine package manager armv7 version in chroot mode.

1 Like

When I’ve got the Lyra plugged into my PC via USB, and the TP-Link Nano connected via the 4pin cable direct to the Lyra, everything works fine. (It can connect to my wifi router and I can SSH in, etc. Bluetooth works as well.) The only thing I can’t test this way is the screen and keyboard on the PicoCalc, and I’m essentially running headless, with just terminal output (which is fine for the launcher menu and shell things.)

I haven’t tried it inside my PicoCalc case yet. I was waiting for the 5V step up power convertor(s) to arrive. I’ve also got a screen replacement en route as well. And I also don’t understand the hardware enough to know whether simply plugging it in without the step up convertor would damage the Lyra, the PicoCalc board, both, or neither. I guess I could try using it in the PicoCalc with the USB-C (the Lyra one, I’m guessing, and not the “main” one on the PicoCalc?) connected to my computer so it gets enough power. But since it sounds like there isn’t enough voltage to run it, I really don’t want to risk ruining my PicoCalc board, or Lyra.

1 Like

Thats cool you can connect wifi through pc . I just got the lyra plus today with lan port gonna testvthat the same way see if it works.