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.
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.
I donât have my PicoCalc yet, so I canât test any of this out
@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!
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.
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)