Please look at the attached simple drawing and posted parts list and see if I have it right. Especially look at the switch connections; I'm not sure if it's a proper pull-up resistor setup (or even if a pull-up resistor is what I need). Will this setup allow for the servo to rotate 90 degrees and return to its starting position at the touch of the switch? Three other questions:
1. How should I connect the controller's VIN port to the controller's servo power port to allow the battery to power the servo and controller?
2. Do pre-crimped wires stay connected without a crimp housing?
3. Can a standard male end plug in to a port without a header pin?
Thanks guys. Parts listed below.
Sub-Micro Servo 3.7g (Generic)
Micro Maestro 6-Channel USB Servo Controller (Assembled)
Rechargeable NiMH Battery Pack: 4.8 V, 900 mAh, 4x1 AAA Cells, JR Connector
Snap-Action Switch with 16.7mm Lever: 3-Pin, SPDT, 5A
M-F Jumper wires, M-F pre-crimped wires, F-2F servo Y splitter, header pins if the answer to question 3 is no.