Board Manager URL for ESP32:
Board Manager URL for Feather M0 LoRa:
Basically need to just load this config file in 'Additional Board Manager URLs' field in Preferences in Arduino IDE:
Then can select Heltec WiFi Lora (V2) (the board we're using).
WiFi scan worked.
|Initial wifi scan test.|
U8g2 library for Arduino covers a wide range of common displays.
Test code that will scan wifi and display the results on the screen.
Instructable that has a nice set of diagrams of pinouts
They suggest using this LoRa library.
use this LoRa library;
And this example.
Basic RFM95 Receive code for Heltec. Works.
Working code to do basic JSON post to FarmOS here.
ArduinoJSON SerializeJSON documentation.
Using loop-updated variables, code is here.
Using dummy variables, not yet parsing incoming radio, code is here
Feather sends JSON data; Heltec receives, parses, posts to FarmOS; code is here.
Some nice notes here
Deep sleep example code
Able to get about 2 mA in deep sleep using Heltec. ...
.. then turned off lora radio and got 1 mA.
gist of the code to do this is here
Further discussion of low power modes here.
From CNX Software -- looks like they use dozens of nodes here.
Lastminuteengineer description using Arduino IDE is here.
Using the web, here.
Espressif github example of web-based OTA here.
Modified example worked nicely, code is here
|Initial login page to ESP32.|
And it works!
|Progress after uploading.|
Great guide to Heltec, here
WiFi Manager library here
I think the relevant section is here
Nice guide for Config Portal here
Nice set of utilities around AutoConnect and etc for ESP32 by 'hieromon', here
Maybe this, by 'Hieromon' is the latest lib <---- yes, this is it!!
Getting started page here <---- Great place to start with autoconnect.
This is the code that I took from that link just above, and I put it here And it worked!
Easiest to install AutoConnect via ArduinoIDE -- it then prompts for other necessary libraries.
Can use AutoConnect 'Credential' example to erase currently-saved WiFi credentials.
How to embed Autoconnect, here.