Arduino IDE + ESP32 CAM | ESP32-CAM Video Streaming Web Server with Pan and Tilt Cam Mount (2 Axis)

  Переглядів 10,956

Uteh Str

Uteh Str

День тому

Arduino IDE + ESP32 CAM + Pan and Tilt Camera Mount + Micro Servo 9g SG90 | ESP32-CAM Video Streaming Web Server with Pan and Tilt Camera Mount (2 Axis).
In this project video I use Arduino IDE 1.8.9 , Notepad++ V7.7.1 , Arduino Core for The ESP32, Pan and Tilt Camera Mount, Micro Servo 9g SG90, ESP32 CAM AI-Thinker and ESP32-CAM-MB USB Programmer.
00:00 Opening
00:29 Project Preview
01:24 Materials and Modules to make this project
02:02 Photos of the installation of the ESP32 Cam + Pan and Tilt Camera Mount + Micro Servo SG90
02:57 Testing the Servos & Pan and Tilt Camera Mount (Code)
03:04 Picture of connecting Servos data line with ESP32 Cam
03:56 Installed the "ESP32Servo" library
04:59 Testing the Servos & Pan and Tilt Camera Mount (Demo)
05:41 ESP32-CAM Video Streaming Web Server with Pan and Tilt Camera Mount using Station Mode (Code)
08:09 ESP32-CAM Video Streaming Web Server with Pan and Tilt Camera Mount using Station Mode (Demo)
09:25 ESP32-CAM Video Streaming Web Server with Pan and Tilt Camera Mount using Station Mode (Outdor Demo)
10:45 ESP32-CAM Video Streaming Web Server with Pan and Tilt Camera Mount using Station Mode and Save Servos Position (Code)
11:01 Reformat Flash Memory of ESP32 Cam
14:33 ESP32-CAM Video Streaming Web Server with Pan and Tilt Camera Mount using Station Mode and Save Servos Position (Demo)
15:59 ESP32-CAM Video Streaming Web Server with Pan and Tilt Camera Mount using Access Point (SoftAP) Mode and Save Servos Position (Code)
18:45 ESP32-CAM Video Streaming Web Server with Pan and Tilt Camera Mount using Access Point (SoftAP) Mode and Save Servos Position (Code)
19:28 Closing
Download Arduino code : drive.google.com/file/d/1If6v...
The code file is saved in the .rar file format. I created a .rar file using Winrar V5.50, so to extract it, make sure you use the same version of Winrar that I use or the latest version or use the winrar extractor online.
SORRY IF MY ENGLISH IS CONFUSING, I USE AN ONLINE TRANSLATOR.
THANKS FOR WATCHING & DON'T FORGET TO LIKE , SHARE, COMMENT AND SUBSCRIBE.
***********************************************
Installing the ESP32 Board (Arduino core for the ESP32) in the Arduino IDE : • Arduino IDE + ESP32 | ...
Programming ESP32 Cam with Arduino UNO : easyelectronicsproject.com/es...
Programming ESP32 Cam with FTDI Programmer : randomnerdtutorials.com/progr...
***********************************************
***********************************************
For other video tutorials on this channel, please see this playlist:
- Basic4Android (B4A) Tutorials : • Basic4Android (B4A) | ...
- Electronics Tutorials : • 3 LED Flip Flop
- Arduino Tutorials : • Arduino | Scrolling Te...
- Great Cow Basic Tutorials : • Great Cow BASIC with A...
- Bascom Avr Tutorials : • Bascom Avr | How to Se...
- VB .NET Tutorials : • Visual Basic .NET | ...
- LoLin NodeMCU V3 ESP12E ESP8266 Tutorials : • Arduino | LoLin NodeMC...
- ESP32 Tutorials : • Arduino IDE + ESP32 | ...
- ESP32 CAM Tutorials : • Arduino IDE + ESP32 Ca...
***********************************************
***********************************************
Download Arduino IDE : www.arduino.cc/en/Main/Software
***********************************************
***********************************************
Reference :
- Arduino Core for The ESP32 : github.com/espressif/arduino-...
- Color reference when editing video : www.arduino.cc/en/Trademark/C...
- ESP32-CAM Pan and Tilt Video Streaming Web Server (2 Axis) : randomnerdtutorials.com/esp32...
- ESP32 Save Data Permanently using Preferences Library : randomnerdtutorials.com/esp32...
- ESP32Servo Library : github.com/madhephaestus/ESP3...
- Timer on ESP32 : openlabpro.com/guide/timer-on...
- HTML DOM TouchEvent : www.w3schools.com/jsref/obj_t...
- HTML DOM MouseEvent : www.w3schools.com/jsref/obj_m...
- Add Space Between Buttons in HTML : www.delftstack.com/howto/html...
- CSS Buttons : www.w3schools.com/css/css3_bu...
- How TO - Range Sliders : www.w3schools.com/howto/howto...
and from several other sources.
***********************************************

