This shows you the differences between two versions of the page.
iothings:proiecte:2025sric:centralheatingmonitoring [2025/05/28 23:22] george.tudurean [Software] |
iothings:proiecte:2025sric:centralheatingmonitoring [2025/05/28 23:49] (current) george.tudurean [Wood Central Heating Monitoring] |
||
---|---|---|---|
Line 4: | Line 4: | ||
* Email: george.tudurean@stud.acs.pub.ro | * Email: george.tudurean@stud.acs.pub.ro | ||
* Master: SRIC | * Master: SRIC | ||
+ | * Gitlab: https://gitlab.cs.pub.ro/tudu/iot/-/tree/firebase?ref_type=heads | ||
====== Context ====== | ====== Context ====== | ||
Line 19: | Line 20: | ||
* ESP32-S3-devkitc-1 | * ESP32-S3-devkitc-1 | ||
- | * 2 DS18B20 temperature sensors | + | {{ iothings:proiecte:2025sric:esp32-s3-devkitc-1-v1.1-isometric.png?200 }} |
- | * 1 SG-05010 servomotor | + | * 2 * DS18B20 temperature sensors |
+ | {{ iothings:proiecte:2025sric:ds18b20.jpg?200 }} | ||
+ | * SG-05010 servomotor | ||
+ | {{ iothings:proiecte:2025sric:servomotor-sg5010.jpg?200 }} | ||
* a breadboard | * a breadboard | ||
* a battery pack with 4 AAA batteries (6V) | * a battery pack with 4 AAA batteries (6V) | ||
Line 269: | Line 273: | ||
} | } | ||
</code> | </code> | ||
+ | |||
+ | I really hate just throwing code in here and calling it a day but I'm really tired and also otherwise the page would be empty. | ||
==== Firebase ==== | ==== Firebase ==== | ||
+ | {{ iothings:proiecte:2025sric:tudu-firebase-app.png?600 }} | ||
+ | The entire application is hosted in firebase using a realtime database that contains: | ||
+ | * history of sensor readings | ||
+ | * latest reading | ||
+ | * status of "Start Fire" button | ||
+ | |||
+ | The entire communication between the ESP32 and the Firebase application is done using the realtime database: | ||
+ | {{ iothings:proiecte:2025sric:tudu-realtime-database.png?600 }} | ||
====== Challenges ====== | ====== Challenges ====== | ||
+ | How the hell can someone open a store that sells something and have no knowledge about it? There is one store in Pitesti that sells electronics and Arduino stuff, and they have no idea what they are selling. Literally. I went there asking for parts and some advice, and they asked me for the codes of stuff on their website. They even gave me the wrong thing because I wasn't paying attention. HOW? (It's also my fault, I suppose, but still) | ||
+ | |||
+ | Another challenge was getting the interface to be responsive: | ||
+ | {{ iothings:proiecte:2025sric:tudu-firebase-app-phone.png?600 }} | ||
+ | And also all of the other stuff that can go wrong when using this hellish spawn of a platform called ESP32/Arduino, I really hope someone pays for the suffering they have upon the world. | ||
====== References ====== | ====== References ====== | ||
+ | Idk, stuff online I guess? |