Author Topic: micro-switch help  (Read 2924 times)

0 Members and 1 Guest are viewing this topic.

Offline ltmhallTopic starter

  • Jr. Member
  • **
  • Posts: 20
  • Helpful? 0
micro-switch help
« 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.

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,657
  • Helpful? 169
    • Society of Robots
Re: micro-switch help
« Reply #1 on: October 25, 2006, 06:49:18 AM »
Whiskers are required . . .

here is a quickie tutorial for microswitch tactile collision detection . . . its one of those tutorials i never really developed fully . . .

Offline JesseWelling

  • Expert Roboticist
  • Supreme Robot
  • *****
  • Posts: 707
  • Helpful? 0
  • Only You Can Build A Robot!
Re: micro-switch help
« Reply #2 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)

Offline ltmhallTopic starter

  • Jr. Member
  • **
  • Posts: 20
  • Helpful? 0
Re: micro-switch help
« Reply #3 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.

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,657
  • Helpful? 169
    • Society of Robots
Re: micro-switch help
« Reply #4 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.

 


Get Your Ad Here