RoboRally/docs/1_ASSEMBLY.md

5.0 KiB

Robot assembly

This file contains assembly instructions for building the robots and soldering the electronics.

Components

The robot consists of the following components:

In addition you will need the following tools:

  • A soldering iron
  • Solder wire
  • Heat shrink tube
  • Some wires
  • Battery connectors (female)
  • Velcro tape
  • Self adhesive tape
  • Isolation tape
  • Pin headers

For the camera based position detection of the robots you will need:

  • A camera
  • A printer
  • Paper
  • Cardboard

Assembly instructions

Robot chassis

Assemble the chassis according to the instructions provided by adafruit (see here).

Soldering the electronics

  1. Solder on two rows of 8 male pin headers to the D1 mini D1 mini

  2. Solder on two rows of 8 female pin headers to the battery shield

  3. Solder on two rows of 8 female pin headers to the motor shield as well as a single row of bent pins. Make sure they are soldered on the right way around.

  4. In addition solder a jumper to the motor shield to connect the RTS and 3V pin. This will become important later on. Also solder the I2C bridge.

  5. In the next step we connect the battery connector pins of the battery shield to the + and - pins of the motor shield. In addition we will add a connector to the motor shield where we can plug in the battery. Here is a schematic: Battery Shield Wires Note: I added a new connector instead of using the one already on the battery shield because the plug of my battery wouldn't fit in the on on the shield

  6. First, solder two wires to the + and - pins of the battery shield and isolate them with heat shrink:

Description Image
Cut two small pieces of wire (about 4 cm), remove the isolation on both ends and cover them with a bit of solder Battery Shield Wires
Solder the first wire to the + pin of the battery shield Battery Shield Wires
Solder the second wire to the - pin Battery Shield Wires
Cover both wires with small pieces of heat shrink tube Battery Shield Wires
Heat the shrink tube with a lighter Battery Shield Wires
This is how the battery shield should look like with the two wires Battery Shield Wires
  1. Next, we create a connector for the female JST 2-Pin connector for pluggin in the battery:
Description Image
Cut two small pieces of wire (about 3 cm), remove the isolation on both ends and cover them with a bit of solder Battery Shield Wires
Solder the first wire to the JST connector Battery Shield Wires
Solder the second wire to the JST connector Battery Shield Wires
Cover both wires with heat shrink Battery Shield Wires
Solder the wires to the motor shield, paying attention to the polarity (make sure it matches the polarity of your batteries!) Battery Shield Wires
  1. Now, stack the battery shield on top of the motor shield and solder the battery connector:
Description Image
This is how it should look like in the end. Make sure all of the exposed wires are covered in heat shrink Battery Shield Wires Battery Shield Wires