← Lessons Mr. Scandrett's ClassroomOS
Engineering Robotics

Engineering · Robotics · Biomimicry · Emergent Behavior

Simple Rules,
Complex Walkers

In 1989, MIT roboticist Rodney Brooks built a six-legged robot called Genghis — and it walked without a brain. No central computer told it how to move. Instead, six legs each followed a handful of simple rules and complex walking emerged. That same trick is how every insect on Earth moves. You can build the same thing with a toothbrush.

MIT AI Lab · 1989 Subsumption Architecture Hexapod Simulator Bristle Bot Lab Grades 3–8
"

Intelligence is in the eye of the observer. A simple nervous system can produce remarkably complex behavior — not because it contains a model of the world, but because the world itself is the model.

— Rodney Brooks, MIT AI Lab

MIT AI Lab · 1989 · Now at the Smithsonian

Meet Genghis: The Robot That Walked Without a Brain

In 1989, roboticist Rodney Brooks and his team at the MIT Artificial Intelligence Laboratory built a small six-legged robot and named it Genghis. It was about the size of a large shoe box, covered in sensors, and had six independently controlled legs.

What made Genghis revolutionary was what it didn't have: a central brain. Traditional robots of the time used a single processor to plan every move — calculate where each leg should go, then send commands. Genghis used a completely different approach: each leg had its own small controller, and the robot's walking behavior emerged from those simple local rules interacting.

It could scramble over rough terrain, recover from stumbles, and explore uneven surfaces — behaviors that centrally-controlled robots of the era couldn't manage. Genghis now lives in the Smithsonian National Air and Space Museum.

Rodney Brooks went on to co-found iRobot in 1990 — the company that makes the Roomba vacuum cleaner. The same ideas inside Genghis are inside every Roomba navigating your floor today.

Genghis at a Glance

Built: 1989
Where: MIT AI Lab, Cambridge, MA
Builder: Rodney Brooks + team
Legs: 6 (hexapod)
Control: Subsumption architecture (8 behavior layers)
Weight: ~1.5 kg
Today: Smithsonian National Air and Space Museum

The iRobot Connection

Brooks co-founded iRobot in 1990 with fellow MIT grad students Colin Angle and Helen Greiner. The company built robots for the military (PackBot), space exploration (worked on Mars rover concepts), and consumer products — including the Roomba (2002), which uses the same behavior-based navigation ideas pioneered by Genghis.

The Genghis hexapod robot — covered in sensors, six-legged, built at the MIT AI Lab in 1989 by Rodney Brooks. It is about the size of a large shoe box.
Genghis (1989) — Rodney Brooks' six-legged subsumption robot at the MIT AI Lab, Cambridge, MA. Each leg has its own controller; walking emerges from local rules with no central brain. Now in the collection of the Smithsonian National Air and Space Museum. Image: Wikipedia · Genghis (robot) · © Massachusetts Institute of Technology (used for educational identification).

The Key Idea · Behavior-Based Robotics

Subsumption Architecture: Building a Brain from Layers

Traditional AI robots of the 1980s worked like this: sense → model → plan → act. First, build a complete model of the world. Then plan the best path. Then execute. The problem: the world changes while you're planning, and modeling everything is impossibly slow.

Brooks proposed the opposite: don't model anything. Instead, stack simple behaviors on top of each other. Lower layers handle basic survival. Higher layers handle more complex goals. Each layer can suppress the output of the layer below when it has something more important to do — that's where "subsumption" gets its name.

Think of it like this: you don't consciously command your legs to walk. Your spinal cord handles the basic rhythm. Your brainstem adds balance. Your cerebellum adds coordination. Your cortex only steps in when you need to avoid a puddle. That's exactly how Genghis worked — and how insects work too.

7 Steered Prowling Turns toward targets
6 Prowling Moves forward continuously
5 Pitch Stabilization Keeps body level on slopes
4 Whiskers Avoids obstacles it touches
3 Leg Lifting Raises legs over obstacles
2 Force Balancing Distributes weight evenly
1 Simple Walk Basic gait rhythm — always on
0 Stand Up Extends legs to body height

Layers 0–2 are always active. Higher layers activate only when needed. The dots animate in the simulator below.

Abstract diagram of subsumption architecture showing layered behavior modules where higher layers can suppress the output of lower layers.
Subsumption Architecture — abstract diagram showing how behavior layers stack and suppress each other. Layer 0 (bottom) always runs; each higher layer can override the one below it when triggered. Diagram by KodoKB, Wikimedia Commons · Public Domain (CC0).

