#define PIR_PIN 33 //GPIO_INPUT_IO_33 AS312Īlso a section exists if an Active Buzzer is connected which is triggered with the motion detection. #define USE_OLED_AS_FLASH 1 // the OLED is on the same side as the camera please update the camera_pins.h for other boards and more features.įor the CAMERA_MODEL_TTGO_T1_CAMERA borad, please chose the "TTGO T1" and and set Tools-> Partiton Scheme -> Huge App (3MB No OTA/1MB SPIFF)įor example: in "camera_pins.h" inside the section "#elif defined(CAMERA_MODEL_TTGO_T1_CAMERA)", you will find these precompilers: This code has been tested on CAMERA_MODEL_AI_THINKER and CAMERA_MODEL_TTGO_T1_CAMERA modules. The "camera_pins.h" has the speces of each board pins and also supported features such as OLED, Flash. # define CAMERA_MODEL_TTGO_T1_CAMERA // Board definition "TTGO T1" Enabling Disabeling Features at compile time Select camera model //#define CAMERA_MODEL_WROVER_KIT //#define CAMERA_MODEL_ESP_EYE //#define CAMERA_MODEL_M5STACK_PSRAM //#define CAMERA_MODEL_M5STACK_WIDE //#define CAMERA_MODEL_AI_THINKER // Board definition "AI Thinker ESP32-CAM" please check the required libraries section above.īefore uploading, chose the target ESP32-CAM Board :. ![]() Adafruit SSD1306 and Dependecies such as Adaruit GFX.etc.This project is Compiled and uploaded through ArduinoIDE, use the normal procedure for installing ESP32 in ArduinoIDE and install the following Libs: I recommend using ESP32 Core Libs version 1.0.6 from this link: User Guide: Compile and Upload However, from version 2 upward (availbale only on the 2nd link),Ī lot of exceptions and stack traces appears. Version 1.0.6 works fine from both sources. Some how there are breaking changes introduced in 2.0.0 ! Teleview project is not compatible The ESP32-CAM API beyond 1.0.6. This one allows for more version, up to 2.0.3 (till the time of writing this). this one which is mentioned by Espressif.Teleview project uses The ESP32-CAM API 1.0.6. This allows the installtion of ESP32 core up to 1.0.6 this one is the normal and mentioned everywhere :.Online, there are two URL's to be added to the Arduino Prefrences -> "Additional Board Managers URL" Just use the latest and if you face problems, then downgrade to those versions (more about this after the table) TeleView was tested/compiled with these library versions.Save photos to SD as a configurable feature. also you could flip the screen upside-down. This will only be available when the sketch is compiled with "#define CAMERA_MODEL_TTGO_T1_CAMERA". Toggle Display : For the TTGO_TI board, there is a SSD1306 OLED display, which could display AutoConnect - AP, IP when connected and used as a weak-flash when taking a photo. PIR motion detection : For the TTGO_TI board, there is a motion sensor, which could trigger a "sendPhoto". This feature Will only be compiled in the sketch if the "#define CAMERA_MODEL_AI_THINKER" is chosen upon compile. Toggle flash when taking a photo : For the AI_Thinker board, there is a very strong led on the same side as camera, which could be used as a flash. Supports multiple Admins and multiple Users through Telegram Groups (explained further below).Usual case, only the admin will be notified of the eventd "Alive", "motion detection" and "time-lapse", but you can also enable alerting of the userId.A deep sleep mode is possible with time-lapse and PIR motiion detection for battery operated scenarios.Time Lapse feature every X min, chose 0 to disable Time-Lapse.The Device-Name (configurable) decides the hostname of the device on LAN/WiFi.Web Server for /capture.jpg to make photo available through web.configure Telegram-BOT-Token, AdminID of the BOT.to configure the control options and WiFi AP.AutoConnect / WiFi config feature (no hard coding of the WiFI SSID,Pass ).Board Specific Features: Flash ,OLED display enable, OLED as Flash, Screen Flip,Motion Detector.Generic features: Camera Resolution, Camera-Flip ,Camera-Mirror ,image-resolution ,Time-Lapse and send photo.The telegram bot responds to the ADMINID or UserID (find your telegram CHATID through ). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |