So, the day turned rainy and there is a somewhat rigorous moratorium here on desktop computing.  I decided that didn't include supervised robotics.  Full details, more pics and movie mayhem after the break.

The wee Lad and Lass contributed time, hands, materials and ideas.  I "happened to have on hand" an Arduino Duemilenove, and an Adafruit Motor Party Pack.  We chose the stepper motor for a proof of concept and explored our mounting and vehicle options.  The end result is a mod of a standard inexpensive toy dump truck.

Materials:

  • 1 Toy dump truck with free-rotating wheels, preferably with interior grooves on the wheels.
  • 1 Arduino Duemilanove microcontroller, we got ours from Adafruit.
  • 1 Motor Party Add-on Pack for Arduino, again from Adafruit.
  • 2-3 Loc Blocks (Legos or Knex or any sort of modular building block will do.  We used what we had on hand.)
  • 1 Roll of 3M Highland 203 Tape (any Masking tape will do, Duct tape might increase the longevity of your FT-5).
  • 1 payload to offset the front-end weight of the control and driver hardware.
  • The AFMotor Stepper Library and example sketches, from Lady Ada.  You probably want the version with microstepping support.
  • 1 9V Battery pack with the right connector for Arduino.  (Alternatively, power it via USB programming port).

I had obtained a ready-built Arduino and My brother had supplied a motor shield kit, which I had assembled previously.  Experienced people can put the shield together in about 40 minutes or less, it took me longer but was very easy to approach.  Armed with these, We first explored the mounting options.  We decided that we did not want to permanently damage the truck (yet!), and chose masking tape for its ready availability and ease of cleanup/use.

Right Side view, FT-5.

We mounted the battery pack on the top edge (or "lip")  of the truck bed, and the Arduino to the hood.   We chose the stepper motor from the Party Pack, because it has an infinite range of rotation.  The servos would be better, but we weren't sure they would rotate freely, and the DC motor comes with no leads soldered on.

We routed the motor control wires in through the window of the truck and oriented the USB port for easy reprogramming.  The loc blocks provide additional pressure on the primitive drive coupling:  we put the bare metal gear from the Stepper directly against the grooved inside of the plastic truck wheels.

We assembled the Loc Blocks so that they fit into an indentation in the truck's underside near the front right fender.  One side of the stepper attaches to the wheel mounting "bracket" with tape. The other side, we attached to the Loc Blocks, which help provide enough pressure that the stepper can drive the wheel directly.

We experimented briefly with the default AFStepper sketch and determined that Microstepping was pretty effective, providing miniml slipping of the wheel against both carpet and our formica kitchen table "bench."  You can see this (and hear it, microstepping is noisy!) in the tabletop video.  We also found that double-coil stepping worked pretty well on carpet, moving the truck a little faster. The carpet video shows that method.

Total time, including searching for all the parts:  about an hour. Assembly time: 30 minutes.  We commented out all the "BACKWARD" stepper commands and then commented out the other forward methods (SINGLE, INTERLEAVE, STEPPER, OR MICROSTEP) leaving only the desired method active.

FT-5 Driver side view showing top-side wire routing.FT-5 Front view, with Arduino on the hood and battery pack on top.FT-5 Left view with more wire routing detail and exposed programming (USB) port.FT-5 Motor coupling.FT-5 Top view, with weightFt-5 bottom view with drive details.Ft-5 Rolling Maybe on the tableFt-5 Rolling Slowly on Carpet


Regex for Java in Unicode...

Sat 29 August 2009 by jillian

Think The Producers' "Springtime...  in Germany" when reading the title, it might make slightly more sense...

A friend of mine was recently posed a challenge by hir instructor in an introductory Java class.  The challenge was (sic.) "I was recently writing a program to generate usernames from the first seven …

read more

A UNIX Wizard...

Sat 01 August 2009 by jillian
So, I heard "Pinball Wizard" on the radio the other day and it reminded me of a parody called "UNIX Wizard..."  While googling for the text for all of you, I also ran across this "UNIX Heirarchy," which explains the difference between mere mortals and sucessive progress towards enlightenment.

image1

Unix …

read more

Integrated Gallery While You Post...

Wed 22 July 2009 by jillian

I wanted to use Drupal to post pictures, much as LiveJournal can.  However, I already have...  an image gallery.  And, while it is a good and wondrous thing to have the gallery integrated with Drupal, what I really wanted was to be able to nicely choose images mid-post, without having …

read more

USCGC Mackinaw

Mon 13 July 2009 by jillian

The USCGC Mackinaw pulled into the bay this afternoon, shortly after lunchtime.  What she was doing, exactly, is anyone's guess, but she appears to be capable of tending buoys, and that seemed to be what she was doing.  After work, she still hadn't left, so I lugged the telescope down …

read more

Lego Star Wars II: Stuck at Echo Base?

Sat 28 March 2009 by jillian

So, the Wee Lad got this rather fun, puzzle-oriented game from his uncle (my brother) for his birthday, and we've been having a lot of fun with that. He gets to play it as time allows, but if he has a particularly good day at school, I reward that by …

read more

Office 2007 / DOCX files got you down?

Thu 07 August 2008 by jillian

Recently a few people have asked me how to open DOCX files, which are created in Word 2007 / Office 2007. I have found 4 solutions so far:

  1. Microsoft Office Open XML File Format Converter for Mac is perhaps the canonical solution. It won't make new Office 2007 documents, but I …
read more

Leopard!

Sat 29 December 2007 by jillian

So, after much deliberation, I have installed Leopard. So far, I am quite encouraged. It "feels" a little zippier. It looks a little better (Apple has been slowly re-vamping the look since at least the release of Panther, and it's finally beginning to look consistent again.)

This is the ongoing …

read more

Intel Macs Today... My predictions through 4/1/2007

Tue 10 January 2006 by jillian

So, I was a bit surprised at the choice to release a 32-bit iMac to succeed the G5. Most experts seem to be saying this won't matter for most people, but I disagree. The 64-bit capabilities of the G5 are pretty important for editing home or professional video, and that …

read more

Taming the beast - Part 3

Thu 02 June 2005 by jillian

As a brief follow-up to my experiences with the Tiger upgrade, I have some news about my iFruit. As you may recall, I had trouble syncing my PDA after updating to Tiger. The fine people at Mark Space made a valiant effort to walk me through isolating the issue, with …

read more