Month: December 2016

[Part 3]Temperature sensor DS18b20 with Arduino – NTP Clock

[Part 3]Temperature sensor DS18b20 with Arduino – NTP Clock

Now that we have connected our temperature sensor and saved the data in a SQL database, it is time to add a small function to save the temperature every hour. I could use a RTC clock, but as the ESP8266 is connected to my Wifi network, both use the functions it offers : NTP clock.

Continue reading “[Part 3]Temperature sensor DS18b20 with Arduino – NTP Clock”

[Part 2]Temperature sensor DS18b20 with Arduino – MySQL

[Part 2]Temperature sensor DS18b20 with Arduino – MySQL

Now that we know how to read the temperature from our DS18B20 sensor, it’s time to save this data to a MySQL server.

I would like to point out that for this tutorial, I will not use a PHP page to send and save the temperatures to the SQL server. Here, only a simple request will be used.

Continue reading “[Part 2]Temperature sensor DS18b20 with Arduino – MySQL”