Meshtastic running on PicoCalc (Luckfox Lyra Core)

Updated Ubuntu 24.04.2 Developer Image - ubuntu-24.04.2-picocalc/README.md at main · markbirss/ubuntu-24.04.2-picocalc · GitHub

or use the smaller

But a download for Ubuntu OS is avaible - GitHub - markbirss/ubuntu_22.04.5_lts_picocalc: Ubuntu 22.04.5 LTS for PicoCalc with Luckfox Lyra Core

I have been following the developments made already. but am working toward specific support ruuning Meshtastic on the PicoCalc (Luckfox Lyra Powered) with Ubuntu OS

Only received the PicoCalc this week

The display driver will run MUI in framwbuffer mode but needs input (mouse) not just keyboard at the moment - driver work by hisptoot - Luckfox Lyra on PicoCalc


I have wio-sx1262 connected to the external gpio above

Still under early development

5 Likes

I just got your ubuntu image up and going, this is rad!

1 Like

Good to hear, the Ubuntu OS image is for general use. I have had to make specific changes to device tree for Meshtastic which are in the boot.img.
At least the Ubuntu OS image allows more flexibility as you can run can install programs.

I have not included the wifi drivers but you could get them from the buildroot image and just insmod them for now

I rely on “internet connection” sharing over USB myself for my use at the moment

1 Like

thanks for the details, I was bummed that my wifi wasnt working but was too late at night to figure it out :slight_smile:

ah, what specific adaptor you wanted to use ?

ol reliable. the tplink nano

ok, it the ones that were included for support with the buildroot image ?

works with @hisptoot builds :slight_smile:

Ok, yes, i might just incl those when i get a chance. Still thinking about using network manger or not or just add the modules as used on buildroot…

I have updated the github page to include some more details around the pins mapping usage and config.yaml required for wio-ex1262 or sx1262

Still todo

  • see if I can assign the shortcut keys that are already defined for the T-DECK

I overlooked the fact that the keyboard driver by [hisptoot] (Profile - hisptoot - clockworkpi) already support mouse emulation using the arrow keys

MUI actually usable already

but switching between keyboard modes is not yet allowing me to use it as input - still investigating


but have also been testing CH341/FT232H 5D Joystick as mouse input (should work under X11)


2 Likes

Hey guys I’m new to all this and I’ve never used Linux I’m a complete rookie. I tried loading the Ubuntu image but it keeps telling me to sign in and when I try, it says invalid sign in can anyone help me? I’m Getting this problem with the 24.04.02. I tried loading 22.04.5 but im not getting the image file to even load it to the luckfox. Hoping I could get meshtastic working on the picocalc. Thanks.

Are you using the default user name and password for the Lyra image?

Username: lyra Password: luckfox

1 Like

Thanks so much!! I thought the user name was root, shows you how much I know.:person_facepalming:t2:

No problem at all, believe me, we all had growing pains figuring this stuff out.

1 Like

yes, those luckfox sdk defaults logins are

username: root
password: root

and

normal user
username: lyra
password: luckfox

but adb shell will get you connected over usb as root without password also

you will need to wire up the external gpio to your pico lora hat

and use this radio.yaml

Lora:
  Module: sx1262
  DIO2_AS_RF_SWITCH: true
  DIO3_TCXO_VOLTAGE: true
  gpiochip: 0
  MOSI: 12
  MISO: 13
  IRQ: 1
  Busy: 23
  Reset: 22
  gpiochip: 1
  CS: 9
  SCK: 11
#  TXen: bridge to DIO2 on E22 module
  SX126X_MAX_POWER: 22
  spidev: spidev1.0
  spiSpeed: 2000000

as that waveshare pico lora hat wont need rxen

connect the RM_IO gpio from the PicoCalc to the Pico Lora HAT Lora_xxxx names (table below)

CS: 9 from yaml is RM_IO24 on PicoCalc

SCK: 11 from yaml is RM_IO26 on PicoCalc

the other from yaml match the RM_IO number

so this will be your connections

Yaml			PicoCalc		Pico Lora HAT
  MOSI: 12		RM_IO12			LoRa_MOSI
  MISO: 13		RM_IO13			LoRa_MISO
  IRQ: 1		RM_IO1			LoRa_DIO1
  Busy: 23		RM_IO23			LoRa_BUSY
  Reset: 22		RM_IO22			LoRa_RESET
  CS: 9			RM_IO24			LoRa_CS
  SCK: 11		RM_IO26			LoRa_CLK
2 Likes