At the end of this tutorial you should be:
1) Able to connect the BMP180 Sensor and Servo to Arduino Uno
2) Able to compile and upload the source code
3) Able to connect the servo to Arduino Board
4) Able to use temperature data to move the servo
4) Able to use If else condition.
If .. else Structure:
if (Condition)
}
Statement
{
else
{
Statement
}
HARDWARE:
1) Arduino Uno Board
2) BMP180 Sensor
3) Servo
4) Jumper Wire
5) Breadboard
Servo Connection:
Brown --> GND (-)
Red --> 5V (+)
Yellow --> PIN 6 (Signal)
Please refer to your Manual on how to verify and upload code to Arduino Board.
You can download the source code using the link below
https://drive.google.com/open?id=0B3cfm_LV09b5OFo1bzY4eGVxMmc