RoboRally/docs/1_ASSEMBLY.md

5.1 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: 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

First, solder two wires to the + and - pins of the battery shield and isolate them with heat shrink:
Cut two small pieces of wire (about 4 cm), remove the isolation on both ends and cover them with a bit of solder
Solder the first wire to the + pin of the battery shield
Solder the second wire to the - pin
Cover both wires with small pieces of heat shrink tube
Heat the shrink tube with a lighter
This is how the battery shield should look like with the two wires
Next, we create a connector for the female JST 2-Pin connector for pluggin in the battery:
Cut two small pieces of wire (about 3 cm), remove the isolation on both ends and cover them with a bit of solder
Solder the first wire to the JST connector
Solder the second wire to the JST connector
Cover both wires with heat shrink
Solder the wires to the motor shield, paying attention to the polarity (make sure it matches the polarity of your batteries!)
Now, stack the battery shield on top of the motor shield and solder the
This is how it should look like in the end. Make sure all of the exposed wires are covered in heat shrink
Now you can stack the D1 mini ontop of the battery shield
Now it is time to connect the D1 mini to your computer
Use a micro USB cable to connect the D1 mini to your computer