Introduction: ThingSpeak Using ESP8266
This is instructions to use the ESP32 to send data to Thing Speak(MQTT Broker) and just see the monitored data or use the data on your website or to expand your project.
Supplies
ESP8266 : MCU/WiFi module
BME280 : Temp sensor
Jumper Cables
micro USB Cable
Step 1: Make Account With Thing Speak (Matlab)
Step 2: Download Arduino IDE
First download the Arduino IDE from the following link
※Choose the correct version for your OS
Step 3: Setup Arduino IDE
Go to File/Preference/ (Windows) Arduino/Preference(Mac)
Add the following link to "Additional Board Manager URLs"
"http://arduino.esp8266.com/stable/package_esp8266c..."
Then go to Tools/Board/Boards Manager
Type "ESP8266" and install the board package.
Go to Tools/Board and choose "NodeMCU 1.0"
Then go to Sketch/Include Library/Manage Library
Search for "ThingSpeak" and download "ThingSpeak by MathWorks"
Search for "BME280" and download "BME280 by Tyler Glenn"
Step 4: Install Drivers for the ESP
On the ESP8266 and ESP32 modules chips like Silicon labs CP2104 or CH403G is used as USB to UART to establish Communication with you computer.
If you have a board with a square chip near the USB that will be CP2104
If you have a board with rectangle chip near the USB that will be CH403G
Step 5: Connect the Hardware
Connect the Sensor and the ESP8266 according to the image above.
4 Comments
Question 2 years ago
Hi, I Am getting this comente, any help?
2 years ago
may i ask u something? why this happen after clicked upload? thanks before, i hope u answer cause this is for my assignment :)
3 years ago
Thanks so much for this! What was supposed to be a BME turned out to be a BMP280 but it works. One comment, I believe the wiring should be as it says in the letters which is different to where you've drawn the lines so SCL on D1 and SDA on D2. Thanks for sharing!
Reply 2 years ago
Thank you for the comment it is a mistake I forgot to update.
And thank you for trying!