КОМЕНТАРІ: 39
@lucianodipaolo2428
@lucianodipaolo2428 Рік тому
magnificent work
@utehstr
@utehstr Рік тому
Thank you 🙂.
@ZinTechIdeas
@ZinTechIdeas Рік тому
excellent work
@utehstr
@utehstr Рік тому
Thank you 🙂.
@josephusdy9726
@josephusdy9726 Рік тому
Hi. Can i put a dynamic text overlay on the video streamed before it is being saved into the video file? I am using arduino programming. Thanks.
@massonepaolo
@massonepaolo Рік тому
Hi, it is possible to set the code for make the esp-32 module connect to my wifi network but have a fixed ip address to reach? Thank you
@dineshkumara.parmar9930
@dineshkumara.parmar9930 Рік тому
Very good video I try this project ✍✍
@utehstr
@utehstr Рік тому
👍🙂
@gsrathore97x
@gsrathore97x Рік тому
Sir, Your work and documentation is highly appreciated.🦾🦾
@utehstr
@utehstr Рік тому
Thank you 🙂.
@sdknstar601
@sdknstar601 Рік тому
Just subscribe to your channel...i want to ask if the camera movement is able to control using a usb joystick connected on pc?..
@psykopat81
@psykopat81 6 місяців тому
The video flow is normal, but when I try to move the servo, the image disappears. I use a separate 5 volt power supply for the servo.
@mohsinpeero
@mohsinpeero 9 місяців тому
good attempt
@utehstr
@utehstr 9 місяців тому
Thank you 🙂.
@rizkiefendi9004
@rizkiefendi9004 Рік тому
mantab teh
@utehstr
@utehstr Рік тому
Makasih ki 🙂.
@denilsondossantos1658
@denilsondossantos1658 Рік тому
Verry good❤️
@utehstr
@utehstr Рік тому
Thanks 🙂
@JaviersDIY
@JaviersDIY 28 днів тому
I follow the steps and the code work very will but when i open the ip, the motor dont work. Can you help me sir?
@aaronpaul2550
@aaronpaul2550 9 місяців тому
very good
@utehstr
@utehstr 9 місяців тому
Thank you 🙂.
@yogeshitaliya473
@yogeshitaliya473 Рік тому
😍😍😍😍
@utehstr
@utehstr Рік тому
👍🙂
@MuhammadRidho-qu9ey
@MuhammadRidho-qu9ey 2 місяці тому
use power bank?
@ath_greek
@ath_greek 2 місяці тому
I did the 4# step and my servos are not responding on the web also the cam video is suddenly disappearing ;/
@frustratedguy666
@frustratedguy666 Рік тому
Do i have to erase previous code from esp32 before adding next code?
@utehstr
@utehstr Рік тому
it depends how the previous code works. but I usually put simple program code like program code which just prints something like : serial.println("something" ); before entering the project code. i hope you understand what i mean.
@tuanpagaraji5836
@tuanpagaraji5836 9 місяців тому
Bro...itu servo yang kamu pakai yg 180 derajat atau yang 360 derajat?
@utehstr
@utehstr 9 місяців тому
180 derajat.
@thevoiceland
@thevoiceland 5 місяців тому
Is it possible to code it to follow people or anything that moves?
@utehstr
@utehstr 5 місяців тому
Technically it's possible. But about how to make it, that's something I can't answer because of my limited knowledge and I've never made it. Maybe you can find it from other sources.
@thevoiceland
@thevoiceland 5 місяців тому
​@@utehstr No worries! Thanks for the response. I'll definitely look into other sources. I have tried multiple codes to follow the detected object: ```C++ #include "esp_camera.h" #include #include #include // Replace with your network credentials const char* ssid = "YourWiFiSSID"; const char* password = "YourWiFiPassword"; // Use your own cascade static const char * face_cascade = "/cascade_path/haarcascade_frontalface_default.xml"; const int panPin = 12; // GPIO pin for pan servo const int tiltPin = 13; // GPIO pin for tilt servo Servo panServo; // Create instance of pan servo Servo tiltServo; // Create instance of tilt servo camera_config_t config; void setup() { WRITE_PERI_REG(RTC_CNTL_BROWN_OUT_REG, 0); // Disable brownout detector WiFi.begin(ssid, password); while (WiFi.status() != WL_CONNECTED) { delay(1000); Serial.println("Connecting to WiFi..."); } Serial.println("Connected to WiFi"); panServo.attach(panPin); // Attach the pan servo to the GPIO pin tiltServo.attach(tiltPin); // Attach the tilt servo to the GPIO pin config.ledc_channel = LEDC_CHANNEL_0; // ... (rest of the camera configuration) esp_err_t err = esp_camera_init(&config); if (err != ESP_OK) { Serial.printf("Camera init failed with error 0x%x", err); return; } Serial.println("Camera ready"); } void loop() { camera_fb_t * fb = esp_camera_fb_get(); if (fb) { esp_err_t res = face_recognition(fb->width, fb->height, fb->format, fb->buf, 7, 1500, 2, 8, IDENTIFY, 64, 64); if (res) { Serial.println("Face detected!"); int panAngle = map(res.x, 0, fb->width, 0, 180); // Map x-coordinate of the detected face to the pan servo angle int tiltAngle = map(res.y, 0, fb->height, 0, 180); // Map y-coordinate of the detected face to the tilt servo angle panServo.write(panAngle); // Set the pan servo angle tiltServo.write(tiltAngle); // Set the tilt servo angle } esp_camera_fb_return(fb); } else { Serial.println("Camera capture failed"); } } ```
@muhammadapriyansyah6655
@muhammadapriyansyah6655 Рік тому
Why does the servo control when pressed doesn't work, only the light works
@fadzarizky1427
@fadzarizky1427 9 місяців тому
duhh maslahnya sama bro
@psykopat81
@psykopat81 6 місяців тому
did you solved your problem?
@psykopat81
@psykopat81 6 місяців тому
​@@fadzarizky1427did you solved your problem?
@tonyp4894
@tonyp4894 7 місяців тому
why don't you put the code in a textfile editor like NOTEPAD. Putting it in a RAR file, just makes it hard to get the code, (why sign in and passwords?) Is it a secret?? Please, take the time to post your code in a text file Thank you
@teguhiman9138
@teguhiman9138 Рік тому
Bisa disave videonya?
@utehstr
@utehstr Рік тому
Belum support untuk save video 🙂.
Cheap Remote Monitoring for ANY 3D Printer! #3dprinting
13:56
Nero3D the Canuck Creator
Переглядів 45 тис.
10 Great Artificial Intelligence projects using ESP32-CAM!!!
7:18
ToP Projects Compilation
Переглядів 133 тис.
Повістки у Києві: «Яке право вони мають забирати всіх мужиків?» #війна #мобілізація #військові
00:41
Слідство.Інфо | Розслідування, репортажі, викриття
Переглядів 1,4 млн
Анита просто на химии, поэтому такая сильная
00:21
Женя Лизогуб SHORTS
Переглядів 2,3 млн
THE RISE OF THE PRIVATE MESSENGER - BUT DO THEY WORK?
15:26
andy kirby
Переглядів 8 тис.
Best Fails of the Decade | Try Not to Laugh
1:01:21
FailArmy
Переглядів 15 млн
ESP32 Guide 2024 | Choosing and Using an ESP32 Board
41:06
DroneBot Workshop
Переглядів 199 тис.
How to setup and use ESP32 Cam with Micro USB WiFi Camera
27:07
Robojax
Переглядів 157 тис.
PlatformIO: All you need to know in 10 Minutes!
10:56
J's e-shack
Переглядів 278 тис.
Try these 16 Brilliant ESP32 projects!!!
11:18
ToP Projects Compilation
Переглядів 506 тис.
ESP32 CAM video streaming with Node Red
5:40
winson-DIY
Переглядів 2,5 тис.
Which Phone Unlock Code Will You Choose? 🤔️
0:12
Game9bit
Переглядів 6 млн
Как часто вы чистите свой телефон
0:33
KINO KAIF
Переглядів 1,6 млн
I7 2600K тест в играх и сравнение с AMD Ryzen
17:53
Infrared Soldering Iron from Cigarette Lighter
0:58
ALABAYCHIC
Переглядів 1,8 млн