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,
Since you tested each component individually, and they are working, I think it must be a power issue.
You may need to power the motors using a separate power source.
Seems to be 2 different issues,
Pressing the Up and sometimes the Down
Gives the error message ‘camera capture failed ‘
and from that moment on, there is no video.
Gave the servo a separate power source,
connected the grounds of course,
They still refuse to move.
I’m sorry but I don’t know what might be wrong.
We tested the project multiple times and it worked fine. Additionally, other readers have also tried the project successfully.
What motors do you have?
Yes, I understand,
Actually it did work for me once,
and I can’t understand what has changed….,
Thank you for trying.
So, I know when servos stop reacting,
it is after running esp_camera_init(&config)
in the setup().
Before this command servo works, after it doesn’t.
Maybe you could help from here
What ESP32-CAM are you using?
The ESP32 uses some PWM to configure the camera.
We wrote the code so that it doesn’t interfere with the PWM on the motors.
Did you change anything on the code? Does your ESP32-CAM have a different pinout?
That’s it, Problem solved 🙂
I opened my old laptop and uploaded the program from there,
and it works like a charm 🙂
I suspect the problem had to do with the version of ESP32_SERVO,
here I used the older version 0.7
On the first computer, I updated the library to 0.11,
But even after returning it to 0,7 the problem continued,
so maybe somewhere something stuck…..
Thank you very much for your support.