... | ... | @@ -22,7 +22,7 @@ The exercise was done during the first hour of our work, starting from half past |
|
|
We made a note of this as we later repeated some measurements and the lighting had changed substantially, which we made sure to take into consideration
|
|
|
when discussing them.
|
|
|
|
|
|
![Light at beginning of lab session](week3_pictures/IMG_2181.JPG)
|
|
|
![Light at beginning of lab session](https://gitlab.au.dk/LEGO/lego-kode/raw/master/week3_pictures/IMG_2181.JPG)
|
|
|
|
|
|
By moving the NXT around and placing its sensor over different colors we obtained the following readings:
|
|
|
|
... | ... | @@ -36,7 +36,7 @@ and therefore is a resonable estimate for the reading that our sensor should pic |
|
|
Alternatively we could just have measured a reading exactly on the white/black border and used this as a threshold. We however suspect that if there
|
|
|
had been more light in the room, our readings would have been higher and the threshold might be too low, or conversely too high if the room was darker.
|
|
|
|
|
|
![Obtaining the green reading](week3_pictures/IMG_2177.JPG "Green reading")
|
|
|
![Obtaining the green reading](https://gitlab.au.dk/LEGO/lego-kode/raw/master/week3_pictures/IMG_2177.JPG "Green reading")
|
|
|
|
|
|
### Exercise 2: Sensing different colors (floodlight off - ambient mode)
|
|
|
The lighting level was the same as in exercise 1, as the measurements for the two exercises were performed immediately after each other.
|
... | ... | |