From: W. Trevor King Date: Fri, 19 Nov 2010 13:51:00 +0000 (-0500) Subject: Added stepper switch post. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=97de83c7b6b7787ab1db6d22403e4165a1d171ca;p=blog.git Added stepper switch post. --- diff --git a/posts/MultiMode/stepper/backlash.mdwn b/posts/MultiMode/stepper/backlash.mdwn index 69dbc77..b4b039a 100644 --- a/posts/MultiMode/stepper/backlash.mdwn +++ b/posts/MultiMode/stepper/backlash.mdwn @@ -35,3 +35,5 @@ about 0.5 s when controlling the motor using the manual Up/Down switch. [backlash]: http://en.wikipedia.org/wiki/Backlash_%28engineering%29 + +[[!tag tags/hardware]] diff --git a/posts/MultiMode/stepper/switch.mdwn b/posts/MultiMode/stepper/switch.mdwn new file mode 100644 index 0000000..6fd1c63 --- /dev/null +++ b/posts/MultiMode/stepper/switch.mdwn @@ -0,0 +1,42 @@ +You may want to see my [[MultiMode wiring|wiring]] summary. + +The manual switch is a double pole double throw (DPDT) switch. I've +labeled the contacts below + +[[!inline pagenames="DPDT.svg" template="raw" feeds="no"]] + +In my [[MultiMode]], the switch contacts are wired as follows: + +* Contacts 1, 4, and 6 are shorted together, and fed by a white-brown + striped wire, +* Contact 2 is a purple wire, +* Contact 3 is a black wire, and +* Contact 5 is a grey wire. + +Using a multimeter to measure the average voltages I got: + + + + + + + +
Wire Up DownOff Role MainDB-25
Black 0.2V0.2V0.0VGround UL+4none
Purple5.0V0.2V0.0VDirectionUL+5none
Grey 5.0V5.0V0.0VEnable LL+6none
White 5.0V5.0V5.0VPower UL+63
+ +So the white and black wires carry power and ground to the switch, and +the purple and grey wires carry the switch information back to the +electronics. The 'Main' column records the line's lead on the main +circuit board in the MultiMode, and the 'DB-25' column records the +line's lead on the DB-25 cable to the NanoScope controller. + +From the main-connector, the grey and purple lines start spreading +out, ending up at (partial list): + +* H7555IBA, a CMOS clock. +* NCAFMJM, a top-secret something-or-other. + +My guess is that the grey enable-wire from the switch turns on the +H7555 timer, and the NCAFMJM is a stepper driver chip, which receives +a direction input (the purple wire) and a pulse-to-step input (the +H7555 output). The output of the NCAFMJM heads over to a DS3658N +current driver which drives the motor. diff --git a/posts/MultiMode/stepper/switch/DPDT.svg b/posts/MultiMode/stepper/switch/DPDT.svg new file mode 100644 index 0000000..e9c457e --- /dev/null +++ b/posts/MultiMode/stepper/switch/DPDT.svg @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + + + +6 + +5 + +4 + +3 + +2 + +1 + +