How Insects Walk · Emergent Motion

The Tripod Gait: Nature's Stable Walker

Most six-legged insects use the tripod gait — the most stable walking pattern for a hexapod. Here's the rule:

  • Divide the 6 legs into two groups of 3
  • Group A: front-right, mid-left, back-right
  • Group B: front-left, mid-right, back-left
  • While Group A is lifted and moving forward, Group B forms a tripod on the ground
  • Then they switch — Group B lifts and moves, Group A plants

A tripod is the most stable structure possible: three points define a plane, so the robot can never tip over while one group is down. This is why insects don't fall even on rough terrain, and why Genghis could scramble over rocks.

The brilliant part: no single controller decides this. Each leg just follows a simple local rule ("if my neighbor just lifted, I should plant") and the tripod gait emerges automatically. This is emergent behavior — complexity from simplicity.

Emergent Behavior

Emergent behavior happens when a system's parts follow simple rules, but the whole system exhibits complex patterns that no single part "planned." Examples: ant colonies find the shortest path to food without any ant knowing the full route; flocking birds never collide using just three local rules; traffic jams form and dissolve without central coordination. The tripod gait is emergent.

Why 6 Legs?

Four legs (like a dog) require complex balance calculations — when a leg lifts, the center of gravity must shift. Six legs allow static stability: you always have three on the ground. This is why insects are so energy-efficient and can walk immediately after hatching, with no "learning" period. Evolution converged on the hexapod design independently dozens of times.

Stance — on ground, bearing weight Swing — lifted, stepping forward ▲ FORWARD ▲ FORWARD FR ML BR FL MR BL TRIPOD A GROUNDED FR · ML · BR on surface ALTERNATES FL MR BL FR ML BR TRIPOD B GROUNDED FL · MR · BL on surface

Top-down view of a hexapod in tripod gait. Filled circles = leg on the ground. Dashed lines = leg lifted and stepping. The two tripods alternate so three points always contact the surface — a triangle is the most stable base possible.

Hexapod Gait Simulator
Top-down view · Tripod gait · Subsumption layers
Live Animation Tripod A = amber · Tripod B = blue
Active Behavior Layers
Stand Up
Simple Walk
Force Balancing
Leg Lifting
Whiskers
Pitch Stabilization
Prowling
Steered Prowling
Tripod Phase
Tripod A stanceTripod B stance
GaitTripod
Legs6
StabilityStatic
Steps/sec2.0

Hands-On Activity · Classroom Build

Build a Bristle Bot

A bristle bot is the simplest robot you can build — it uses a vibrating motor to convert random shaking into directional motion. The secret is the bristles: when angled, they act like ratchets, letting the bot slide forward on the forward stroke but resisting backward movement. It's the same principle as a ratchet wrench, and the same reason a crawling baby moves forward instead of backward when rocking.

Materials

🪥
Toothbrush HeadCut off the head of an old toothbrush — the stiffer the bristles, the better.
📳
Pager / Phone MotorSmall vibrating motor from an old phone, toy, or vibration pack. 3V works best.
🔋
CR2032 Battery3V coin cell battery. Provides just enough power and is light enough not to slow the bot.
🖇
Tape or Hot GlueSecure the motor and battery to the toothbrush head. Double-sided foam tape works great.
✂️
Wire (optional)Thin flexible wire to connect the motor to the battery if leads are too short.
🖊
Googly Eyes & MarkersBecause every good robot needs a face. Decorating is part of the engineering process.

Build Steps

01
🪥
Prepare the Base

Cut or snap the head off an old toothbrush. Make sure the bristles are angled — don't use a flat-bristle brush. The angle is what makes the bot go forward instead of staying still.

02
📳
Mount the Motor

Tape or glue the vibrating motor onto the back top of the bristle head. Position it slightly off-center — an off-center weight makes it vibrate rather than just spin.

03
🔋
Add the Battery

Tape the CR2032 coin cell to the head near the motor. Keep it as light and centered as possible — too much weight on one side makes the bot spin in circles instead of going straight.

04
Connect the Circuit

Touch one motor wire to the positive (+) side of the battery and the other to the negative (−) side. You should feel vibration immediately. Tape the wires down when it works.

05
🏁
Test & Tune

