Introduction

The ESP8266 is a popular programmable microcontroller with a lot of features. One of its main features in the ability to directly connect the microcontroller to WiFi. This gives u the ability to control the microcontroller over the internet using http, MQTT and many other ways. But it also gives u the ability to send data to the internet. In this guide i am going to explain to you how you can connect a ESP8266 based controller with an BME280 directly to an MySQL database without any other connections or servers in-between.

Parts required

-NodeMCU (Other ESP8266 based controllers will also work)

-BME280 sensor (Other sensors will also work but u have to modify the code)

-Breadboard

-Jumper wires

Read More