View Single Post
  #7   Spotlight this post!  
Unread 28-01-2012, 00:23
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Analog Breakout?

Quote:
Originally Posted by jp1247 View Post
As for wiring it, you're going to want to take a PWM cable, clip off the male end, and solder the red and black wires to either terminal on the switch.
Don't do this.

Red is +5 volts. Black is the power return. If the switch makes contact, it'll short out the 5 volt supply on your Digital Sidecar. The supply is protected against this, so it won't be ruined, but everything else connected to +5 will lose power for the duration of the switch activation.

What you should use are the black (-) and white or yellow (signal) wires. Black goes to the Common terminal on the microswitch. The signal wire connects to either the Normally Open or the Normally Closed terminal.