Hi, this is Wayne again with a topic “Weekend Projects – TRS Drawbot”.
Hi i’m mike with make servo motors are a popular diy component. They typically are used as part of a steering system for rc cars or planes, or they might be turning the wheels on your robot in today’s weekend project. However, we’re going to be using servo motors for a different type of robot, a drawbot, is a robot that can draw pictures with a pen. Typically, these are complicated systems that use stepper motors and controllers, but the trs drawbot by sean michael reagan is simple. It’S controlled by any device with a headphone jack trs stands for the tip, ring and sleeve of a stereo audio cable. This three wire protocol is all you need to drive the drawbot. The trs drawbot works by using the power from the audio output of your phone computer or any other device to control the servo’s position.
It’S similar in the way that an arduino uses pulse width, modulation to control a servo, but in this case it’s using an audio wave file that you generate not code, sound, complicated. Well, it’s not, and thanks to sean michael reagan and michael hart, you can build and program your own trs drawbot in an afternoon. You’Ll need a variety of parts to build this project, some you might already have in your office or lab and others. You can pick up at your local radio shack or order them online. You’Ll also need these basic tools start by measuring and drilling a hole in the lower left-hand corner of the clipboard next using the servo horn as a guide drill, four more holes at the end of each leg of the servo horn mount the servo horn to the Clipboard using four standoffs and screws followed by 12, stick on rubber feet to the bottom of the clipboard. Next you’ll use a hacksaw to cut your offset aluminum angle in half be sure to file any rough or sharp spots on the cut ends now position.
One of your servos across the rails, flush with the ends and mark the servo case mounting holes to the rails center punch where marked and drill the required holes mount the servo to the rails, using four machine screws with split washers and hex nuts. This will be the lower or elbow joint of the drawing arm to make the shoulder joint, repeat the process and mount the second servo, so that the rotational centers are four inches apart now you can measure three and a quarter inches along each rail from the center Of rotation of the shoulder servo and cut them both off with a hacksaw again smooth the cut ends with a file next install the battery pack across the free ends of the rails. Using super lock tape, the aluminum rails are not just structural; they also carry power and ground to the other components. The rail nearest, the servo shafts, is 6 volts and the opposite.
Rail is ground drill, a hole in the ground rail halfway between the two servos and mount the trs jack next cut the connectors off the servo cables and separate the wires then strip and solder. The white signal wire from each servo to the trs jack, the shoulder wire, goes to the tip contact and the elbow wire goes to the ring contact, cut and strip. The black and red leads from each servo, crimp and solder lugs to the leads and then secure them to the power and ground rails. With the servo mounting screws panel mount the power jack in the ground, rail and solder, a jumper wire to its center pin contact connect the other end of this wire to the power rail using a crimp on ring tongue.
Now we can wire up the battery pack cut the leads down, secure them with heat shrink strip the ends and then attach the barrel plugs to the leads. Okay, now for the drawbot’s forearm using a hacksaw cut an 8 inch length of aluminum flat bar stock mark and drill a hole at one end of the bar stock, then add the servo horn to the bar and mark the location for an additional four holes mount The servo arm to the aluminum, with four machine screws inserted from above and secured with a split washer and a hex nut on the opposite side. Now you will need to make some bends in the forearm head over to the project page for more detailed, build instructions and a template that shows you exactly where to make the bends once your drawbot’s arm is bent, as described in the template clean off the end. With alcohol and attach a pair of cable clips to hold the pen in place before we assemble the bot download the calibration audio file from the project, page connect your bot to power and your audio output and turn it on turn your volume to maximum and play The file your servos should rotate to their center positions and stop for 10 seconds when it stops fit the upper arm into the forearm at the elbow joint, getting the angle between them as close to 90 degrees as possible and secure play the calibration file again and Install the upper arm on the base aligning it as close to 45 degrees from each clipboard edge as possible and secure place a sheet of paper on the clipboard and play the calibration file to position.
The arm in its home position. Next trace a line on the paper along one side of the forearm and another along one side of the upper arm. Next use a protractor to measure the angle between the upper arm and the forearm in the home position calculate the difference between this angle and 90 degrees and write it down. This is the nudge angle of the arms and will be used when generating your wave files.
Then measure the angle between the upper arm and the edge of the paper and calculate the difference between it and 45 degrees. This is your nudge angle for adjusting the baseline in the wave synthesizer software. Now that your bot is calibrated head on over to the project page, where you can download sample drawings or learn about how easy it is to convert your favorite photos or artwork into an audio file that your drawback can use. If you build a trs drawbot or a project closely based on it or if you just have ideas, insights or comments to share, we want to hear from you be sure, to leave a comment on the project. Page have fun foreign .