Back to Blog
Arduino camera serial monitor7/22/2023 ![]() #define TIMED_MODE // Photo capture automated according to regular delayĬonst char HEADER = "HTTP/1.1 200 OK\r\n" \ #define TRIGGER_MODE // Photo capture triggered by GPIO pin rising/falling #define SEND_EMAIL // Uses Wi-Fi to email photo attachment #define USE_TIMESTAMP // Uses Wi-Fi to retrieve current time value #define USE_INCREMENTAL_FILE_NUMBERING //Uses EEPROM to store latest file stored "ESP Mail Client" by Mobizt, tested with v1.6.4 #include "soc/soc.h" // System settings (e.g. #include "Arduino.h" // General functionality The code is long, so I only put the code in for the IP address, which is the original post. ![]() Serial.println(F("Failed to connect to Wi-Fi")) Server.on("/mjpeg/1", HTTP_GET, handle_jpg_stream) Serial.print("Stream Link: Serial.print(ip) #if defined(SEND_EMAIL) || defined(USE_TIMESTAMP) (Note: It worked in the previous version of Arduino IDE now that I have begun using 2.0 I am running into problems with new and old.) // Connect to Wi-Fi if required If time permits and you can help with the rest of the code and problems I am encountering please let me know. Without the IP Address I cannot see what the camera sees.Īny thoughts would be appreciated. ![]() My current problem is that I have switched to Arduino IDE 2.0 and the serial monitor is not printing the IP address for me ESP32 Cam. When I tried to combine the sketches I ran into problems. I have had the individual pieces working with separate sketches. My project is having a fan blow air across bait then when a target inspects the smell a sensor picks up their presence a picture is taken and sent to me via an alert/email.
0 Comments
Read More
Leave a Reply. |