Society of Robots - Robot Forum

General Misc => Misc => Topic started by: ltmhall on November 25, 2006, 09:31:59 PM

Title: ideas on mounting microswithes
Post by: ltmhall on November 25, 2006, 09:31:59 PM
I have just connected two micro-switches to my robot. Each switch
has a hinge , so when it pressed it sends a 0 to the micro-controller
to jump to a subroutine to maneuver around an object. The problem
i have is when it collides into a object the switch is pressed, but it
doesn't maneuver, instead the robot stays stuck on the object it
collided into. If any one has an ideas on how to mount them please
help.
Title: Re: ideas on mounting microswithes
Post by: Militoy on November 25, 2006, 11:17:34 PM
If the switch has actually been depressed and activated by the collision (you’ve verified this?), the problem isn’t with the way you’ve mounted it, but with your software commands, or the ability of your mechanics to respond with the “go around” command. I would start the command with a short reverse of direction, followed by a 90˚ turn.