Description
I have been familiar with the ESP32 Camera module for some time. Till now I have only used the module as stand alone and there has not been any practical use of them. After I saw a project where the module was controlling two servos to adjust the view direction I thought I should try something more advanced with the module.
Project summary
In this project I designed a 3d printed housing for the camera and adjusted the found code so that it fits with my preferences.
My responsibilities
Design and print the camera housing
Program the camera module
Test and adjust the parameters and code to fit with the practical limitations
Results
The Camera module itself does not have very high quality. Nevertheless, it is cheap and allows easy usage for different projects. The camera can be turned left and right, additionally tilting up and down is possible. The upwards movement is limited due to the narrow distance between the housing and the next servo. That could be improved by using larger gears.
I used an USB cable to power everything and the used cable is slightly too thick. It is sticking out way more than I expected. Still, it is a minor issue.
Programming the module is not very convenient, however it is doable with a separate module. I had to modify the found code to adjust the possible turning angles. It took some time before I figured out where in the code the limits were set. Additionally the original code used only one servo.
In the end the camera works and one can adjust the viewing direction directly from the browser. If the set WiFi net is not available the module generates its own and one can connect to it. The HTTP user interface is simple and easy to use.
In the end again a successful project.
The Original idea and code can be found here: Link
![](https://static.wixstatic.com/media/e75728_e95a47aa383246bd8a226e61bda035f6~mv2.jpg/v1/fill/w_980,h_735,al_c,q_85,usm_0.66_1.00_0.01,enc_auto/e75728_e95a47aa383246bd8a226e61bda035f6~mv2.jpg)
![](https://static.wixstatic.com/media/e75728_e0c82dca074a4caeba21b1f022bf4b46~mv2.jpg/v1/fill/w_980,h_735,al_c,q_85,usm_0.66_1.00_0.01,enc_auto/e75728_e0c82dca074a4caeba21b1f022bf4b46~mv2.jpg)
![](https://static.wixstatic.com/media/e75728_f901952711b64a46a16eb77bb77113ea~mv2.png/v1/fill/w_502,h_834,al_c,q_90,enc_auto/e75728_f901952711b64a46a16eb77bb77113ea~mv2.png)
Comments