MKR1000 to ThingSpeak.com
A fairly simple project that attaches everyone’s favorite environmental monitor, the DHT, to the Arduino MKR1000 then transmits sensor data.
Things used in this project
I had already developed code for the ESP8266 12-E to have environmental sensor data, taken by the DHT11, uploaded wirelessly to the ThingSpeak website and graphed. I just needed to make minor changes to make it work with the new Arduino MKR1000.
Connect the DHT data line out to the MKR1000 Pin1( labeled 1 on back of board).
Step 2. Download the WiFi101 Library and DHT Library from:
Go to the Board Manager in the Arduino IDE
Search for for Arduino SAMD Boards (32-bits ARM Cortex M0+)
Download version 1.6.3 (I had issues with 1.6.4 as the MKR100 Board didn’t get installed)
Create a free ThingSpeak.com account, label the fields to Graph (humidity and temperatures) and paste your ThingSpeak “write” API key into the provided sketch along with your WiFi SSID and WiFI password.
Select the proper Com Port, looking for the MKR1000, and compile and run the code.
You should see the updates being sent to ThingSpeak in your Serial Window.
Source: MKR1000 to ThingSpeak.com
JLCPCB – Prototype 10 PCBs for $2 (For Any Color)
China’s Largest PCB Prototype Enterprise, 600,000+ Customers & 10,000+ Online Orders Daily
How to Get PCB Cash Coupon from JLCPCB: https://bit.ly/2GMCH9w