Skip to content

Connect your microcontroller to the internet by ESP8266 WiFi Module, And save the data to database(mysql)

Notifications You must be signed in to change notification settings

navidakbari/Arduino-save-data-to-mysql-sample

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation


Arduino-save-data-to-mysql-sample

Connect your microcontroller to the internet by ESP8266 WiFi Module, And save the data to database(mysql)

Intro

The ESP8266 Wifi module is a complete Wi­Fi network where you can easily connect as a serving Wi- Fi adapter, wireless internet access interface to any microcontroller­ based design on its simple connectivity through Serial Communication or UART interface.

Adding this module to your Arduino UNO will open you to more and exciting projects.

While broadcasting data over a dedicated web page on your home network is useful for a home project, fundamentals of an advanced project are to be able to store data you read from your connected sensors. This way you can monitor live data, but are also able to get historic information. It also allows you to capture data from multiple data input devices and display them when and how you want. Even though this could also be done with a dedicated web page by adding a little more code to your Arduino, it is easier to store it to a database and create a web page (or user interface) that reads data from the database.

Description of project

Here i use 'NodeMCU esp8266' with a flow meter madule(Model: YF-S201) ,And send the sensor data to webserber and saved it.

At first, I get data from sensor(flow meter) and then do some work on it, then send request to the my server and save data to database .

You Need These

About

Connect your microcontroller to the internet by ESP8266 WiFi Module, And save the data to database(mysql)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 88.6%
  • PHP 11.4%