|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#8
|
|||||
|
|||||
|
Re: Micro Switch + PWM = Button?
The switch has two terminals next to each other, they are NC and NO (normally closed and normally open). There is a third terminal on the other side of the switch, which is COM (common). If you connect the white signal wire to COM, the NC to the black wire, and the NO to the red wire, then it will switch the signal from ground to +5 when the lever is pressed.
The way you have it now, there is no voltage going to the signal input, so it will not show anything in the program when you close the switch. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Micro Switch Code | dboisvert | C/C++ | 2 | 13-02-2009 13:34 |
| button Switch | GunfighterJ | Programming | 10 | 10-02-2009 19:39 |
| using a switch/button to turn on a motor | smcmahon | NI LabVIEW | 3 | 26-01-2009 18:42 |
| push-button switch on robot | Conan | Electrical | 4 | 10-02-2006 22:03 |
| Need Help Wiring Micro Switch/Limiting Switch | Windward | Electrical | 2 | 07-02-2006 18:26 |