This commit is contained in:
nagumii 2024-11-21 01:17:10 +02:00
commit 4f95f360f0
2 changed files with 16 additions and 14 deletions

View file

@ -18,7 +18,7 @@
<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>Annoying SDK for building firmware images</li>
<li>No simple way to compile drivers (no available Linux headers - if anyone manages to compile the headers, please let me know)</li>
<li>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</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>
</ul>
<p><strong>Accomplished:</strong></p>
<ul>
@ -31,14 +31,15 @@
<li>Real time clock (RTC) support (see <em>supported hardware</em> below)</li>
<li>Activity LED disabled. User LED will blink for 5 seconds when boot is complete</li>
<li>Pressing the “BOOT” button triggers reboot</li>
<li>Ability to reconfigure wifi via USB flash drive</li>
</ul>
<p><strong>Issues / to do / in progress:</strong></p>
<ul>
<li>WIFI over USB or UART (accomplished, stable, optimizing)</li>
<li>Ability to trigger GPIO to shut off USB via mesh</li>
<li>Meshtasticd to run LoRa radio over SPI (accomplished, updated image and instructions coming soon)</li>
<li>Custom carrier PCB with LoRa radio (in progress)</li>
<li>Custom PCB for USB, with power injection and GPIO/i2c control (in progress)</li>
<li>Ability to trigger GPIO to shut off USB via mesh</li>
<li>Custom PCB for USB with GPIO/i2c control (in progress)</li>
<li>Prevent hanging on boot when no network ("[ ***] A start job is running for Raise network interfaces (2min 10s / 5min 6s"). Also, on reboot</li>
<li>Test power consumption with LoRa radio attached / figure out what size solar panel will be required</li>
<li>Work out i2c sharing between OS and Meshtasticd - allow mesh to access sensors while RTC is accessible to OS</li>
@ -87,13 +88,13 @@
<tbody>
<tr>
<td>LoRa radios (working with Meshtasticd)</td>
<td>* <a href="https://www.waveshare.com/sx1262-lorawan-hat.htm?sku=22002">Waveshare RPi LoRa hat without GNSS</a><br> * <a href="https://www.seeedstudio.com/Wio-SX1262-Wireless-Module-p-5981.html">Seeed Wio SX1262</a><br>* <a href="https://aliexpress.com/item/4000543921245.html">Ebyte E220900M30S</a><br>* RA-01SH<br>* HT-CT62</td>
<td>* E22-900mm22s<br>* E22-900m22s<br>* Any SPI LoRa radio that’s Meshtastic compatible</td>
<td>Waveshare RPi hat is not recommended as it has issues with sending longer messages.</td>
<td><li><a href="https://www.waveshare.com/sx1262-lorawan-hat.htm?sku=22002">Waveshare RPi LoRa hat without GNSS</a>*</li><li><a href="https://www.seeedstudio.com/Wio-SX1262-Wireless-Module-p-5981.html">Seeed Wio SX1262</a></li><li><a href="https://aliexpress.com/item/4000543921245.html">Ebyte E220900M30S</a></li><li>RA-01SH</li><li>HT-RA62</li></td>
<td><li>E22-900mm22s</li><li>E22-900m22s</li><li>Any SPI LoRa radio that’s Meshtastic compatible</li></td>
<td>*Waveshare RPi hat is not recommended as it has issues with sending longer messages.</td>
</tr>
<tr>
<td>RTC (real time clock)</td>
<td>* <a href="https://vi.aliexpress.com/item/1005007143842437.html">DS3231M</a><br>* <a href="https://vi.aliexpress.com/item/1005007143542894.html">DS1307</a></td>
<td><li><a href="https://vi.aliexpress.com/item/1005007143842437.html">DS3231M</a></li><li><a href="https://vi.aliexpress.com/item/1005007143542894.html">DS1307</a></li></td>
<td>DS1337, DS1338, DS1340, other DS3231 variants</td>
<td>Some DS3231 modules are listed as have a supercapacitor - these are usually actually lithium coin cells.</td>
</tr>
@ -105,15 +106,15 @@
</tr>
<tr>
<td>USB wifi adapter chipsets</td>
<td>* RTL8188EUS<br>* MT7601U<br>* AR9271 (does not show in iwconfig for some users but works)</td>
<td><li>RTL8188EUS</li><li>MT7601U</li><li>AR9271 (seems to be unstable, does not show in iwconfig for some users)</li></td>
<td></td>
<td>USB power limitations are causing many issues. Unreliable - WORK IN PROGRESS.</td>
<td>WORK IN PROGRESS.</td>
</tr>
<tr>
<td>Misc. hardware</td>
<td>* USB hubs (powered or not)<br>* Thumb drives<br>* SD card readers</td>
<td><li>USB hubs (powered or not)</li><li>Thumb drives</li><li>SD card readers</li></td>
<td></td>
<td>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.</td>
<td>If power draw exceeds supply, the device will reboot, bootloop or hard crash.</td>
</tr>
</tbody>
</table><h3 id="installation---connection-to-meshtastic-node-via-uart-or-usb">Installation - connection to Meshtastic node via UART or USB</h3>
@ -268,6 +269,7 @@ In Meshtasticd’s config.yaml we use GPIO bank 1, and subtract 32 from the pin
<p><img src="https://github.com/noon92/luckfox/blob/main/luckfox-pico-mini_wiring-diagram.png" alt="pinout"><br>
<img src="https://github.com/noon92/luckfox/blob/main/luckfox_pico_mini_original_wiring_diagram.jpg" alt="pinout"></p>
<blockquote>
<p>The information on this page is given without warranty or guarantee. Links to vendors of products are for informational purposes only.</p>
<p>The information on this page is given without warranty or guarantee. Links to vendors of products are for informational purposes only.<br>
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>
</blockquote>

View file

@ -31,8 +31,8 @@ country="US"
<tr>
<td>⚠️ One very long blink, lasting 4 seconds</td>
<td>Failed to mount USB drive. Ignoring.</td>
<td>* Invalid filesystem<br>* Corrupted partition table<br>* Defective USB drive</td>
<td>* Use a supported partition (FAT32, exFAT, ext4)<br>* Repair partition table<br>* Try another USB drive</td>
<td><li>Invalid filesystem</li><li>Corrupted partition table</li><li>Defective USB drive</li></td>
<td><li>Use a supported partition (FAT32, exFAT, ext4)</li><li>Repair partition table</li><li>Try another USB drive</li></td>
</tr>
<tr>
<td>⚠️ 3 long blinks, each lasting 1.5 seconds</td>