Luckfox Lyra on PicoCalc

Me too, I refuse to do any soldering on my PicoCalc, I am perfectly capable of doing it, I just don’t want to. I am using a Lyra though, but since I don’t play games, I don’t really need sound for anything.

You can try this no mods required for sound GitHub - nekocharm/picocalc-luckfox-lyra

Or this ubuntu GitHub - markbirss/ubuntu_22.04.5_lts_picocalc: Ubuntu 22.04.5 LTS for PicoCalc with Luckfox Lyra Core

2 Likes

How does this work? Emulating pwm on the needed pin?

1 Like

Regarding the sound noise issue, the hardware uses PWM output audio, so the mute on the hardware is duty=0, but the software uses U8 type data, which causes duty=128 when the mute is used, so there will be a noise when the audio is played, I don’t know how to deal with this problem, I think it’s a hardware problem

1 Like

That is a nice solution for people that don’t want to solder on their picocalc.

2 Likes

Hey guys,
Let me know if anyone is able to run Emacs with the GUI on the Lyra. Emacs would be the perfect starting point for building a full-featured graphing calculator on the picocalc:

  1. calc-mode for RPN calculator and graphing
  2. casual-calc or custom user interface to organize commands (see calc-commands here: https://www.gnu.org/software/emacs/refcards/pdf/calccard.pdf)
  3. algebraic or latex input
  4. render latex on the calculator’s stack

Take a look at this demo of Latex rendering and custom menu for calc-mode:
https://youtu.be/u44X_th6_oY?feature=shared&t=279

I have gotten text mode Emacs to run, but I had to strip a lot of stuff out of it to get it to compile properly and run. You will need a custom build of the Linux image to get everything you need. It is doable, I just don’t know how usable it will be.

Thanks for your work, I fixed the bug of the script.

2 Likes

Is there a git command?

I am most solely use (programming) pico 8 on my device and manually syncing my games via SD card is a bit disgusting…

How about ADB (git assumes Internet connection)? If you have a file on a pc that you want on your pico calc you could use:

ADB Push (filename) /directory/on/calc/for/files

Hi,
I have tested the image on weekend.
Looks good for now, thanks! It is really barebones, so I have to install some stuff.
I haven´t tried wlan by now but apt works fine if you share eth4 adb connection with windows wlan.
Some things I am looking into:

  • SDL2 install + Frame buffer
  • Check Audio
  • Wlan Dongle
  • Check Uart configuration (use Picocalc as serial terminal)
  • Check software that worked for Luckfox Lyra
    • Pico8
    • FBTERM
    • Retroarch
    • Little piggy tracker (Maybe it runs better on Ubuntu)
    • Some text based browsers
    • .. everything else that came to mind. APT is a real dooropener
1 Like

I have Internet on my device. Just a USB wifi Adapter.

Git also have the advantage of keeping track of versions and variants.

All the best,
Carsten

Which image? :face_with_peeking_eye:

I should have looked more here. Still happy with my old thing for pico 8…

This one, but is barebones by now.

In which case you should be able to install git with apt if its not already installed within the image you are using…

Would make me blush red if it is in but I never tried but complaining here :face_with_peeking_eye::hushed_face:

There is every chance you’ll be blushing then as it’s in the original images from hisptoot :slight_smile:

Hi,
how to make apt work with eth and adb in windows ?
can you share the script ?

does it work with the buildroot based distro or just ubuntu ?>
Thanks

It is.

:blush:

Have it running.

Yes, i have been busy also looking at some stuff

  • Updated image too Ubuntu 24.04
  • testing some other wifi dongles
    newer dual band ones even not just 2.4ghz
    e.g

Cody AC1300 (the one with external antenna and the smaller one)


wlx80afca5c3233  IEEE 802.11AC  ESSID:"Frozen"  Nickname:"WIFI@RTL88X2BU"
          Mode:Managed  Frequency:5.18 GHz  Access Point: 54:AF:97:ED:CB:07   
          Bit Rate:867 Mb/s   Sensitivity:0/0  
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:****-****-****-****-****-****-****-****   Security mode:open
          Power Management:off
          Link Quality=99/100  Signal level=62/100  Noise level=0/100
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
root@luckfox:/# speedtest-cli 
Retrieving speedtest.net configuration...
Testing from OPTINET (197.94.81.120)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by Network Platforms (Pty) Ltd (Johannesburg) [1259.92 km]: 17.998 ms
Testing download speed................................................................................
Download: 123.10 Mbit/s
Testing upload speed......................................................................................................
Upload: 32.81 Mbit/s
  • Kernel 6.1.99 source/header for actually compiling more wifi drivers on the device and enabling some in the kernel already provided
root@luckfox:/# lsusb -tv
/:  Bus 001.Port 001: Dev 001, Class=root_hub, Driver=dwc2/1p, 480M
    ID 1d6b:0002 Linux Foundation 2.0 root hub
    |__ Port 001: Dev 004, If 0, Class=Vendor Specific Class, Driver=mt76x2u, 480M
        ID 0e8d:7612 MediaTek Inc. MT7612U 802.11a/b/g/n/ac Wireless Adapter
root@luckfox:/# 

root@luckfox:/# speedtest-cli 
Retrieving speedtest.net configuration...
Testing from OPTINET (197.94.81.120)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by Openserve (Johannesburg) [1259.92 km]: 18.979 ms
Testing download speed................................................................................
Download: 108.38 Mbit/s
Testing upload speed......................................................................................................
Upload: 30.79 Mbit/s

https://www.aliexpress.com/item/1005006074243625.html

2 Likes