这是其他几个项目的主要容器解决方案,用于使用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/