Difference between revisions of "Hornbill Industrial Data Logger"
Line 5: | Line 5: | ||
Check the earlier tutorials for enabling [[Secure_IOT_with_AWS_and_Hornbill_ESP32|AWS IOT services]] to your user account and [[AWS_IOT_with_Arduino_ESP32|Hornbill AWS IOT]] library usage guide. | Check the earlier tutorials for enabling [[Secure_IOT_with_AWS_and_Hornbill_ESP32|AWS IOT services]] to your user account and [[AWS_IOT_with_Arduino_ESP32|Hornbill AWS IOT]] library usage guide. | ||
− | |||
− | |||
− | |||
− | |||
=Schematic= | =Schematic= | ||
Line 18: | Line 14: | ||
=Code= | =Code= | ||
− | Temperature and current will be continuously monitored and logged to amazon server every 5sec. | + | Temperature and current will be continuously monitored and logged to amazon server every 5sec. To compile the code add the following libraries. |
+ | * [https://github.com/adafruit/MAX6675-library Adafruit Max6675 Library] to measure the temperature | ||
+ | * [https://github.com/openenergymonitor/EmonLib Open Energy Monitor's Library] to measure current and power. | ||
<html> | <html> |
Revision as of 13:43, 15 April 2017
In this tutorial we will see how to build a simple IOT Industrial Data Logger(IDL) to log the device temperature and current to AWS IOT and display it on Hornbill IO. The IDL connects to Wi-Fi and then to the clould.
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 measured temperature and current along with power is logged to server using Hornbill AWS IOT library. This data could later be used to determine device specific events like operating duration, total power consumption etc., Combing this with the device temperature can be useful in understanding operating health of the machine. We have attached Hornbill Industrial Data Logger to a bench top drill machine, you may add it any machine where power and temperature measurements can result in useful insights.
Check the earlier tutorials for enabling AWS IOT services to your user account and Hornbill AWS IOT library usage guide.
Contents
Schematic
The IDL can be powered either through a LiPo battery or using the on-board USB connector.
Assembly
The Hornbill IDL kit comes with all the parts required. The steps show assembling a DIY version of the kit, however the IDL Kit we will ship will come with pre-assembled single PCB with ESP32 Module, Sensors and other circuitry built-in.
Code
Temperature and current will be continuously monitored and logged to amazon server every 5sec. To compile the code add the following libraries.
- Adafruit Max6675 Library to measure the temperature
- Open Energy Monitor's Library to measure current and power.
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!