This shows you the differences between two versions of the page.
iothings:proiecte:2022:smartcameralivefeed [2023/01/20 11:53] ioana.georgescu |
iothings:proiecte:2022:smartcameralivefeed [2023/01/20 12:10] (current) ioana.georgescu |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Smart Camera Live Feed ====== | ====== Smart Camera Live Feed ====== | ||
Author: Georgescu Ioana | Author: Georgescu Ioana | ||
+ | |||
Project archive: {{:iothings:proiecte:2022:cameraside.zip|}} | Project archive: {{:iothings:proiecte:2022:cameraside.zip|}} | ||
+ | |||
+ | Database: https://console.firebase.google.com/u/0/project/smart-camera-live-feed/overview | ||
===== 1. Project Objective ===== | ===== 1. Project Objective ===== | ||
Line 19: | Line 22: | ||
{{:iothings:proiecte:2022:smartcamera.jpg?direct&200|}} | {{:iothings:proiecte:2022:smartcamera.jpg?direct&200|}} | ||
- | The DHT22 is connected to the ESP32-CAM module. | + | The DHT22 is connected to the ESP32-CAM module. The ESP32-CAM module does not have a built-in programmer. I used an FTDI programmer to connect it to upload my code and to provide the power supply. Both the ESP32-CAM and the DHT22 require a 6V power supply. |
===== 3. Software ===== | ===== 3. Software ===== | ||
The camera side of the project was implemented using the Arduino IDE. | The camera side of the project was implemented using the Arduino IDE. | ||
+ | |||
+ | For the Android app I used Android Studio. | ||
+ | |||
+ | For storing the data I created a Firebase project. I used the Realtime Database to store and update the sensor readings and the Storage for the images from the CAM. The images are referenced by their URL in the Realtime Database to make querying them in the Android app more straightforward. | ||
+ | |||
+ | The CAM reads the sensor and takes a picture every 5 seconds. It uses an NTP server to determine the current hour. The hour is used to compose the path to the data to be updated in the Realtime Database and to determine weather the current image shoul be included in the 30 day summary. | ||
===== Resources ===== | ===== Resources ===== |