`20 Ohm` half-winding gives a current of `I = V/R = 0.25
Amps`. Following the motor leads back up the the main board (using the
ohm-meter guess-and-check method :p), we find that they come from the
-DS3658N (chip 1). This chip takes care of all the details of sinking
+[DS3658N][] (chip 1). This chip takes care of all the details of sinking
the large motor currents given a TTL driving pattern.
-WARNING! I strongly suggest you don't do this on your own. The high
-voltage lines for driving the piezo are potentially dangerous,
+WARNING! I strongly suggest you don't do this on your own. The *high
+voltage* lines for driving the piezo are potentially *dangerous*.
+
+The control for the DS3658N was too difficult for me to trace out on
+the board, so I put the main board back in the MultiMeter (leaving the
+base-plate off), connected the Multimeter to our NanoScope IIIa, and
+started clicking on the ‘raise’ and ‘lower’ tip buttons. At the same
+time, I watched the various DB-25 lines on the oscilloscope. DB-25
+lines 1, 2, 15, and 16 oscillated, but only when the motor was
+turning, so I figured they must be direct TTL controls getting
+(somehow) to the DS3658N. I built a DB-25 breakout box to take control
+of those lines, and started writing software.
+
+Line roles
+----------
+
+Knowing the stepper control lines and how to control a unipolar motor,
+it was only a matter of matching the lines to the roles. I arrived at
+the matches that I pointed out in the *How* section through trial and
+error. It was fairly easy to get the motor moving macroscopically, and
+[[backlash]] testing convinced me that the microscopic motion is
+reproducible and smooth.
+
+Stepsize
+--------
+
+We measured the stepper stepsize by stepping the AFM tip closer to
+surface and sweeping the piezo in after each step. This produced the
+data shown below.
+
+[[!img step_size.png
+ alt="Measuring the stepsize"
+ titl=e"Measuring the stepsize"]]
+
+As the motor steps in, we record consecutive traces a, b, c, d, e, and
+f. Because we can calibrate the piezo by imaging a calibration sample,
+we can convert our piezo voltage into the distance shown on the `x`
+axis. Measuring the `x` distance between to traces, we see that the
+sample moves ~170 nm closer with each step.
[NI]: http://www.ni.com/
[DJ]: http://www.cs.uiowa.edu/~jones/
[tutorial]: http://www.cs.uiowa.edu/~jones/step/
[drive]: http://www.cs.uiowa.edu/~jones/step/types.html#unipolar
[unipolar]: http://www.cs.uiowa.edu/~jones/step/types.html#unipolar
+[DS3658N]: http://www.physics.drexel.edu/~wking/rsrch/multimode.shtml#chips