Controller
Two levers you tilt forward and back. Each lever reports exactly how far it is tilted. You can drive a robot with it, or build it into a model as a trigger.
Sense · Move · Code
I stopped what we were doing today on purpose. These kits are going to be part of our labs in Physics, Chemistry and IPC all year, and you need to know them before we do science with them. Today you will learn every part in the box, build a robot that listens to colors, and then start building a robot of your own design.
Absent today? Read this page from top to bottom, then see me. You will get time with a kit to pair the color sensor and motor yourself and fill in the input → output table before Friday's lab.
Why we are doing this
Every lab you have done this year has the same shape. Something is measured, a decision is made, something is done. A robot does exactly that, and it does it the same way every single time. That is what makes it useful in a lab.
The color sensor and the controller levers take information in. A sensor is a measuring tool, the same idea as the graduated cylinder you read in August.
Something has to decide what the input means. Today that decision is already built into the hardware. Tomorrow you write it yourself in Coding Canvas.
The motors put motion out into the world. Motion is exactly what we measure in a lab: how far, how fast, how hard.
We are in the middle of motion. A motor that runs the same way every time gives us something we have never had: a moving object we can repeat on demand. On Friday you will time your own robot, measure its distance, and build the distance-time graph you have been reading all unit.
Chemists identify substances by what they measure, and color is one of the oldest clues there is. A flame turns a different color for different elements. On Friday you will build a robot that reads a color sample and responds to it, then test how reliable your sensor is, which is exactly how we judge any instrument.
We just learned to add forces with signs and find the net force. A motor is a force you can control. On Friday your robots go head to head in a tug of war, and you will use force diagrams and the net force to explain who wins and why.
What is in the box
Every kit is the LEGO® Education Computer Science & AI set for grades 6–8. The electronics are wireless, and each piece has one lit button. Press it to turn the piece on.
Two levers you tilt forward and back. Each lever reports exactly how far it is tilted. You can drive a robot with it, or build it into a model as a trigger.
One body, two outputs that can turn separately. Put a wheel on each side and you have a drive base. Each output knows its own position to about one degree.
One output in a small body. Arms, lifts, spinners, doors, anything that needs to turn by itself.
It reads the color of something held close to it, about the width of a finger away. It is a measuring instrument, the same as a thermometer or a balance.
Tap the same card on two pieces of hardware and they pair. Same color card means same team. No cables, and no computer needed to pair them.
Beams, axles, gears, wheels and plates. And one USB-C cable: everything electronic charges, so it all goes back on the charger at the end of class.
Six to sort. Go.
How a team works
The LEGO building book splits each build four ways by minifigure color. Each of you picks a color and builds the steps marked with it. Nobody watches. On top of that, each person holds one job for the week.
Charges, powers on and pairs every motor and sensor. Puts them back on the charger at the end.
Keeps the team's notes: every input, every output, every change you made and why.
Drives the computer tomorrow. Reads the code out loud so the whole team can follow it.
Runs every trial, counts, measures, and calls it when something does not work the way we predicted.
LEGO lesson 1 · Basics · Restaurant Rookie
A new robot just started work at a restaurant and nobody gave it instructions. Your job is to figure out how it works by watching what it does with each input.
Copy this into your notebook. Fill it in as you test.
| Color shown (input) | What the robot did (output) |
|---|---|
Our delivery sequence:
Build & test
Input: information that goes into a system (the color the sensor sees). Output: what the system does in response (the motor turning). Sequence: steps done in a specific order. Change the order, and you change the result.
Your robot, your way
The building book was the warm-up. Pick a kind of robot, or invent one. There is no wrong answer here as long as it uses a motor, the color sensor and one connection card. You will keep improving this robot tomorrow and use it for Friday's lab, so build it sturdy.
Start with: the double motor, two wheels, a frame. Add: the color sensor facing down or forward.
Question to answer: what does your rover do when it sees each color? Write the input → output pair for every color you try.
Start with: the single motor as the shoulder. Build a long beam out from it. Add: the color sensor as the trigger.
Question to answer: how far does your arm swing for each color? Can you make it stop at the same spot twice?
Start with: one motor pointing up with something balanced on top. Add: the color sensor.
Question to answer: which color input makes it spin the fastest? Which one stops it?
Start with: the color sensor where a brick can pass in front of it. Add: a motor that pushes or tips the brick one way or the other.
Question to answer: can you get every red brick to land in one pile? (You will finish this one with code tomorrow.)
Start with: the double motor turning two cranks. Legs hang from the cranks. Add: the color sensor as its eyes.
Question to answer: does it walk straight? What would you change to fix it?
The only rules: it has to use at least one motor, the color sensor, and one connection card, and it has to come apart and go back in the box at the end of class.
Question to answer: what is the input, and what is the output? Sketch it in your notebook first.
Build the frame first and test it with your hand before you add anything else. A robot that wobbles gives you bad data on Friday.
Exit ticket
Before class: charge every motor, sensor and controller (each charges over USB-C; plan on about 45 minutes from empty). Practice pairing with a connection card once yourself. One connection card color per team so neighboring teams do not cross-pair.
LEGO material: Teacher Portal → Computer Science & AI 6–8 → Unit 1 Basics → 01 Restaurant Rookie (Lesson ID C101). Building instructions C1, page 8. No computer needed. The portal has the classroom presentation and facilitation notes with a built-in timer.
Where to look: students should say input for the color the sensor detects and output for the motor's behavior. The color–behavior pairs are built into the hardware; collect them on the board as teams find them.
Clean-up matters: plan the last three minutes for sorting and charging. A kit that goes back half-charged costs tomorrow's lesson ten minutes.
Standards. Science and engineering practices, all three courses (strand 1): ask questions and define problems; plan and conduct investigations and use engineering practices to design solutions; use appropriate tools; develop and use models (P.1, C.1, IPC.1). Computer science, CSTA grades 6–8: 2-CS-02 design projects that combine hardware and software components to collect and exchange data; 2-AP-13 decompose problems into parts.
Next class · Thursday
Tomorrow you stop using the built-in behavior and write your own.