ReconBot with the Tessel 2

Pages
Contributors: rwaldron
Favorited Favorite 8

Build It

To construct the robot, we'll put the chassis partially together and wire up a motor circuit. Then we'll install the robot's software and test the motors before completing the chassis construction.

Constructing the Chassis Base

Connect Motor Mounts

Each of the robot's two motors will have two supporting plastic mounts from the Shadow Chassis kit: one near the front of the motor and one at the back. When attached, the motor mounts will look like this:

alt text

The back mounts are easy to attach—they just slide on. The front mounts require a quarter-turn to attach. Start by positioning the front mount as shown in the photo below, taking care not to pinch the motor's wires underneath the mount. Note the position of the motor's protruding white plastic axle to help you orient the motor.

alt text

Now, rotate the mount counter-clockwise 90 degrees until it clicks into place around the motor. After it's secured, it should be positioned as in the photo below:

alt text

Now you can construct the chassis base:

alt text

  1. Connect the mounted motors to the chassis by snapping the mounts into the chassis base. Pay attention to the orientation. The wires should be on the inside and the rear mounts of the motor should be toward the front of the robot (at the top in the preceding photo).
  2. Connect the struts at each of the four corners. Push hard to snap into place. Attach an extra support piece at the front of the robot for stability.
  3. Attach the wheels to the motor axles.
  4. Flip the base over and attach the little semicircular support nubbin from the Shadow Chassis kit near the back end of the robot (toward bottom left of the following photo)

alt text

Some more views of the chassis base (this version has black motors):

alt text

alt text

Attach the Camera

With the top panel in hand—that's the other big piece in the Shadow Chassis kit—loop one of the ~~Hook and Loop Fastening Cable Ties~~ Velcro ties through the two oblong cut-outs positioned between the wheel mounts:

alt text

alt text

Next, place the top panel (shiny side down) in front of you. Cut a piece of two-sided tape or mounting tape, approximately half the length of the bottom side of the camera clip (or full length, it's up to you) and attach to the camera clip, like so:

alt text

Then flip the camera over and fasten it to the rough side of the top panel. Use the Velcro tie to wrap the camera's USB cable:

alt text

Make sure the front "lip" of the camera clip is flush with the edge of the top panel, and that the camera lens itself is centered:

alt text

Cut another piece of double sided tape and attach to one side of the USB battery:

alt text

Remove the adhesive paper from the other side of the tape, and place the battery on the top panel:

alt text

Attach the Breadboard

Now for a shocking twist: set the top assembly aside and grab the bottom assembly and then carefully remove the adhesive strip paper from the breadboard (we're going to reuse it) and place the breadboard over the hole in the front section of the bottom panel. (As it turns out, most people never remove this adhesive cover strip!).

alt text

Turn the bottom assembly over and press the paper backing onto the adhesive surface that's exposed through the hole. Turns out they are the same size! Using a sharp utility knife, trim off the excess paper.

alt text

Once trimmed, the underside of the chassis base should like this:

alt text

Wire the Motor Driver Circuit

Turn the bottom assembly right-side-up and insert the Motor Driver breakout onto the breadboard, as shown here:

alt text

Wire in the Motor Driver, by following the diagram here:

alt text

Start by making the breadboard connections (we'll connect to the Tessel 2 in a few moments). As you assemble, your work should look similar to following image:

motor driver circuit on breadboard

Connecting the Tessel 2

Position the Tessel 2 near the rear of the robot on the bottom panel and complete the connections for the motor driver.

alt text

alt text

To help you verify your wiring, review the following tables:

MotorWire Driver Pin
LeftBlackAO1
LeftRedAO2
RightBlackBO2
RightRedBO1


MotorTessel PinDriver PinColor In Diagram
LeftPort A, Pin 5PWMABlue
LeftPort A, Pin 4AIN2Green
LeftPort A, Pin 3AIN1Yellow
RightPort B, Pin 5PWMBBlue
RightPort B, Pin 4BIN2Green
RightPort B, Pin 3BIN1Yellow

The SparkFun Motor Driver Breakout, view of reverse side

Above: the pins of the SparkFun Motor Driver Breakout board. Note that this view is of the bottom of the board. As attached to your breadboard, connections will be flipped left-to-right.