In this tutorial we will see how to build a simple IOT Industrial Data logger to log the temperature and Current. We will be using the Max6675 for measuring the temperature and Non-invasive yhdc sct-013-000 AC current sensor to measure electric energy consumed. The measure temperature and Current along with Power is logged to server using Hornbill AWS IOT library.

Please check the earlier tutorials for enabling AWS IOT services to your user account and Hornbill AWS IOT library usage guide.


Reference Libraries

We will be using the AdaFruit Max6675 Library to measure the temperature and Open Energy Monitor's Library to measure the current. Download/Install these libraries.

Schematic

Connection

Code

Temperature and current will be continuously monitored and logged to amazon server every 5sec.

Download

Download the Arduino ESP32 AWS IOT lib and examples form this link.

Have an opinion, suggestion , question or feedback about the article let it out here!