These programs were developed by myself, Charlotte Dorn, while working on IoT sensor technology and data transmission at Cambia Community in Louisa, VA. For more information on the community, see www.cambiacommunity.weebly.com
These programs were used either on an Arduino Uno, a NodeMCU, or a Heltec LoRa Wifi ESP32.
For use on NodeMCU or other ESP8266 Board This is just an example program for publishing data to a Thingspeak channel. Libraries: PubSubClient, ESP8266Wifi
For use on NodeMCU or other ESP8266 Board This code publishes data recieved from an AC current sensor to Thingspeak.com. Here is the sensor I purchased from Amazon: https://www.amazon.com/dp/B07D8SXQ13?psc=1&ref=ppx_pop_dt_b_product_details
This and the rest of the MQTT files are configured to use Cambia's wifi network and server. Make sure you change pass, server, writeChannelID, and writeAPIKey.
For use on NodeMCU or other ESP8266 Board This publishes the temperature read from a Waterproof DS18B20 Digital temperature sensor. Libraries: OneWire, DallasTemperature, PubSubClient, ESP8266WiFi
These two programs come from the library Heltec Wifi LoRa 32 (V2).
NEITHER OF THE FOLLOWING HAVE BEEN TESTED
This file is intended to send the message "ding" when a button hooked up to GPIO Pin 3 is pushed.
This file is intended to control a digital ouput whenever a message "ding" is recieved.