I'm working on a project in which there is a fan and a camera . The camera should track the movement of a "single person" and rotate the fan accordingly using a servo "limited to only one degree of rotation". Right now in the hardware side I'm using Arduino Uno and for the camera I'm using ESP32 cam module. Since I'm literally a beginner with ESP32 modules need some support on code and wiring connections.
Why do you need both? Why not control the fan with the ESP32CAM?
Agreed, the Uno is not needed. Start your ESP32 journey with these great tutorials https://randomnerdtutorials.com/
Is that even possible, and I also need to integrate gesture control where when I pinch zoom out my two fingers the fan speed should be increased and vise versa.
Thankyou for your reply, Is that even possible like to only use ESP module and control the servo and speed of a 12V motor with motor driver and I also need to integrate gesture control where when I pinch zoom out my two fingers the fan speed should be increased and vise versa.
Yes, that can all be controlled from the ESP32.
Yes it's possible.
The ESP32 can be programmed via the Arduino IDE. One possible limitation maybe that the ESP32CAM module has limited GPIO pins available as a lot of them are used by the camera, and other components (PSRAM, SD card). If you're not using these other components then you might be able to do what you want.
If you go down the route of having 2 MCU's then you have a lot of additional communication and synchronisation that you need to consider.
Is there any pre built code and tutorial for person tracking, so that I don't have to start from scratch.
So far, you have not given a description of what your person is or described what some sensor should be watching for.
The ESP32CAM come with face detection examples. Start there. I'm sure Google can help.
yes, so basically it doesn't have to see the details in the person instead the camera only draw a box on that single person just as a count =1 and then the camera has to center the position of the person, then whenever the person moves, the gimbal motor only at one axis of rotation should move accordingly to keep that person in center. Just like tracking a random object but here its only single person who's motion has to be tracked.
Thanks buddy....
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.