Differences

This shows you the differences between two versions of the page.

Link to this comparison view

iothings:proiecte:2024:temperature_monitor [2025/01/14 11:53]
alexandru.chirila01
iothings:proiecte:2024:temperature_monitor [2025/01/14 12:41] (current)
alexandru.chirila01
Line 10: Line 10:
 ---- ----
  
- This project is meant to monitor the temperature for a certain room: the room where the sensor will be placed. It is simplist ​project ​consisting ​of two parts: + This project is meant to monitor the temperature for a certain room: the room where the sensor will be placed. It only prints data when the temperature changes by at least 0.5 °C since the last printed temperature value. It also plays notification sound when this change of temperature occurs. The project ​consists ​of two separate ​parts: 
-  - An arduino program which monitors the temperature and sends it to a Firebase database +  - An arduino program which monitors the temperature and sends it to a Firebase database. The program runs on an ESP32 
-  - A Python script which can be run on any computer or even an Android phone or an iPhone (Python interpreter installation required)+  - A Python script which gets the temperature from the database. It can be run on any computer or even an Android phone or an iPhone (Python interpreter installation required) 
 + 
 +=== Schematic === 
 +----- 
 + 
 +{{:​iothings:​proiecte:​2024:​schema_2.png?​600|}}
  
 === Hardware Description === === Hardware Description ===
Line 87: Line 92:
 As said before, the data read from sensor is saved in Firebase and is updated in real time in the output of the python script. As said before, the data read from sensor is saved in Firebase and is updated in real time in the output of the python script.
  
-=== Running the Python script ===+=== Python script ===
 ---- ----
- Running ​the python ​script is as follows+ In order for the Python ​script ​to run, the playsound3 library needs to be installed. Here is a simple way to install it via pip
-  ​$ python ​.\app_client.py +  ​pip install git+https://​github.com/​sjmikler/​playsound3.git 
-  ​Temperature at 2025-01-14 11:49:​49.943171:​ 32.45°C +  ​ 
-  ​Temperature at 2025-01-14 11:50:26.97904932.97°C + ​Running the python script is done as follows
-  Temperature at 2025-01-14 11:​50:​45.22680133.53°C+  ​ 
 +{{:iothings:proiecte:2024:running_the_script.png?700|}}
  
 === References === === References ===
  
 https://​randomnerdtutorials.com/​esp32-firebase-realtime-database/​ https://​randomnerdtutorials.com/​esp32-firebase-realtime-database/​
 +
 +https://​github.com/​sjmikler/​playsound3
iothings/proiecte/2024/temperature_monitor.1736848437.txt.gz · Last modified: 2025/01/14 11:53 by alexandru.chirila01
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0