這是其他幾個項目的主要容器解決方案,用於使用LORA的本地控制台遠程控制和監視Demote設備上的GPIO引腳。
通常,一個人可能僅在此主要解決方案中進行編碼,但是在將二進制的二進制端口上傳到不同項目中的不同COM端口時,出現了未解決的衝突。因此,就目前而言,本解決方案中包含的項目是在安裝了Visual Micicro加載項的不同實例中開放的。
另請參見:https://gojimmypi.blogspot.com/2018/02/lora-range-issues.html
和:https://gojimmypi.blogspot.com/2018/02/m5stack-lora-range-issues.html
感興趣的4個主要項目:
基於32U4的DIYMALL LORA32U4,使用Radiohead庫,範圍很好作為本地控制台。當前在此控制台上沒有實現顯示
基於32U4的DIYMALL LORA32U4使用Radiohead庫,其範圍良好作為遠程GPIO設備。
最初與Sandeep Mistry的Lora圖書館合作的M5Stack Lora的M5STACK LORA,但范圍差。 M5Stack具有不錯的外殼和內置顯示屏。
The working, but poor range code can be found here (NOTE it was saved with frequency=433.375E6): https://github.com/gojimmypi/LoRa-GPIO/blob/8e96d83eca89cd9ac19fb5eeca8fb276b7a5dddf/M5StackConsole/M5StackConsole.ino
當前的目標是使Radiohead庫與此項目一起工作。
請參閱此項目的M5-Radiohead分支:https://github.com/gojimmypi/lora-gpio/tree/m5-radiohead
Radiohead的11個月大的Adafruit叉:https://github.com/gojimmypi/radiohead/tree/development
主射電台從AdaFruit教程(缺少ESP32支持)https://learn.adafruit.com/adafeath-feather-32u4-with-with-with-lora-lora-radio-module/using-the-the-rfm-9x-radio https://learn.adafeath-feather-32uio-with-brandio/ghttpps:htttpps:/githmermiqu/radmique.com/gjimmique.com/gjimmique the https://learn.adafeer.com/ADAFRUIT.COM/ADAFRUIT.COM/
然後,最新代碼的新更改將應用於M5STACK本地分支:https://github.com/gojimmypi/radiohead/radiohead/tree/m5stack(尚未使用最新的11個月舊代碼更新)
請參閱源“ http://www.airspayce.com/mikem/arduino/radiohead/”源“ GitHub'ified版本
我們要忽略第三方設備的傳輸。這是一個例子第三方。
有些事情在這裡遇到了問題,無法解決。代碼移至新項目。 Error: VM_Boards.h: 653:2: error: #error "Please edit Boards.h with a hardware abstraction for this board" error "Please edit Boards.h with a hardware abstraction for this board" for (analogPin = 0; analogPin < TOTAL_ANALOG_PINS; analogPin++) ... Error compiling libraries Debug Build Error: This hardware might not support the default Visual Micro Debugger.如果此項目使用OTA/WIFI上傳,請使用VMICRO> DEBUGGER菜單為調試器設置串行COM和遠程端口。否則,將工具欄從“調試”切換到“發布”,然後再次構建。或關閉自動調試或配置軟件調試器選項。調試構建失敗了項目“ M5StackConsole”
答案:“調試問題是您在項目調試選項中啟用了自動模擬,數字或其他圖形視圖。這些視圖需要有關木板的信息,例如數字引腳數。您的硬件是未知的,因此“錯誤”告訴您硬件未知。”
請參閱http://www.visualmicro.com/forums/yabb.pl?num=1518378800/0#3
(但是我實際上不知道如何在IDE中解決此問題;為此保存了這個bad項目)
另請注意:“ USB驅動程序的V10不適合您的OP系統,它適用於Windows Universal” http://www.visualmicro.com/forums/yabb.pl?num=15183788800/2#2
顯然,我沒有正確閱讀完整的描述,並且無意中安裝了與Windows 10無法正常工作的最新“通用”驅動程序。
Sketch - > Include Library - > Manage Libraries...m5stack 。Install按鈕安裝庫。 cd ~ /Documents/Arduino/libraries/
git clone https://github.com/gojimmypi/RadioHead.git
git clone https://github.com/gojimmypi/M5Stackc:
cd %USERPROFILE% d ocuments l ibraries
git clone https://github.com/gojimmypi/RadioHead.git
git clone https://github.com/gojimmypi/M5Stack提醒:同步存儲庫的叉子,以使其與上游存儲庫保持最新狀態。 https://help.github.com/articles/syncing-a-fork/