>In this lab session we will try to make two different self-balancing LEGO robots. In order to do this, we use 3 different sensors, which include a light-sensor, a color-sensor and an gyro-sensor. The exercises for this week, are as follows:
>In this lab session we will try to make two different self-balancing LEGO robots. In order to do this, we use 3 different sensors, which include a light-sensor, a color-sensor and an gyro-sensor. The exercises for this week, are as follows:
...
@@ -35,15 +35,11 @@
...
@@ -35,15 +35,11 @@
>
>
>
>
>#### Results
>#### Results
> We decided to test the light sensor under different settings. First we tested how it reads black and white values at different surfaces (plastic and paper) and under different light settings (dark and bright). As further investigation we tested how the sensor is able to detect dark green and light green. The findings from the light sensor tests are presented in the table below:
> After initial tests with the LEGO model suggested by Hurbain, we made a small change to the wheel assembly. We noticed that the motor power was different for each motor which made the robot turn slightly. We solved this by making a fixed axle between the two wheels as seen in (fig.2).
>
>
> | Black reading | White reading | Black White Difference | Black White Threshold| Dark Green reading | Light Green Reading | Green Difference| Green Threshold |