Skip to main content

10

Minor Versionm

by Joshua

Introduction

We have a WALL-E LEGO kit that is pretty awesome, but we wanted to make it more awesome by making it move on its own.

Video Overview

Featured Document

  1. If you don't already have a LEGO WALL-E kit, they can be found, but they often sell for collector level prices. If you have one though, this guide will show you how to make it a programmable WALL-E that can move on its own! We found a WALL-E kit for a reasonable price and it was already assembled, so we saved a bit of time. With that in mind, this guide will assume you are starting with an already built WALL-E and you are just adding in the Crazy Circuits parts. We found a WALL-E kit for a reasonable price and it was already assembled, so we saved a bit of time. With that in mind, this guide will assume you are starting with an already built WALL-E and you are just adding in the Crazy Circuits parts.
    • If you don't already have a LEGO WALL-E kit, they can be found, but they often sell for collector level prices. If you have one though, this guide will show you how to make it a programmable WALL-E that can move on its own!

    • We found a WALL-E kit for a reasonable price and it was already assembled, so we saved a bit of time. With that in mind, this guide will assume you are starting with an already built WALL-E and you are just adding in the Crazy Circuits parts.

  2. We had to add a few special LEGO parts to our build in order to get our servo motors mounted and connected to the tracks that allow WALL-E to move. The image shows the parts we used.
  3. Connect two of the brackets to a 2x2 LEGO brick as shown. Make two of these assemblies and use them to connect the servo motors back to back. With the two servo motors connected you can attach the entire assembly to the bottom of WALL-E. The LEGO Axle Connectors will go onto the shaft of the servo motors and connect to the LEGO Axle.  (The LEGO Technic Bush is used to hold the axle in place laterally.)
    • Connect two of the brackets to a 2x2 LEGO brick as shown. Make two of these assemblies and use them to connect the servo motors back to back.

    • With the two servo motors connected you can attach the entire assembly to the bottom of WALL-E.

    • The LEGO Axle Connectors will go onto the shaft of the servo motors and connect to the LEGO Axle. (The LEGO Technic Bush is used to hold the axle in place laterally.)

  4. There is enough room in WALL-E's compartment to store an AAA battery pack. We were able to thread the battery pack wires through one of the gaps in WALL-E so we could run the connector to the Bit Board. Without a power switch we just plug and unplug the battery pack to turn on and off WALL-E.
    • There is enough room in WALL-E's compartment to store an AAA battery pack.

    • We were able to thread the battery pack wires through one of the gaps in WALL-E so we could run the connector to the Bit Board.

    • Without a power switch we just plug and unplug the battery pack to turn on and off WALL-E.

  5. To attach the Bit Board to the back of WALL-E we used a few 1 x 8 LEGO plates and some 1 x 2 LEGO plates to offset the bottom to match the holes on the Bit Board. You may find other options for mounting the Bit Board but this worked for us and allowed us to easily plug in the battery pack and the servos. You may find other options for mounting the Bit Board but this worked for us and allowed us to easily plug in the battery pack and the servos.
    • To attach the Bit Board to the back of WALL-E we used a few 1 x 8 LEGO plates and some 1 x 2 LEGO plates to offset the bottom to match the holes on the Bit Board.

    • You may find other options for mounting the Bit Board but this worked for us and allowed us to easily plug in the battery pack and the servos.

  6. Connect the left servo to Pin 0 on the Bit Board, and connect the right servo to Pin 1 on the Bit Board. Make sure the brown wire of the servo connector is  connected to the - (negative) row and the red wire of the servo is connected to the + (positive) row. The orange wire will be closest to the 0 or 1 numbering on the board. If you find that WALL-E moves forwards instead of backwards (or backwards instead of forwards) you can choose to swap how the servos are plugged in, or make changes in the code.
    • Connect the left servo to Pin 0 on the Bit Board, and connect the right servo to Pin 1 on the Bit Board.

    • Make sure the brown wire of the servo connector is connected to the - (negative) row and the red wire of the servo is connected to the + (positive) row. The orange wire will be closest to the 0 or 1 numbering on the board.

    • If you find that WALL-E moves forwards instead of backwards (or backwards instead of forwards) you can choose to swap how the servos are plugged in, or make changes in the code.

  7. Connect a USB cable to the micro:bit and then plug it into your computer.
    • Connect a USB cable to the micro:bit and then plug it into your computer.

    • We'll be using makecode.microbit.org to program our board. It uses a simple drag and drop block interface.

    • We're going to load the following code for our WALL-E program: https://makecode.microbit.org/_JVjU4EAuF...

    • You can change the code to affect how WALL-E moves. There are five "functions" in the code, goForward, goBackward, turnLeft, turnRight, and stop.

    • The five functions can be placed in the forever section of the code in any order. For each function, it is called with a parameter specifying how long it should run like so: goForward(5000)

    • Remember, 1000 milliseconds is equal to 1 second, 5000 milliseconds is equal to 5 seconds, etc.

    • Once the code is loaded you can disconnect the USB cable and insert the micro:bit into the Bit Board so it can control the servos.

  8. After you've got the code loaded, the servos plugged in, and connect the battery pack to the Bit Board WALL-E should start moving! If WALL-E doesn't move at all, make sure you've got the servos and battery pack connected properly, and make sure you've got the code loaded onto the micro:bit. WALL-E is awesome, but if you don't have one you can use this same circuit featuring two 360 degree continuous rotation servos in other robots.
    • After you've got the code loaded, the servos plugged in, and connect the battery pack to the Bit Board WALL-E should start moving!

    • If WALL-E doesn't move at all, make sure you've got the servos and battery pack connected properly, and make sure you've got the code loaded onto the micro:bit.

    • WALL-E is awesome, but if you don't have one you can use this same circuit featuring two 360 degree continuous rotation servos in other robots.

Finish Line

One other person completed this guide.

Attached Documents

Pete Prodoehl

Member since: 03/04/2020

331 Reputation

298 Guides authored

0 Comments

Add Comment

View Statistics:

Past 24 Hours: 1

Past 7 Days: 7

Past 30 Days: 26

All Time: 964