Place it on a smooth hard surface and let go. Try tilting the motor forward or backward to change direction. Try adding more weight to one side to make it curve. Race against classmates!

06
🎨
Design Your Bug

Give it a name, add googly eyes, draw legs on paper and tape them to the sides. Real insect bodies are shaped to be aerodynamic — can you design a body shape that makes your bot faster?

The Science Behind It: Why Does It Move Forward?

The bristles act like a one-way ratchet. When the motor vibrates, it shakes the toothbrush up and down at high frequency. On the downstroke, the angled bristles flex backward and grip the surface. On the upstroke, the bristles spring forward, pushing the bot in that direction. Each tiny vibration cycle produces a tiny forward push. At hundreds of vibrations per second, those tiny pushes add up to real movement — the same way your leg muscles produce walking from millions of tiny contractions.

BOT BODY — vibrates ↕ MOTOR FORWARD Angled bristles grip → push forward SURFACE

Side view — motor vibrates the body up and down. Angled bristles act as a one-way ratchet: they grip on the downstroke and spring forward on the upstroke, producing net forward motion.

Bristle bots (vibrobot) at a Maker Faire — small toothbrush-head robots with vibrating motors mounted on them, racing on a flat surface.
Bristle bots in the wild — students' vibrobot racers at Kent State Mini Maker Faire, 2014. Each bot is built from a toothbrush head and a coin-cell-powered vibrating motor. Photo: kentstatesms / Wikimedia Commons · CC BY 2.0

Advanced Build · LEDs + Buzzer · Classroom Activity

Popsicle Stick Bug: Add Eyes and a Voice

Once you've mastered the bristle bot, upgrade to a popsicle stick bug — a light rigid body frame with two glowing LED eyes and a tiny phone buzzer that doubles as the drive motor. The buzzer makes the bug vibrate and buzz, so every student instantly knows when their bot is alive. The LED eyes draw almost no extra current from a CR2032, so they run at the same time as the motor with no extra battery needed.

Materials

🍦
Popsicle Sticks (3–4)Two sticks crossed form the body; a third stick on top is the motor platform. Lightweight and rigid.
💡
2× LED (any color)One per eye. 3V LEDs work directly off a CR2032 with no resistor — just don't leave them on for days.
📳
Phone Buzzer / Pager MotorA tiny vibration motor from a broken phone or buzzer pack. 3V, disc-style. Both vibrates and makes a buzz sound.
🔋
CR2032 Coin CellPowers LEDs and buzzer simultaneously. Tape between the two top popsicle sticks so weight stays centered.
🪥
Bristle LegsCut angled bristles from an old toothbrush — 4 to 6 legs. Angle them backward so vibration pushes the bug forward, not sideways.
🖇
Hot Glue or TapeGlue the stick frame, tape the battery flat. Foam tape under the motor keeps it from sliding.

Build Steps

01
🍦
Build the Frame

Glue two popsicle sticks in a cross (+) or parallel pair for the body. This is your chassis — keep it as light as possible. A third stick raised slightly on top is the motor mount.

02
🪥
Attach Bristle Legs

Cut 4–6 angled bristle clusters from the toothbrush and hot-glue them under the frame, all angled in the same rearward direction. Test on a smooth surface — the bug should roll forward when tapped.

03
💡
Wire the LED Eyes

Push two LEDs through the front of the frame facing outward. Connect both LED positive (long) legs together, and both negative (short) legs together. These are your two "eyes" wired in parallel — they share the same battery connection.

04
📳
Mount the Buzzer

Tape the phone buzzer disc to the top-center of the frame. Its red wire is positive (+) and black is negative (−). The off-center weight inside the disc creates the vibration that drives the bug.

05
🔋
Connect the Circuit

Tape the CR2032 flat between the top sticks. Connect: battery (+) → buzzer red + LED positives. Battery (−) → buzzer black + LED negatives. Touch the wires — the eyes should glow and the bug should buzz and walk.

06
🎨
Decorate Your Bug

Add pipe-cleaner antennae, draw a face on the sticks, color the body with marker. The LEDs already make it look alive — now give it a personality. Name it. Enter it in a race. Try adding a small piece of clay to one side to make it curve and patrol a circle.

Circuit Diagram: How It's Wired

PARALLEL CIRCUIT — one CR2032 battery powers all three components + red wire − black wire + CR2032 3V coin cell M vibrates MOTOR/BUZZER phone vibration disc LED Eye 1 LED Eye 2

