Asked — Edited

Ultrasonic Sensor And Camera Tracking Not Working.

How do you solder on an ultrasonic sensor, because mine does not work. Which wire goes where? Any help would be greatly appreciated! Also I am unsure why my camera doesn't seem to track faces. The robot just seems to quickly glance at objects. How bright does the room have to be because, I am wondering if maybe it just isn't detecting my face...I apologize for all these questions but I want to keep my interest in robotics! Thank you very much!


ARC Pro

Upgrade to ARC Pro

Stay at the forefront of robot programming innovation with ARC Pro, ensuring your robot is always equipped with the latest advancements.

#1  

for the ultrasonic sensor, you need 2 servo wires. the black wire to ground, the red wire to +, and the white to the trigger. and then you will need the second wire that will be connected to the receiver. :) after that in the software you just need to put the 2 specific ports where the trigger and the receiver are connected to.

and with the camera i dont know what could be the problem confused

United Kingdom
#2  

Have a look at the tutorial for the Ultrasonic. Basically, it's red to VCC, black to ground, white to trig on one servo cable and white to echo and cut off the red and black on the other servo cable.

As for the camera, if the processed video is dim it will struggle. When it detects it will but a box around the face in the processed video. Again, look at the tutorial