The goal of this tutorial is to enable you to capture and send data to the Thingsio.ai cloud from NodeMCU.
Sensor Description and Connectionafter watching the above video you will know how sensor work, like to detect the object in particular direction we have to set our IR sensor in that direction and we can set the detection range using the potentiometer that is mounted on IR sensor pcb.
now lets see the connection for our project.
GND -> GND
+5V -> +5V
O/P -> A0
here all highlighted pins belongs to sensor and other to nodemcu.
so these are the hardware connection, that we have to make and then
STEPS->
1) google thingsio.ai
2) register yourself (or) make an account
3) click on new project button on top menu
4) go to sample code option's --> nodemcu -->LM35 --> copy
5) paste it on arduino ide
6)declare variable that you want to sent to server
here is the attached video for the complete description of above all steps..
Applications:we can use this kind of project in farming (field security), as a obstacle detector, controlling any devices and as a visitor counter also.
By machine learning, you can also predict the future case's like in farming case -->
after so many days of implementing this system we will be having lot of data with us so we can make a nice dataset having feature's like time and "object entry"
and since this will be binary case like somebody is entering in your field or not (0 or 1) so by using logistic algorithm we can easily predict for the future time whether the person or animal will enter in field or not.
Improvement:
Further improvement in this project can be done by using ir remote sensor.
Thanks :)
Comments