Luckfox Lyra on PicoCalc

I have not found any 5 V pin on the Picocalc board in Battery mode. The usb connector on top of the board is 3.3 v.

After more testing I have found out that the stetup with the stepup converter and USB does only work if connected to charging. Sometimes even the keyboard does not come up. I think you are right about the power issue. No damage, but not enough Power from the batteries. I will try some more quality cells, but for now it should be better to use a 3.3 v wlan in the first place.

It is my fault because I have tested with the board connected to the PC with adb shell connection.
I have not tested with batteries alone.

Further testing has shown that it is only a problem on boot up. If you connect the USB Wifi after booting it is fine. It draws about 0.085 A.

3 Likes


I uploaded a new image, including SymPy and NumPy.

4 Likes

Can you add the Pico8 splore to the image for us as we dont have wifi be nice to boot it up brother :slight_smile:

pico8 is a commercial product and it would be act of piracy to distribute it

upd: additionally, developer is a very kind person and did a lot for gamedev community. it just wrong.

7 Likes

I see i totaly forgot about that thanks for the clarifacation.

Hi, Is there a possibility to change the fontsize? Fontconf is installed but not setfont.

Does anyone know the default user name and pass for this board for root access.

Sweet! That is awesome. How does it run?

Hi, I guess it is not set or “luckfox” depending on the version. If you like to use ssh then you have to set it with passwd.

It sure looks like the power management IC on the picocalc can be configured to do a lot of things when the power button is pressed - https://xonstorage.blob.core.windows.net/pdf/xpowers_axp2101_apr22_xonlink.pdf for the datasheet. Maybe we can make the button shut down the OS properly, or put the thing to sleep and wake it up again afterward.

tina-linux-5.4/drivers/mfd/axp2101-i2c.c at main · sputnik2019/tina-linux-5.4 · GitHub looks like it might be a viable driver for the thing - it’s on i2c on pins 29 and 30, with an IRQ on pin 40.

I don’t have my PicoCalc yet, so I can’t test any of this out :smiley:

@hisptoot Any chance you could experiment with getting that driver built into the image? Sorry, I’d help, but without hardware it would be pretty hard to see if anything works!

EDIT: Just realized that this is connected to the MCU, and NOT directly to the pins on the Luckfox Lyra, so there’s going to be a bit more work that’s necessary I guess. sorry!

1 Like

dang. doesn’t look like PicoCalc/Code/picocalc_keyboard/battery.ino at master · clockworkpi/PicoCalc · GitHub does anything to enable any kind of functionality regarding the power button.

I do see a handful of examples in the library the MCU code uses - XPowersLib/examples/AXP2101_Sleep_Example/AXP2101_Sleep_Example.ino at master ¡ cuu/XPowersLib ¡ GitHub for one, that look like it should be reasonably doable to implement something. Just a thought.

How is the picocalc turned off currently? Do you have to hold the power button, and for how long? what does it do if you just tap the button? Sorry, I’m hacking on the firmware for the MCU to see how easy it would be to add feedback to the OS when the power button is pressed and it would sure be helpful to know what it actually does currently.

So sounds like getting the Lyra without the 256mb is preferred?

Thats great, we can need every improvement!
Execute command “poweroff” → Screen freeze, cursor stops and light on lyra stops to blinking.
Then long press power button, until screen went off. (1-2 sec maybe)

I would say getting the 256MB version is better as extra storage is always good - why do you suggest it is not?

1 Like

You can use fbterm. But I think there is a bug in ili9488_fb.ko which causes fbterm to render incorrectly.

1 Like

We may be able to duel boot with that e tra storage.

1 Like

Playing doom on Pico calc with the Lyra the screen refresh seems low do we know if the screen refresh rate is 60fps? It feels less that 30fps

spi bandwidth is too low for 60fps.

1 Like

I will check. Thanks.