Here’s my simple home automation or industrial automation IoT solution.
We often face problem of water getting spilled out from our overhead water tanks or industrially we need to monitor our water level continuously. So, let us make a solution to monitor water level of our tank. It is a very simple DIY project which can make our life simple. we may use ultrasonic sensor also to measure the level of water but here I am using water level sensor only to measure the level of water.
NodeMCU _______ Sensor
3.3V____________ +__________
GND____________-__________
A0______________S__________
D2______________buzzer
After making your connections, go to thingsio.ai cloud platform, for those who don't know about this platform can follow the following steps to register and create new project and visualize the data.
Setting Up Cloud Account on ThingsIO.AI
ThingsIO.AI is a IoT platform for developers. As a developer we understood the pain of not having a seamless place to connect, analyze and process device data. Many pure analytics platforms does not offer device management, which is core for the iot. That is the reason for ThingsIO.AI.
- Register the account in http://thingsai.io/
- You will get the notification for sign up.
- Go in your email address and verify your account.
- After that, sign in your account with your email address and password
- Now, you will be on the project dashboard. Click on the new project option.
- Click on the add a new device option. you will get device ID.
- Enter the device name and click on the create and configure device.
- You will be on your device dashboard.
Some Basic Points (1-5) for Analysing Data on ThingsIO.AI.
1. Track your device’s special parameters here. This can be set in device configuration(default to null).
2. You can see your real time and special parameter’s graph.
3. You can see your all data points.
4. You can see here your last 5 data points.
5. You can see here all the list of created graphs.
- Go in sample device code options and click on the NodeMCU.
- You will get the sample code from there copy and paste into your Arduino IDE.
Click on the “Send trial data” to send a trial data to the server:
Charting and Visualizations on ThingsIO.AI
Go to your ThingsIO.AI account and go to your device.
Click on the configuration device option:
- You can set the special parameters (this is tracked on the device dashboard) & transform it accordingly and add new parameters (Parameters are updated automatically as you send them from your device).
- Click on the update device option:
- To create a graph for your device click on the “create graph option."
- Put the parameter that you want in your graph.
- And you will be having the graph of your data.
After making the proper connections, dump your program to nodemcu adn then see if you are getting the correct output I your serial monitor or on Thingsio.ai. complete illustration of the same you can see in below video.
I hope it helps!
Any questions or suggestions, please let me know!
Comments