Society of Robots - Robot Forum
Software => Software => Topic started by: suvidha on June 26, 2012, 06:15:00 AM
-
i need help for coding AT89S52 for sound follower ... i need to know how to calculate the object's position and turn the robot in the direction of sound.
-
Use two sensors separate at least 1 or two inches minimum. Then measure the difference in the arrival of the signal to each sensor. Turn the robot towards the first sensor that received the sound. When the signal arrives at both sensors at the same time, then you are moving directly towards the source. This is the method used by animals, such as foxes.
Good luck.