AM2302 (DTH22) on Adafruit Feather HUZZAH reporting via Wi-Fi (step 4)

Next we’ll connect the Feather to Wi-Fi and report the temperature and humidity data to a cloud MySQL database server through a web page. Using the MAC address for the Feather you found in step 2, register the Feather on Devicenet. Paste the is sketch and make necessary edits (indicated with //TODO): // https://github.com/openhomeautomation/esp8266-cloud/blob/master/cloud_data_logger/cloud_data_logger.ino // … Read more

Categories IoT

Testing AM2302 (DTH22) on Adafruit Feather HUZZAH (step 3)

For this, I purchased: solderless breadboard (3 pack) – $9.99 eachhttps://www.amazon.com/gp/product/B01EV6LJ7G Adafruit AM2302 temperature & humidity sensor – $15 eachhttps://www.adafruit.com/product/393   Connect the AM2302 sensor to the Feather using the breadboard: Download the DHT-sensor-library from Adafruit’s Github Unzip and place the folder in On a PC:   /Program Files (x86)/Arduino/libraries/DHT-sensor-master-library On a Mac:   /Documents/Arduino/libraries/DHT-sensor-master-library Sketch –> … Read more

Categories IoT

Get the MAC address of an Adafruit Feather Huzzah Arduino board (step 2)

Create a new sketch with the following code and upload it: #include “ESP8266WiFi.h” void setup(){ Serial.begin(115200); delay(500); Serial.println(); Serial.print(“MAC: “); Serial.println(WiFi.macAddress()); } void loop(){} Open the serial monitor (magnifying glass). Press the reset button on your Feather. You should then see the MAC address associate with the wireless Ethernet radio on your Feather appear in … Read more

Categories IoT

Connecting to an Arduino Feather Huzzah and Testing (step 1)

For this project I purchased an Arduino Feather Huzzah Adafruit 2821 Feather HUZZAH with ESP8266 Wi-Fihttps://www.adafruit.com/product/2821 Mac installation: Following the instructions on the Feather Huzzah page, I downloaded the latest Arduino IDE:Arduino IDE.Next, I downloaded and installed the Legacy CP2104 USB driver for my Mac from here.   Windows installation: I downloaded the Windows installer (.exe) … Read more

Categories IoT