Hello Sara, great project. I recreated it and it works fine so far.
I have only one problem:
The left<>right servo can only be moved within a range of approx. 90 degrees. But I want 180 degrees.
How can I implement this?
Greetings Ulli
Hello Ulli,
Can you try to modify your servo to act like this? https://www.youtube.com/watch?v=ymW0Lwmw14Y
Regards,
Sara
Hello Sara,
I solved this problem:
servo1.attach(SERVO_1, 600, 2000); // up – down
servo2.attach(SERVO_2, 400, 3000); // left – right
Regards Ulli
Great!
Thanks for sharing the solution.
I’ll mark this issue as resolved. If you need further help, you just need to open a new question in our forum.
Regards,
Sara
Hello
I am trying to make this work,
But there are some problems.
I am getting a picture. but once pressing any of the keys to move the servo
I am getting an error message ‘camera capture failed ‘
also the servos does not move,
i know my connections are right, checked them in a separate program,
please help
Please follow question here: https://rntlab.com/question/esp32-cam-pan-and-tilt-video-streaming-web-server-2/