-

+
The Luckfox Pico Mini is a compact and power efficient (~0.25w) Linux capable board, ideal for running TC2 Meshtastic BBS (or anything else).
Advantages:
- Tiny size (~28x21mm)
- Power efficiency (~0.25w)
-- Full Linux (Ubuntu!)
+- Full Linux CLI (Ubuntu, Buildroot, Alpine)
- USB host support
- Cheap - $7-8 on Waveshare (also available on Amazon)! Get the A model - the B just has added flash storage that’s too small for our purposes.
@@ -39,24 +18,31 @@
By default, no simple way to get online (no built in wifi/BLE/ethernet). Ethernet can be easily added - wifi still work in progress - see Networking below)
Annoying SDK for building firmware images
No simple way to compile drivers (no available Linux headers - if anyone manages to compile the headers, please let me know)
+
USB seems very power limited - highest observed current is low - just 0.08a at 5v (0.4w). It seems that if power draw exceeds this limit, the device will bootloop or hard crash.
-
Issues / to do:
+
Accomplished:
-- WIFI over USB
-- Meshtasticd to run LoRa radio over SPI - this is a work in progress and is currently not supported
-- Test RAK19003 via UART
+- Ethernet over USB (see supported hardware below)
+- Ethernet over pins (see Networking below and wiring diagram at bottom of page)
+- UART communications with Meshtastic nodes (2 pin pairs)
+- USB serial communications with Meshtastic nodes (see supported hardware below)
+- Meshtastic native client controlling a LoRa radio (see supported hardware below)
+- USB mass storage
+- Real time clock (RTC) support (see supported hardware below)
+- Activity LED disabled. User LED will blink for 5 seconds when boot is complete.
-
After many hours of fiddling, I’ve cobbled together an ubuntu image with support for:
+
Issues / to do / in progress:
-- 2x UART pin pairs - both tested working for communications with Meshtastic devices
-- USB mass storage support (such as flash drives)
-- USB ethernet adapters (sometimes needs to be unplugged and plugged back in after boot to get an IP) - see Networking below
-- Ethernet support WITHOUT an adapter, soldered directly to board - see Networking below and wiring diagram at bottom of this document
-- Many wifi adapter drivers - untested, data coming soon
-- Drivers for CH341, CH343, CP210x and generic serial over USB - tested working with ch341 (e.g. RAK)
-- Drivers for real time clock over i2c - tested working with DS3231 with DS1307 driver (should be compatible with DS1307, DS1337 and DS3231).
+- WIFI over USB or UART (accomplished, unstable, optimizing)
+- Meshtasticd to run LoRa radio over SPI (accomplished, updated image and instructions coming soon)
+- Custom carrier PCB with LoRa radio (in progress)
+- Custom PCB for USB, with power injection and GPIO/i2c control (in progress)
+
+
Project goals:
+
+- A solar-deployable Meshtastic node running Linux, without needing a giant solar panel or battery.
+- Wifi capabilities.
-
Also, I turned off the activity LED. Every μW counts!
I’ve built three Ubuntu 22.04.5 LTS images with Luckfox’s SDK:
- A ‘fresh’ image with no changes but with the added drivers for usb ethernet, wifi, serial, RTC and mass storage.
@@ -78,23 +64,67 @@
- Ethernet over USB - most adapters should be supported, but I’ve only tested the RTL8152 chipset.
- Preconfigured ubuntu images: ethernet via the castellated pins at the bottom of the board. See pinout at the bottom of this readme. Note that the MAC address for onboard ethernet is 1a:cf:50:33:5f:92 - if you need to change this,
sudo nano /etc/network/interfaces.
-
Installation
+
Supported hardware
+
The following hardware is confirmed working with the linked Ubuntu images.
+
+
+
+
+| Hardware |
+Confirmed working |
+Expected to work |
+Notes |
+
+
+
+
+| RTC (real time clock) |
+DS3231, DS1307 |
+DS1337, DS1338, DS1340 |
+Some DS3231 modules are listed as have a supercapacitor - these are usually actually lithium coin cells. |
+
+
+| LoRa radios (working with Meshtasticd) |
+Waveshare RPi LoRa hat without GNSS |
+Any SPI LoRa radio that’s Meshtastic compatible |
+Waveshare RPi hat is not recommended as it has issues with sending longer messages. |
+
+
+| Meshtastic nodes |
+USB+UART: RAK4631 with RAK19007 or RAK19003 base boards |
+ |
+RAK4630 and 4631 are the same. |
+
+
+| USB wifi adapter chipsets |
+RTL8188EUS, MT7601U |
+ |
+USB power limitations are causing many issues. Unreliable - WORK IN PROGRESS. |
+
+
+| Misc. hardware |
+USB hubs, thumb drives, SD card readers |
+ |
+Highest observed current is low - just 0.08a at 5v (0.4w). It seems that if power draw exceeds this limit, the device will bootloop or hard crash. |
+
+
+
Installation - connection to Meshtastic node via UART or USB
Choosing a MicroSD card: Any reasonably fast MicroSD card of 32gb or higher should work, but ideally use a card that supports UHS-1 or higher, and is rated for high endurance.
- Uncompress the 7z file - will require ~29gb of space. In windows, use 7-zip.
- Flash the image your MicroSD card using Balena Etcher or your favorite flashing program. You will likely get a warning that the image appears to be invalid or has no partition table. This is normal.
- Insert the microSD card into the Pico Mini.
- Connect Pico Mini to Meshtastic radio via pins or USB, depending on image flashed. If using pins - use pins 10 and 11 on the Luckfox board.
-- For the rak19007 (with the rak4631 daughter board):
+- For the rak19007 or rak19003 (with the rak4631/rak4630 daughter board):
-- In Position settings, set
GPS: NOT_PRESENT
+- In Position settings, set
GPS: NOT_PRESENT. The Rak does not support GPS and UART simultaneously at this time.
- If using UART comms, Serial Module settings:
Serial: Enabled
Echo: off
-RX: 15
-TX: 16
+RX: 15 (rak19007 and rak19003 with TX1/RX1), 19 (rak19003 with TX0/RX0)
+TX: 16 (rak19007 and rak19003 with TX1/RX1), 20 (rak19003 with TX0/RX0)
Serial baud rate: 115200
Timeout: 0
Serial mode: PROTO
@@ -112,11 +142,6 @@
- You can connect to the Luckfox via ethernet or UART serial as described here.
glhf
-
+


-