All three components (motor + 2 LEDs) are wired in parallel between the + and − rails of the CR2032. Each gets the full 3V. The LEDs draw ~20mA each, the motor ~60mA — total well within the coin cell's capacity. Long LED leg = + (connects to red). Short LED leg = − (connects to black).

Why Both LED + Buzzer From One Battery?

LEDs in parallel each need about 2–3V at 20mA. A CR2032 supplies 3V and ~220mAh. The buzzer motor draws ~50–80mA when vibrating. Total draw is under 120mA — well within the coin cell's range. The LEDs are your sensor readout: if they dim, the battery is almost dead. Replace it before the buzzer stalls.

From Bristle Bot → Popsicle Bug → Genghis

Your popsicle stick bug walks by the same principle as Genghis: simple local rules (angled bristles = move forward, vibration = energy source) produce complex behavior (navigation, direction changes from weight shifts). The LEDs are your first sensor readout. See how Genghis added 8 layers of sensors above this ↑

Extensions · From Bristle Bot to Real Robot

Going Further: The Ladder from Bristle Bot to Genghis

Level 1 · Bristle Bot

One motor, no control, pure physics. Motion emerges from bristle geometry. No programmer decided "go forward" — the shape of the bristles decided it. This is physical intelligence.

Level 2 · BEAM Robots

Add a light sensor so the bot turns toward or away from light. Still no microcontroller — just analog circuits. The environment is the program. Add two sensors and it navigates a maze.

Level 3 · Genghis

Six legs, each with its own microcontroller and force sensors. Layer 0–2 always running. Layers 3–7 fire when triggered by sensors. Complex walking, obstacle avoidance, and terrain navigation — from 8 simple rules.

Level 4 · Spot (Boston Dynamics)

Modern quadruped robots add machine learning on top of subsumption-style behavior layers. The base layers are still local and reactive. But higher layers now learn from experience. Genghis is a direct ancestor.

Level 5 · Mars Rovers

NASA's Perseverance uses behavior-based hazard avoidance at the lowest level — if a wheel senses too much force, it stops, even before the main computer has processed the image. Same idea as Genghis, same reason: the world moves faster than planners can plan.

Level 6 · You

Your spinal cord controls walking rhythm (Layer 1). Your cerebellum adds balance (Layer 2). Your motor cortex adjusts gait (Layers 3–5). Your prefrontal cortex plans the route (Layer 7). You are a subsumption architecture. Evolution built you bottom-up, just like Brooks built Genghis.

Boston Dynamics · 1992–Present · From MIT to Your Factory Floor

Walking Dogs & Backflipping Robots: Boston Dynamics

If Genghis is the grandfather of legged robots, Boston Dynamics is the company that grew the family tree into something that can dance, do parkour, and inspect an oil refinery. Founded by Marc Raibert in 1992 as a spin-off from the MIT Leg Lab — the same intellectual neighborhood as Rodney Brooks — Boston Dynamics has spent thirty years turning the dream of animal-like locomotion into real hardware.

Boston Dynamics at a Glance

Founded: 1992 · Cambridge, MA
Founder: Marc Raibert (MIT Leg Lab)
Key robots: BigDog, Spot, Atlas, Stretch
Owners over time: MIT spin-off → DARPA contracts → Google (2013) → SoftBank (2017) → Hyundai (2021–present)
Spot commercial launch: 2019
Famous for: Viral videos — robots that fall down, get back up, and dance

Why They Went Viral

In 2020 Boston Dynamics released a video of Spot and Atlas dancing to "Do You Love Me" by The Contours. It hit 35 million views in days. Not because it was a gimmick — but because the robots moved like animals: hips swaying, weight shifting, recovering from stumbles mid-dance. People hadn't seen machines move that way before. That naturalness comes directly from the same ideas Genghis pioneered.

The Robot Family

🐕
BigDog (2005)

The first famous one. Four legs, 75 kg, DARPA-funded as a robotic pack mule for soldiers. Could carry 340 lb across rough terrain, snow, and ice. The video of a Boston Dynamics engineer kicking it — and it not falling — shocked the robotics world. Hydraulically powered; too loud for military use, but it proved the concept.

🤖
Spot (2015 / 2019 commercial)

