In the "Sensors and Data" section, you'll learn about sensors in mechatronics. We'll use the BBC micro:bit and Maqueen robot to explore how sensors work and how to use them. You'll write programs that read sensor data and make things happen based on that data. By the end of this unit, you'll understand how sensors help machines interact with the world around them.
Learn about different types of sensors and how they work. Explore examples of sensors in everyday life and mechatronics.
Make a digital compass using the micro:bit. Learn how to use the magnetometer to create a working compass.
Create a simple thermostat with the micro:bit. Use the temperature sensor to make a system that responds to temperature changes.
Use the micro:bit's tilt sensor to control a dot on the screen. Learn how to change sensor numbers into useful information.
Create a night light that turns on automatically when it's dark. Use the micro:bit's light sensor to make this work.
Make the Maqueen robot beep and change colors when it gets close to objects. Use the distance sensor to detect nearby things.