How do I record and store the data values of the temperature of my room? I need the code for this exp so that I can learn how the code works.
hello
TO RECORD THE TEMPERATURE OF YOUR ROOM
- Use LM35 sensor make the connection as shown in training
- below is the js code with this you can record your room temperature in Line graph
setChartLibrary(‘google-chart’);
setChartTitle(‘Temperature Monitor’);
setChartType(‘lineGraph’);
setAxisName(‘time’,‘temperature’);
setCrosshair(true);
setAnimation(true);
mul(0.0977);
plotChart(‘time_stamp’,‘temp’);
We are multiplying 0.0977 to get real temperature of your room = 100/1024 = 0.0977
**LET ME KNOW IF YOUR QUERY IS SLOVED **
AND MARK SOLUTION IF HELPFUL
1 Like
Hi @rdlohith,
Please check this project https://www.hackster.io/iambishal/temperature-monitoring-alert-system-using-bolt-iot-98e7b9
Do let me know in case you need further assistance.
@rahul.singh1 sir, I am just astonished to see that no one is giving importance to my query. Please answer this query
Yes, that is exactly what I wanted.
1 Like
please mark solution to end this query
I’ve done that, Thankyou.