BigDog's smaller, electric successor. 25 kg, 90-minute battery, top speed 1.6 m/s. Four legs, 12 actuated joints, full LIDAR + stereo cameras. Commercially available since 2019. Used in construction inspection, oil & gas, police, hospitals, and film sets. The "robot dog" students have seen on the news.

🧍
Atlas (2013–present)

Boston Dynamics' humanoid. Originally hydraulic, now fully electric (as of 2024). 1.5 m tall, 89 kg. Can run, jump, do backflips, and full gymnastics routines. Designed to work in environments built for humans — push open doors, climb ladders, carry boxes. The most advanced bipedal robot ever built.

BigDog, the large four-legged hydraulic robot by Boston Dynamics, shown in a field with U.S. Marines.
BigDog (2006) — tested with U.S. Marines in the field. Photo: Lance Cpl. M. L. Meier / Wikimedia Commons · Public Domain
Boston Dynamics Spot quadruped robot being operated by Royal Air Force personnel at RAF Leeming, 2021.
Spot (2021) — deployed by the Royal Air Force at RAF Leeming for base inspection duties. Photo: Senior Airman John Ennis, 48th FW / Wikimedia Commons · Public Domain
Atlas humanoid robot by Boston Dynamics, front view, 2013 — a tall bipedal robot developed for DARPA.
Atlas (2013) — Boston Dynamics' hydraulic humanoid robot, developed for DARPA's robotics challenge. Now fully electric and capable of backflips and parkour. Photo: DARPA / Wikimedia Commons · Public Domain

How Spot Actually Walks: Dynamic Balance

Genghis used static stability — it always had at least three feet on the ground, forming a stable tripod. Spot uses dynamic balance, the same way you walk: at any given moment, your center of gravity is actually outside your base of support, and you're constantly falling forward and catching yourself with your next step.

This is harder to engineer (you need to predict where your foot will land and pre-position for it) but it's far more efficient. A statically stable robot wastes energy keeping three legs planted. A dynamically balanced robot flows through gaits — walk, trot, bound — the way a real dog does, using momentum as an asset rather than fighting it.

Spot's lowest control layer handles individual joint torques at ~1000 Hz. Above that, a balance controller maintains the center of mass. Above that, a gait planner selects walk vs. trot vs. stair-climb. At the top, a mission planner navigates waypoints. Four layers — just like Genghis had eight. The architecture is the same; the hardware is 35 years better.

3 Mission Planner Navigates to waypoints, avoids no-go zones
2 Gait Controller Selects walk / trot / stair-climb
1 Balance Controller Keeps center of mass over support polygon
0 Joint Torque Control 12 motors at 1000 Hz — always running

Spot's control stack — same subsumption idea, modern hardware. Compare to Genghis's 8 layers above.

Where You've Seen Them (and Where They Actually Work)

Famous Viral Moments

2015 — "BigDog Kick": engineer kicks BigDog on ice; it slips but recovers. First proof of dynamic balance to the public.
2018 — SpotMini opens a door: one robot holds a door, a second walks through. The internet panicked.
2019 — Spot at MIT commencement: pulled a truck across campus.
2020 — "Do You Love Me": Atlas + Spot dance to The Contours. 35M+ views.
2021 — Atlas parkour: backflip, 360 twist, full gymnastics floor routine.
2024 — New Atlas (electric): gets up from the floor in a single fluid motion no human could match.

Real-World Deployments

Chernobyl: Spot used to map radiation zones too dangerous for humans.
Oil & gas: Shell and BP use Spot to walk pipeline infrastructure on offshore platforms.
Construction: Spot maps building sites with LIDAR as they're built, comparing to the design model daily.
Hospitals: Used during COVID to remotely assess patients without PPE exposure.
Police: NYPD trialed Spot for crime scene documentation (controversial; cancelled 2021).

Watch Them Move

Boston Dynamics — "Do You Love Me?" (2020) · 35M+ views

BigDog Overview — rough terrain, ice, kicks (2010)

Atlas Parkour — backflip, gymnastics, full routine (2021)

The Line from Your Popsicle Bug → Spot

Your bristle bot has one behavior layer: vibrate → move. Genghis had eight. Spot has dozens, trained partly by machine learning on millions of simulated steps. But the core insight is identical across all three: don't try to plan everything — react locally and let global behavior emerge. Marc Raibert worked down the hall from Rodney Brooks at MIT. The ideas didn't just travel — they were neighbors.