Bumpers to Basic Stamp II
ltmhall
Posts: 102
I'm building a mobile robot and need some help the collision
detection circuit. I just bought two bumper Omron SS5GL switches and need to know how to connect them to the Basic Stamp II. It has three pins NO, NC, and C.
Post Edited (ltmhall) : 11/11/2006 2:23:06 PM GMT
detection circuit. I just bought two bumper Omron SS5GL switches and need to know how to connect them to the Basic Stamp II. It has three pins NO, NC, and C.
Post Edited (ltmhall) : 11/11/2006 2:23:06 PM GMT
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
to a microcontroller.
If you connect wires from the "C" (Common, ground)·pin of the microswitch to the "Vss" pin (of the BOE), and the "Normally Open" pin to the wires going to the 220-ohm and 10k-ohm resistors (on the BOE wiring board), you'll be connecting the pins of the microswitch to the microcontroller correctly. (See Figure 5-5 for wiring connection points; your microswitches take the place of the two wire whiskers and the two headers in that figure.)
You will leave the "NC" (Normally Closed) pins on your switches unconnected.
PAR
Post Edited (PAR) : 11/12/2006 5:52:32 AM GMT