2f55cb6a6c11a8adfb0b135b5af35263f4375a18
👀 arduino-uno_home-assistant Overview
A handmade photo camera
🚀 Features
This a portable mini photo camera.It has also a flash.Every photo saved with unique name in a sd card storage.
🔎 Preparation
1. Components
'1' Arduino Uno'1' 16×2 LCD Screen
'1' Flammable Gas Sensor (MQ-2)
'1' Temperature and Humidity Sensor (DHT11)
'1' Real-Time Clock Module (DS1302)
'1' Flame Detection Sensor (IR Flame Sensor)
'1' 5V Active Buzzer
Use an SD card with a minimum capacity of 4 GB, formatted as FAT32 with a 32 KB allocation unit size.Then insert this SD card into your ESP32-CAM board.Connect your 'OV2640' camera to your ESP32-CAM board.
📦 Setup
Refer to the 'circuit_camera-programming.png' diagramInstall the 'Arduino IDE' software and open 'esp32-cam_camera.ino' with 5 other fileFile>Preferences>Additional Boards Manager URLs:(Click the double window button)
Paste this code
https://dl.espressif.com/dl/package_esp32_index.json
Click 'OK'Tools>Board>Boards Manager...Search 'esp32' by Espressif Systems, and install it
⚠️ Warning: Make sure you have installed the correct USB driver (CH340, CH341, FT232R / FTDI Driver, CP2102) before connecting the ESP32CAM to your computer.
-
Plug the ESP32CAM into your computer -
Tools>Board>esp32>'AI Thinker ESP32-CAM' -
Tools>Port>'Select the esp's port' -
Tools>Manage Libraries...>Install the libraries used in the code -
Click the 'upload ➡️' button
✅ To make sure it has been uploaded successfully, you should see the message 'Done uploading'
⚠️ Advisory for Developers: If you want to try this project in the future with new generation boards and you want to add new features like using 'DS1302 real time module', you must have 3 unused pins.
🎉 Run
Refer to the 'circuit_camera.png' diagramLet the electricity pass through the switchPress the reset button on the esp32camYou are ready to use your mini camera
🔒 License
📜 GPL-3.0 License
Languages
C++
100%