Grade by GradeEssential student suppliesSign in
Applied Design, Skills, and Technologies · Design and Make: Grade 6 Designers, Makers and Coders

Robots and Power: Sense, Think, Act

BC ADST 6: robotics BC ADST 6: forms of energyAbout 45 minutes
Learning goals
  • I can explain that a robot senses, thinks and acts, and name its main parts.
  • I can plan a robot program using sensors, selection and repetition.
  • I can describe how devices transform energy from one form to another.

Words to know

robot
A machine that can carry out a complex series of actions automatically.
sensor
A part that gathers information about the robot's surroundings.
control system
The part that decides what the robot does, using its program.
effector
A part that does the work, such as a motor, wheel or gripper.
power
The rate at which energy is transformed, measured in watts.

What makes a robot a robot?

The B.C. curriculum describes a robot as a machine capable of carrying out a complex series of actions automatically. Robots have three main kinds of parts:

  • Sensors (sense): gather information about the surroundings, such as touch, light, distance, colour or sound.
  • Control system (think): a small computer running a program that decides what to do.
  • Effectors (act): do the work, such as motors, wheels, grippers, lights and speakers.

Robots are used to build cars, explore Mars, help surgeons, vacuum floors, sort recycling and milk cows on dairy farms, including farms in the Fraser Valley.

SENSEsensors gatherinformationTHINKcontrol systemdecidesACTeffectors dothe workActing changes what the robot senses next, so the loop repeats.
The sense, think, act loop.
RobotSensorControl (think)Effector
Robot vacuumBump and cliff sensorsIf it bumps, turnWheels, brushes
Automatic doorMotion sensorIf motion, open; wait; closeMotor that slides the door
Classroom line-followerLight or colour sensorIf dark, steer left; else steer rightTwo wheel motors
Mars roverCameras, distance sensorsPlans a safe pathWheels, robotic arm, drill
Examples of sensors, control and effectors in real robots.

Programming movement

The curriculum lists ways objects can move: straight line, back-and-forth, round-and-round, zigzag, fast and slow, and fixed distances in set patterns. You program these with motor blocks plus sequence, selection and repetition. Classroom platforms include VEX IQ, LEGO robotics kits and Cubelets.

Worked example

Programming an obstacle-avoiding robot

A Grade 6 Robotics team wants their robot to drive around the gym, avoiding walls and cones. It has a distance sensor on the front. Plan the program.

  1. Sense: read the distance sensor over and over.
  2. Think (selection): if the distance is less than 20 cm, an obstacle is close; else the path is clear.
  3. Act: if close, stop, back up for 1 second and turn right 90 degrees; else, drive forward.
  4. Repeat: put it all inside a forever loop so the robot keeps checking.
  5. Test and troubleshoot: at full speed it hit cones before stopping, so they changed one thing: the trigger distance to 30 cm. Then it stopped in time.

A forever loop with if distance < 30 cm then stop, back up, turn; else go forward. Testing showed the robot needed more room to stop at speed.

forever
if <(distance sensor) < 30 cm> then
stop motors
drive backward for 1 second
turn right 90 degrees
else
drive forward

The obstacle-avoiding program in visual-programming style.

Power technology: energy changes form

Robots, and every machine, run on energy. The curriculum lists many forms of energy: sound, thermal, elastic, nuclear, chemical, magnetic, mechanical, gravitational and electrical.

Energy is conserved: it cannot be created or destroyed, only changed from one form to another. Devices transform energy. A battery-powered robot changes chemical energy to electrical energy, then to mechanical energy in its motors. Some always becomes thermal energy (heat) and sound.

Power is how fast energy is transformed. It is measured in watts (W). One watt is one joule of energy each second, so a 10 W motor transforms 10 joules every second.

Chemicalin the batteryElectricalin the wiresMechanicalspinning motorsome becomes thermaland sound energyEnergy is not used up.It changes form.
Energy changes in a battery-powered robot.

Test sensors first

Before writing a whole program, show the sensor's reading on screen and move objects closer and farther. Knowing the real numbers helps you choose good conditions like "less than 30 cm".

Hands-on activity

Be the robot

  1. Work with a partner. One person is the robot (eyes closed, moving slowly in a clear, safe space). The other is the programmer.
  2. The programmer may only use commands: forward 1 step, turn left, turn right, stop, and "if you touch something, step back".
  3. Write a program to get the robot from one side of the room to a chair.
  4. Run it, find bugs, and fix them. Count your iterations.
  5. List the robot's sensors (hands), control system (brain) and effectors (legs).
Odd fact

The word robot comes from a 1920 Czech play called R.U.R. by Karel Capek. It comes from a Czech word meaning forced work.

Let's practise

1

What are the three main kinds of parts of a robot?

2

Is a wheel motor a sensor or an effector?

3

Name three things a sensor might detect.

4

A 20 W motor runs for 5 seconds. How many joules of energy does it transform?

5

What energy change happens in a flashlight?

6

Why put a robot's sensor check inside a forever loop?

More practice

1

Name four ways the curriculum says objects can move.

2

What does "energy is conserved" mean?

3

A wind-up toy: what energy change happens?

4

Which uses energy faster: a 60 W bulb or a 9 W LED bulb?

5

In the automatic door, what is the control system's rule?

Check your understanding

Quiz

1.

Which part of a robot decides what to do?

2.

A robot's gripper is a...

3.

A battery-powered motor changes...

4.

What is power?

For parents and teachers

How to help at home: Look for robots and sensors in daily life (automatic doors, robot vacuums, motion lights) and name the sense, think and act parts. Play "be the robot" with simple commands. Talk about energy changes in household devices, such as a toaster (electrical to thermal) or a fan (electrical to mechanical).

Common mistakes: Calling every machine a robot (a robot acts automatically), mixing up sensors and effectors, thinking energy gets used up instead of changing form, and writing a program without testing the sensor's real readings first.