Skip to content

Example Robot Builds

Mini Clipboard Robot

A four wheel differential drive robot build on a small clipboard (6" by 9"). This robot build uses common "TT" motors with a 1:48 gear ratio and does not require any soldering or 3D printed parts to assemble. This is intended to be a low-cost easy to build reference robot design for beginners. It includes various sensors such as encoders, an IMU, an ultrasonic sensor, a voltage monitor, and IR reflector sensors for line following.

This is the robot example code in the ArPiRobot-Examples repository is designed for.

Parts List

Mechanical Parts:

Electrical Parts:

Assembly Instructions
  1. Motor Assemblies

    • The motor assembly consists of the motor, wheels, bingo chip spacers, and encoder disks.

    • The outside face of the motor is the face with an axel that has a "bump" on it. The front of the motor is the face opposite the actual motor.

             

    • Bingo chips are used to construct a spacer (approx 0.25 in thick) to space the motor away from the clipboard it will eventually be mounted on. This is typically between 4 and 6 bingo chips.

    • Bingo chip spacers should be constructed using super glue. Glue a stack of bingo chips to each other to result in a 0.25 in tall stack. Eight of these stacks are necessary in total.

    • Two motors of each of two orientations are required. The first orientation requires bingo chips on the "top" face (as shown in the image above). Two require bingo chips on the bottom face. If the motors are arranged in the layout shown below, all bingo chip stacks go on the top faces.

             

    • To attach the bingo chip stacks to the motor do not use super glue. Instead use hot glue. Ideally, clean each surface using isopropyl alcohol before applying hot glue (let it dry before applying glue) to ensure best adhesion. Use a decent amount of glue to ensure the motor remains attached to the bingo chips. Hot glue is used as isopropyl alcohol can be used later to easily remove it allowing the motor to be opened or replaced easily. When placing the bingo chips, be careful with alignment. They will be slightly wider than the motor's face. Make sure the inside edge is flush. The bingo chips can overhang the outside edge slightly.

             

    • Once all assembled, the motors can be arranged as follows. The clipboard is then essentially placed on top.

             

    • However, it is easier to place the motors on the clipboard one at a time. Turn the clipboard clip-side up and place each motor at the distances shown below. The outside face of each motor should be flush with the edge of the clipboard to ensure proper movement. The motors should be attached to the clipboard using hot glue. It is again recommended to clean the bingo chip faces before applying hot glue. Super glue is not recommended as it is difficult to reposition if you mess up alignment.

             

             

    • Finally, add the wheels to all motors (outside shaft) and add an encoder disk to the inside shaft of the front two motors (front is side without the clip).

             

             

  2. Electronics

    • Place the motor bonnet on top of the Raspberry Pi Zero (solder header to Pi Zero if required first). When fully seated, there may be a small gap. This is ok.

             

    • This assembly (pi and bonnet) can then be attached to the clipboard. Place electrical tape on the bottom of the Raspberry Pi (to protect the PCB from hook and loop tape adhesive). Then apply hook tape. Place loop tape in the correct spot on the clipboard and attach the Raspberry Pi using the hook and loop tape.

             

    • Next, place the Arduino Nano in the mini breadboard as shown below. Notice that one side has three rows on the breadboard and the other only has two. Also notice that the "back" of the breadboard has one empty row not obstructed by the row. Matching this is important.

             

    • The add the breadboard in the position shown below. The breadboard likely has adhesive tape on the bottom. If not, electrical tape followed by hook and loop tape can be used as was done for the Raspberry Pi.

             

    • Next add the top-side sensors in the indicated positions. These are attached directly to the clipboard using hot glue. Generally, the PCB is set directly onto the clipboard and hot glue is applied around the edges (not under the board). This makes it easier to remove if needed. For the ultrasonic sensor, hot glue is generally placed under the metal rings around the emitter and receiver. Note that the ultrasonic sensor's front face is flush with the front edge of the clipboard.

             

             

    • Then, add the following sensors in the indicated positions on the bottom of the board. These too are attached using hot glue on the sides of the PCBs.

             

    • Finally, use hook and loop tape to attach both the AA battery pack and USB battery pack in the positions shown below.

             

  3. Wiring (Non-Sensor Cables)

    • Connect the USB OTG adapter to the Raspberry Pi Zero's USB host port (inner one; outer one is for power).

             

    • Then connect the USB A to Mini B cable (or Micro B cable depending on the sensor coprocessor board used). The USB A (rectangle) side should be connected to the OTG adapter on the Raspberry Pi Zero and the Mini / Micro B should be connected to the Arduino Nano (or other board as applicable).

    • The USB Battery pack should have come with a USB A to Micro B cable. This will be used to power the raspberry Pi. Connect the micro B end to the Raspberry Pi's power port. It is recommended to use hot glue to secure this cable on top of the clipboard and let it hang over the back. Only plug this into the battery pack when you are using the robot.

    • Motor battery power should go to the motor bonnet power ports. Place the female barrel jack screw terminal adapter where shown. In each screw terminal port, two jumper wires (male to male) are needed (four wires total). One power and one ground (one each + and -) go to cooresponding places on the motor hat. The other pair goes to the voltage monitor

             

    • To connect motor battery power, bring the AA battery pack wires around the back of the clipboard and connect the barrel jack to the female one. If your AA battery pack does not have a male barrel jack connector installed, add one with screw terminal blocks (you may need to strip off some wire insulation).

    • When done, the robot should look something like the following

             

    • Finally, connect the motor cables to the correct places on the motor bonnet. Motor numbers are shown below. Order of red and black wires in these ports does not matter. Swapping red and black (for the same motor) will invert its direction. You may want to use hot glue or tape to keep the wires on top of the clipboard.
    Motor Number
    Front Left 3
    Rear Left 4
    Front Right 2
    Rear Right 1

             

  4. Wiring (Sensor Cables)

    • First, you need to know how breadboards work. Each row of pins is connected internally. To connect a wire to a pin on the Arduino Nano, plug it into the same row on the breadboard.

             

    • Next, more sensors will need connections to the 3.3V pin (3V3) and GND pins than are available on the breadboard. As such, the two empty rows need to be connected to 3.3V and GND. This provides four extra GND and 3.3V pins. Note that the MPU6050 has a cable that connects to either port on the short sides of the board. This cable has four jumper wire pins on the other end that are connected to the breadboard.

    • Then connect each sensor as follows using jumper wires

    Sensor Sensor Pin Arduino Nano
    Voltage Monitor - GND
    Voltage Monitor S A0
    Ultrasonic VCC 5V
    Ultrasonic GND GND
    Ultrasonic TRIG 7
    Ultrasonic ECHO 8
    Left Encoder VCC 3.3V
    Left Encoder GND GND
    Left Encoder D0 D2
    Right Encoder VCC 3.3V
    Right Encoder GND GND
    Right Encoder D0 D3
    Left IR VCC 3.3V
    Left IR GND GND
    Left IR OUT D11
    Right IR VCC 3.3V
    Right IR GND GND
    Right IR OUT D12
    MPU6050 Red Wire 5V
    MPU6050 Black Wire GND
    MPU6050 Yellow Wire A5
    MPU6050 Blue Wire A4
    • To connect the sensors on the bottom, it is recommended to bring the wires around the front of the clipboard and use hot glue or tape to keep them from hanging off the robot too much.

    • Twist ties, electrical tape, and hot glue can be used for cable management. When fully wired, it should look something like the following images

             

             

Mini Clipboard Robot (Orange Pi Lite Variant)

This is a slightly modified version of the Mini Clipboard Robot using an Orange Pi Lite instead of a Raspberry Pi Zero. Typically, the original variant is recommended, but Raspberry Pis are difficult to get at the time of writing this.

Parts List Modifications
Assembly Instruction Modifications

Overall, wiring and assembly should follow the same instructions as for the standard Mini Clipboard Robot build. However, the Orange Pi should be placed in the location shown below.

Other changes:

  • Glue the wireless antenna to the location shown below.
  • The Arduino's USB cable should be connected to either of the USB-A ports on the side (not the micro USB port)
  • Orange Pi Lite cannot be powered via its micro USB port. It must be powered by the barrel jack connector.