<h3id="the-luckfox-pico-mini-is-a-compact-and-power-efficient-0.25w-linux-capable-board-ideal-for-running-tc2-meshtastic-bbs-or-anything-else.">The Luckfox Pico Mini is a compact and power efficient (~0.25w) Linux capable board, ideal for running <ahref="https://github.com/TheCommsChannel/TC2-BBS-mesh">TC2 Meshtastic BBS</a> (or anything else).</h3>
<li>Cheap - $7-8 on <ahref="https://www.waveshare.com/luckfox-pico-min.htm">Waveshare</a> (also available on Amazon)! Get the A model - the B just has added flash storage that’s too small for our purposes.</li>
<li>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 <em>Networking</em> below)</li>
<li>If the power draw of a USB peripheral exceeds what the Luckfox is able to provide, it will reboot, bootloop or even hard crash. This appears to be avoidable by simply using a sufficient power supply, though this requires more testing</li>
<liclass="task-list-item"><inputtype="checkbox"class="task-list-item-checkbox"checked="true"disabled=""> Ethernet over USB (see <em>supported hardware</em> below)</li>
<liclass="task-list-item"><inputtype="checkbox"class="task-list-item-checkbox"checked="true"disabled=""> Ethernet over pins (see <em>Networking</em> below and wiring diagram at bottom of page)</li>
<liclass="task-list-item"><inputtype="checkbox"class="task-list-item-checkbox"checked="true"disabled=""> UART communications with Meshtastic nodes (2 pin pairs)</li>
<liclass="task-list-item"><inputtype="checkbox"class="task-list-item-checkbox"checked="true"disabled=""> USB serial communications with Meshtastic nodes (see <em>supported hardware</em> below)</li>
<liclass="task-list-item"><inputtype="checkbox"class="task-list-item-checkbox"checked="true"disabled=""> Meshtastic native client controlling a LoRa radio (see <em>supported hardware</em> below)</li>
<liclass="task-list-item"><inputtype="checkbox"class="task-list-item-checkbox"checked="true"disabled=""> USB mass storage</li>
<liclass="task-list-item"><inputtype="checkbox"class="task-list-item-checkbox"checked="true"disabled=""> Real time clock (RTC) support (see <em>supported hardware</em> below)</li>
<liclass="task-list-item"><inputtype="checkbox"class="task-list-item-checkbox"checked="true"disabled=""> Activity LED disabled. User LED will blink for 5 seconds when boot is complete</li>
<liclass="task-list-item"><inputtype="checkbox"class="task-list-item-checkbox"checked="true"disabled=""> Pressing the “BOOT” button triggers reboot</li>
<liclass="task-list-item"><inputtype="checkbox"class="task-list-item-checkbox"checked="true"disabled=""> Ability to reconfigure wifi via USB flash drive</li>
<liclass="task-list-item"><inputtype="checkbox"class="task-list-item-checkbox"checked="true"disabled=""> WIFI over USB or UART (stable, optimizing)</li>
<liclass="task-list-item"><inputtype="checkbox"class="task-list-item-checkbox"checked="true"disabled=""> Meshtasticd to run LoRa radio over SPI (accomplished, updated image and instructions coming soon)</li>
<liclass="task-list-item"><inputtype="checkbox"class="task-list-item-checkbox"checked="true"disabled=""> Allow editing of config files by plugging in thumb drive</li>
<liclass="task-list-item"><inputtype="checkbox"class="task-list-item-checkbox"disabled=""> Ability to activate or deactivate WIFI via Meshtastic admin (accomplished, refining)</li>
<liclass="task-list-item"><inputtype="checkbox"class="task-list-item-checkbox"disabled=""> Prevent hanging on boot when no network ("[ ***] A start job is running for Raise network interfaces (2min 10s / 5min 6s"). Also, on reboot</li>
<liclass="task-list-item"><inputtype="checkbox"class="task-list-item-checkbox"disabled=""> Test power consumption with LoRa radio attached / figure out what size solar panel will be required - preliminarily, 0.36-0.45w average</li>
<liclass="task-list-item"><inputtype="checkbox"class="task-list-item-checkbox"disabled=""> Work out i2c sharing between OS and Meshtasticd - allow mesh to access sensors while RTC is accessible to OS</li>
<liclass="task-list-item"><inputtype="checkbox"class="task-list-item-checkbox"disabled=""> Test lowering CPU frequency - see if reduces total power consumption. Presumption is that it will not make a difference</li>
<li><ahref="https://drive.google.com/file/d/17ofd-bt6IVE3EDBe9cu1_IK2BuYEeg_a/view?usp=sharing">A ‘fresh’ image with no changes but with the added drivers for usb ethernet, wifi, serial, RTC and mass storage.</a></li>
<li><ahref="https://drive.google.com/file/d/1YSlR-At4rCv29A_f9hgME6Z_D2mZ1WO3/view?usp=drive_link">An image preconfigured with the TC2-BBS for comms over UART4.</a></li>
<li><ahref="https://drive.google.com/file/d/1iXApWAXAhl-iirATAJVD0Ilr2K8OdY3i/view?usp=sharing">An image preconfigured with the TC2-BBS for comms over USB.</a> This assumes the USB device is recognized as /dev/ttyACM0.</li>
<p>Login for the “fresh” image is <code>root:root</code> or <code>pico:luckfox</code>. Login for the configured BBS images is <code>root:root</code>, <code>bbs:mesh</code> or <code>femto:fox</code>.</p>
<p>The preconfigured images will reboot every 24 hours, and restart the BBS every other hour. In theory, this should happen at 7am UTC (because both the US and Europe are generally inactive at that time). Time is set on boot with the following logic:</p>
<ol>
<li>If the system recognizes an RTC module connected via i2c, it will use that.</li>
<li>Ethernet over USB - most adapters should be supported, but I’ve only tested the RTL8152 chipset.</li>
<li>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 hardcoded to 1a:cf:50:33:5f:92 - if you need to change this, <code>sudo nano /etc/network/interfaces</code>.</li>
<li>USB wifi - still a work in progress, but working with a couple different chipsets so far. Note we’re using wpa_supplicant, as networkmanager (nmcli) caused hard crashes.</li>
<li>RDNIS via usb - <ahref="https://web.archive.org/web/20241006173648/https://wiki.luckfox.com/Luckfox-Pico/Luckfox-Pico-Network-Sharing-1/">see this guide</a>. Note that in the preconfigured images USB is set to host mode, so you’ll have to switch back to peripheral with <code>sudo luckfox-config</code>. This is not really recommended, but can be used in a pinch.</li>
<p><strong>Choosing a MicroSD card:</strong> 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.</p>
<li>Flash the image your MicroSD card using <ahref="https://etcher.balena.io/">Balena Etcher</a> 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.</li>
<li>You can connect to the Luckfox via ethernet or UART serial as described <ahref="https://wiki.luckfox.com/Luckfox-Pico/Luckfox-Pico-RV1103/Luckfox-Pico-Login-UART/">here</a>.</li>
Meshtastic® is a registered trademark of Meshtastic LLC. Meshtastic software components are released under various licenses, see GitHub for details. No warranty is provided - use at your own risk.</p>