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

Ert Þu að læra ͍slensku?

Tue 18 September 2007 by jillian

:)

That's Icelandic / Old Norse for "Are you learning Icelandic?" If you really want to know more... you can learn Icelandic for free (registration required) online courtesy of University of Iceland.

read more

Finally beginning to see the light at the end of the tunnel...

Mon 21 February 2005 by jillian

In between my school paper and clean-up from the painting and bookcase project, I managed to get my bookcases and storage shelves loaded. You can almost see the dining room table now (not pictured) and I only have a few more boxes to go through, two of which are destined …

read more

Rinky Dink Online Schools?

Thu 03 February 2005 by jillian

I've heard a lot of criticism of online universities. I'm sure the rinky dink outfits exist, but University of Phoenix Online is not one of them. I'm taking one 3 credit hour class and putting in about 14 hours a week. I'm getting 0wned, here.

I'm doing well, but its …

read more

I've got class

Wed 17 November 2004 by jillian

Carly is sending me back to school. It looks like I'll be getting a BS in Business/Information Systems from University of Phoenix sometime in 2008. The timing will depend a lot on how much credit I can transfer in. I'm looking forward to it. I'm not sure that I …

read more