Programming a robot with motion sensor

The children need to program the robot to stop using data from the added motion sensor:


First build your robot


Building Milo the robot


The drive train for Milo



Connecting the motor and sensor to the smart hub


Robot ready to be programmed to sense the environment in its path



Now to programming the behaviour we wish to achieve in our robot



Programming the movement of Milo in response to the sensor reading


Here the robot detects an obstacle in its path



Inviting others to observe what happens



Collecting information about the sensor


Writing about our findings


Milo the robot


%d bloggers like this: