Society of Robots - Robot Forum

Electronics => Electronics => Topic started by: ltmhall on October 25, 2006, 04:52:13 AM

Title: micro-switch help
Post by: ltmhall on October 25, 2006, 04:52:13 AM
Could some one explain how a microswitch works for a collision detection circuit, and where I can buy one? I don’t want to use whiskers, and I’m not sure if I need to design some kind of skirt.
Title: Re: micro-switch help
Post by: Admin on October 25, 2006, 06:49:18 AM
Whiskers are required . . .

here is a quickie tutorial for microswitch tactile collision detection (http://www.societyofrobots.com/schematics_tactbumpswitch.shtml) . . . its one of those tutorials i never really developed fully . . .
Title: Re: micro-switch help
Post by: JesseWelling on October 25, 2006, 02:52:27 PM
also decent for the detection of being high centered (or better yet use two and detect if you *might* get highcentered)
Title: Re: micro-switch help
Post by: ltmhall on November 11, 2006, 07:58:20 AM
I have three positions on my microswitch Common, Normally Open, and Normally Closed. How would I connect them to a microprocessor.
Title: Re: micro-switch help
Post by: Admin on November 11, 2006, 01:11:48 PM
your microswitch only has two positions: open and closed.

however there would be three connections for wires: common (ground), normally open, and normally closed. you only need 2 of them.

connect common to ground, and connect either normally open OR normally closed to a digital output. all that means is one connection will give you a binary high (until switch is pushed), and the other will always give a binary low (until switch is pushed). for a microcontroller it doesnt matter which one you choose.