The Make It Last Build Series Newsletter, Build #3, Dispatch #5
Welcome to the fifth dispatch in the third project in the Make It Last Build Series, sponsored by Microchip and Energizer. The goal this week is to build and rig all of the mechanical parts for our Drawbot. By next week, you should also have a more permanent version of the controller and stepper drivers soldered on protoboard.
Don't forget to post your pictures to the MAKE Flickr pool and tag them "makeitlast." The deadline is March 3. See the Build Series landing page for full details, prizes, and info about the first two builds in the series.
Be seeing you,
Shawn Wallace
back to top Build the Spools
First, we're going to make two spools and mount them directly to the shaft of the stepper motors. Make the spools however you like; I'm going to use the spools from some intercom wire. Cut a 1" diameter wooden dowel down to 2.5" and drill a hole for the stepper motor shaft. Unwind the wire and insert the dowel into the spool. Use hot glue to secure it if it is not a tight friction fit. Then attach the spool directly to the shaft of the stepper motor: Put a dab of hot glue in the hole of the spool and push it on the motor shaft to secure it. Leave about 1/4" space between the motor casing and the spool. Repeat.
back to top Make the Mounting Brackets
Now, cut two pieces of wood 2.5"H x 4.25"W out of thin plywood. Cut or drill holes as shown in the photo. I used a laser cutter and this design for mine. The slots are to hold the stepper motors with zip ties. The exact placement doesn't matter; just make sure there's 2" between them for the motor to fit.
Then, loop some long zip ties through the slots and tighten them around the motor. Two zip ties for each motor mount should be enough, but you can always wrap a third around the middle of the motor if you're worried about the stability.
back to top Lay Out the Control Lines
As we discussed in previous newsletters, a unipolar motor typically requires six control lines, but the Drawbot circuit drives the motors as bipolar stepper motors, using only four control lines. The next step is to attach the provided green/red/black/white (I'll call it GRBW) cable to the four control lines of each motor.
Sketch out the placement of the motors and the Drawbot board so you can cut the wire to an appropriate length. We'll need one length of GRBW cable to run from the Drawbot circuit board to each of the motors. The Drawbot scales to very long walls, but the example program will be using a 6' x 4' drawing area, as shown in the illustration above.
back to top Splice the Control Lines
As discussed last week, we're only going to use the Black, Red, Blue, and Green wires of each motor. Trim them back to 3" or so and tie the unused yellow and white wires to keep them out of the way.
Next, strip about .75" of the insulator from the ends of the GRBW wire and the motor wire. If you want, you can use heatshrink tubing to cover the soldered wire connections. Cut the heatshrink into eight lengths (four for each motor), and fit the tubing over each of the wires on the motor side (before you splice them together!)
Next, twist the following wires together:
Cable GREEN to Motor GREEN
Cable RED to Motor BLACK
Cable BLACK to Motor RED
Cable WHITE to Motor BLUE
Solder the wires and shrink the heatshrink tubing around the joint using your solder iron.
If you're going to be moving this around a lot, it may be a good idea to get stranded wire instead of the solid wire that was specced. Eventually the solid wire will break if it is twisted a lot.
back to top Run the Monofilament and Hang Your Drawbot!
Add a short 1.25" (or so) screw-in eyelet to the bracket. This will help keep the line parallel to the wall and pull the Sharpie against the wall.
Cut a length of monofilament and attach it to the spool. Thread one side of the monofilament through the wire eyelet. Use a small piece of tape to secure the string to the spool. Wind it counterclockwise for the left motor and clockwise for the right motor.
Next, attach your motor holders to the wall. You can put four drywall screws through the corner holes.
Important: The distance between the holders and the starting location of the Sharpie are hard-coded into the controller. The holders need to be 72" apart and the Sharpie should start 48" down at the center point between the holders. This starting point at (W/2, H) will be referred to as the home position. Of course, these dimensions can be changed if you want to scale up the drawing area.
back to top The Clip Stabilizer
If your drawing area is very wide (say 10' or more), there will be enough tension in the line that the binder clip holding the Sharpie can be tied directly to either end of the monofilament. However, on shorter spans, you may need to make the assembly a bit more rigid. I drew a little clip stabilizer that I cut out of Masonite (see drawing above for how to thread the holes). The clip stabilizer holds the binder clip and helps to make sure each wire tugs evenly on the marker.
It is important for the clip stabilizer to remain parallel to the wall as it is being tugged back and forth. You may need to fuss with it a little, or use a dab of hot glue to secure the strings. One of our biggest sources of error will be a clip that tilts back and forth and is tugged unevenly.
Put the Sharpie in a binder clip and hang it on the clip stabilizer. We're almost ready to start drawing!
back to top Next Steps
For next week, start transferring your breadboard prototype to a more permanent form on protoboard. I'm using the Wired Breadboard from Modern Device that mirrors the layout of a wireless breadboard (see above).
back to top Microchip Discount Code
Want to pick up a PIC programmer or development kit? As part of this series, Microchip is offering a 20% discount on the following development tools:
* PICkit3
* PICkit3 Debug Express
* ICD3 In-Circuit Debugger
* XLP 16-bit Development Board
* F1 Evaluation Platform
* F1 Evaluation Kit
If you've been thinking about getting started with PIC programming, this could be a great opportunity to get a good deal on a programmer. To request a discount code, send an email to makeitlast@makezine.com.
back to top |