No description
Find a file
2024-11-01 19:49:03 +02:00
Luckfox-Pico-Mini-details-inter.jpg Add files via upload 2024-10-25 18:40:31 +03:00
modified_wiring_diagram.png Rename modifiedwiringdiagram.png to modified_wiring_diagram.png 2024-11-01 19:47:13 +02:00
README.md Update README.md 2024-11-01 19:49:03 +02:00
splash.jpg Add files via upload 2024-10-25 18:44:52 +03:00

The Luckfox Pico Mini is a compact and power efficient (~0.25w) linux capable board, ideal for running a Meshtastic BBS (or anything else).

Advantages:

  • Small size (~28x21mm)
  • Power efficiency (~0.25w)
  • Full linux (Ubuntu!)
  • Cheap - $7-8 on Waveshare! Get the A model - the B just has added flash storage that's too small for our purposes.

Disadvantages:

  • By default, no simple way to get online (no built in wifi/ble/ethernet)
  • 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)

After many hours of fiddling, I've cobbled together a firmware image with support for:

  • 2x UART pin pairs - both tested working for communications with meshtastic devices
  • USB mass storage support (such as flash drives) - tested working
  • USB ethernet adapters (sometimes needs to be unplugged and plugged back in after boot to get an IP) - tested working with RTL8152 chipset
  • Ethernet support WITHOUT an adapter, soldered directly to board - see wiring diagram - tested working
  • Many wifi adapter drivers - untested, data coming soon
  • Drivers for CH341, CH343, CP210x and generic serial over USB - tested working: ch341 (e.g RAK)
  • Drivers for several common RTCs - untested

Also, I turned off the activity LED. Every μW counts!

I've built three Ubuntu 22.04.5 LTS images with Luckfox's SDK:

  1. A 'fresh' image with no changes.
  2. An image preconfigured with the TC2-BBS for comms over UART4.
  3. An image preconfigured with the TC2-BBS for comms over USB. Note that this assumes the USB device is recognized as /dev/ttyACM0. NOTE: The preconfigured images will reboot every 24 hours, and restart the BBS every other hour. In theory, this should happen at 6am UTC, but the luckfox does not have an RTC, so it's hard to say when it'll happen. If the Luckfox has networking, it should get network time on boot.

Installation

  1. Uncompress the 7z file - will require ~29gb of space. In windows, use 7-zip.
  2. Flash the image to a reasonably fast Micro-SD card of at least 32gb in size 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.
  3. Insert the microSD card into the Pico Mini.
  4. 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.
  5. For the rak19007 (with the rak4631 daughter board):
  • In Position settings, set GPS: NOT_PRESENT
  • If using UART comms, Serial Module settings:
    • Serial: Enabled
    • Echo: off
    • RX: 15
    • TX: 16
    • Serial baud rate: 115200
    • Timeout: 0
    • Serial mode: PROTO
    • Override console serial port: off
  1. Rak19003 will require different pin numbers - probably 19,20 but this is untested.
  2. Remember - connect TX on the Luckfox to RX on the Meshtastic board, and vice-versa.
  3. Power can be supplied to the rak via the 3.3v pin on the Luckfox.
  4. If communications is via UART, you must bridge the grounds of the two boards.
  5. Supply power to the Pico Mini via pins or USB.
  6. It should Just Work.
  7. You can connect to the Luckfox via USB Ethernet adapter or via UART serial as described here.

Login for the "fresh" image is root:root or pico:luckfox. Login for the configured BBS images is bbs:mesh.

glhf

pinout pinout