Hey everyone, I am in the process of planning a new project and seem to have hit a wall, figured i would ask for some assistance/suggestions.
Essentially, I am trying to make a robot head, using two (or three) PIR sensors, two sound sensors, and two servo motors. I was thinking the PIR sensors would be for left, right, and above, and the sound sensors for left and right- upon being triggered, the head would rotate in the corresponding direction (left/right or up).
I wrote a more basic/crude version of this a while back, using only two PIR sensors and one servo motor (for left and right), but it would only turn to a set angle and wasn’t very effective at tracking, so if it moved in one direction and got triggered in the other direction, it would move too far in the other direction when it should have turned center, for example.
Any suggestions or help is appreciated, even if it requires additional hardware or some sort of feedback loops I am unaware of. Thanks!