Learn 2: Build and Calibrate
2. Attach the Color Sensor
In this mission we will use color to represent addresses. Our courier will identify house addresses by reading color markings on the road.
Let’s mount a color sensor :
- on the side of our robot, just behind the wheel and facing the floor,
- with the color sensor less than half an inch (1 cm) off the floor.
- Using the supplied connection cable, connect the sensor up to an I2C port on the front of the robot.
You will need to come up with a method of mounting the sensor that works for you. A combination of sensor mounts and LEGO blocks is good for this. However, you can also make one with craft materials if you prefer. We’ve provided images of a LEGO-based example below to give you an idea.