u4099 created page: Lesson4Week6 authored by Daniel Jung Moltzen's avatar Daniel Jung Moltzen
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
## Lab Notebook 3 ## Lab Notebook 3
**Date:** 26/02 2015 **Date:** 05/03 2015
**Group members participating:** Tine Hansen, Daniel Moltzen, Mads Eriksen, Lars Høeg **Group members participating:** Tine Hansen, Daniel Moltzen, Mads Eriksen, Lars Høeg
...@@ -21,12 +21,25 @@ Furthermore, we have an overall conclusion at the end of the notebook to summari ...@@ -21,12 +21,25 @@ Furthermore, we have an overall conclusion at the end of the notebook to summari
### Exercise 1 - Black White Detection ### Exercise 1 - Black White Detection
#### Goal #### Goal
To make a program that uses the class BlackWhiteSensor.java[1]. Furthermore test and investigate how well the BlackWhiteSensor.java[1] works.
#### Plan #### Plan
We will first mount the black and white sensor in the LEGO 9797 car. Afterwards will we make a program that uses and tests the class BlackWhiteSensor.java[1]. We will then measure the light values of black, white, grey and green.
#### Results #### Results
| "color" | Light Value |
| -------- | ----------- |
| Black | 39+-1 |
| White | 58+-1 |
| Grey | 55+-1 |
| Green | 47+-1 |
##### Table 1: Light values
#### Conclusion #### Conclusion
The BlackWhiteSensor.java[1] class has a built-in black and white calibrator. Meaning that we choose the value for black and white and thereby its threshold. When calibrating it stores the the value in a variable. As seen in the table, the sensor varies its detected values between -+1. The small change happens in relation to where the sensor is placed and how the light in that place is.
### Exercise 2 - Line Follower with Calibration ### Exercise 2 - Line Follower with Calibration
...@@ -54,7 +67,6 @@ Furthermore, we have an overall conclusion at the end of the notebook to summari ...@@ -54,7 +67,6 @@ Furthermore, we have an overall conclusion at the end of the notebook to summari
### Exercise 5 - PID Line Follower ### Exercise 5 - PID Line Follower
#### Goal #### Goal
To make a program that uses the class BlackWhiteSensor.java[1]. Furthermore test and investigate how well the BlackWhiteSensor.java[1] works.
#### Plan #### Plan
... ...
......