← Teacher guide

Two-motor drive base

A Years 9–10 design project: a two-motor drive base for a line or obstacle course, with a battery chosen against the brief, steering planned, built in a simulator then for real, and tested on a timed course.

Capstone projects · Years 9–10: move it · about 300 minutes · Open the student lesson

Classroom resources

Open these in Waypoints Prepare with one click. To share a file another way, copy its address and paste it into Load URL, or download the file and import it. In Prepare, the worksheet's Teacher edition shows the answers; the student copy hides them.

Students will be able to

Timing

About 5 to 8 lessons (around 300 minutes). Inquire 1 · Develop 1–2 · Create 2–4 · Test and evaluate 1

Before class

Needs Power and motors (drivers, shared ground, batteries); LiPos only after the LiPo safety sign-off and if your risk assessment allows. Pairs with Mechanisms (gearing), CAD (a printed chassis) and the robotics simulator. The micro:bit Cutebot (Code › Robotics challenges) is a ready-made alternative base for classes without kits.

If you assess with MYP Design, the steps line up with the criteria:

Running the lesson

  1. Develop: the battery choice must be justified against all three numbers.
  2. Create: drive straight first, then add one sensor.
  3. Test: three timed runs, results in a table.

The hard part (on purpose)

Mechanical problems (loose wheels, a dragging chassis) look like code problems. Test the base driving straight before adding sensors.

When students get stuck

What you will seeA question to askThe fix
The robot turns the wrong way.Which motor slows when the sensor sees the line?Swap the turn logic, or swap a motor's wires.
It resets when it starts.Where do the motors get their power?Their own battery, grounds joined.

Answers to the checks

  1. Inquire: the brief: Sort each line of the brief: a criterion (what it must do, which you can test) or a constraint (a limit you must work within)?
    Completes the course in under 60 s → Criterion; Leaves the line at most once → Criterion; Runs for 30 minutes on one battery → Criterion; Two DC gear motors and a motor driver → Constraint; Battery 6–9 V, at most 150 g → Constraint; Chassis fits in 20 × 20 cm → Constraint
    Criteria are what you will test at the end; constraints decide what you are allowed to build with.
  2. Two ways to do it: Two ideas for following the line. A: two line sensors, one each side of the line, correcting only when one of them sees it. B: one sensor that follows the edge of the line, turning back and forth. Which is more likely to meet the under-60 s criterion?
    A: it can drive straight most of the time
    With a sensor each side, the robot drives straight until it drifts. Following one edge means swinging back and forth the whole way round.
  3. Your own two ideas: Now two ideas of your own. For each one, say which criterion in the brief it's strongest on and which it's weakest on. Then say which you'll build, and why.
    One way to write it: Idea 1: two sensors and a 9 V battery (about 45 g). Strongest on weight. Weakest on the 30-minute run: small 9 V batteries run down fast with two motors. Idea 2: two sensors and four AA cells, 6 V (about 95 g). Strongest on battery life. Weakest on weight, but still under 150 g. I'll build idea 2, because the battery test is the criterion I'm least sure of, and it still fits the weight limit.
  4. The battery: The two motors and the board draw about 900 mA together. Choose a battery that meets the brief (30 minutes using 80%, 6–9 V, 150 g at most).

    4 × AA alkaline (107 min, 100 g) or the 2200 mAh LiPo (147 min, 120 g, and the LiPo safety lesson first). The PP3 and the 1000 mAh LiPo run out too soon; 4 × NiMH is under 6 V; 6 × NiMH is too heavy.
  5. Steering: The line drifts left under the robot. To steer back, the robot should…
    Slow the left motor
    Turning towards the line: the inside (left) wheel slows, or even reverses, and the right one keeps going.
  6. Another team's results: Another team's robot ran the course in 52 s, 58 s and 64 s, left the line once in each run, and its battery lasted 35 minutes. Which criterion doesn't it meet?
    Under 60 s: the third run took 64 s
    52 and 58 pass, but 64 doesn't, so it doesn't reliably finish under 60 s. Leaving the line once a run is allowed, and 35 minutes beats 30. Next to test: why one run was slower.
  7. Fix and re-test: Pick one test that failed. Write what happened, what caused it, what you changed, and what the test showed when you ran it again.
    One way to write it: Test: run 3. What happened: it took 64 s and slowed down on the last corner. Cause: the batteries were getting low; I checked by timing a run on fresh ones, 53 s. Change: fresh AAs at the start of each test session, and a note in my evaluation that time depends on charge. Re-test: three runs on fresh batteries, 51, 54 and 55 s.
  8. Which is evidence?: Which is the strongest evidence that the design meets a criterion?
    A planned test with its recorded result
    A planned test from your table sets the input the criterion is about and records what happened; that is evidence. Everything else is a feeling.

Stretch and support

Stretch: Proportional steering: slow the inside wheel by an amount that depends on how far off the line it is.

Support: A driver wiring diagram and a two-sensor line-follower sketch to Modify.

Exit ticket

Name the three numbers you checked to choose your battery.

Voltage (in the driver's range), run time (capacity × 80% ÷ current) and weight.

What each step is for

Where it leads

Other Years 9–10 projects: Automated sorter, Lift.