Professional Documents
Culture Documents
Aims: .......................................................................................................................................... 2
Exercise 1 :................................................................................................................................. 2
1. The required Hardware to make this assembly circuit works well. ................................ 2
2. The steps to be followed ................................................................................................. 2
3. The proposed assembly circuit /Diagram ....................................................................... 3
4. The corresponding Arduino code to your proposed diagram. ........................................ 4
Exercise 2 ................................................................................................................................... 4
1. The required Hardware to make this assembly circuit works well. ................................ 5
2. The steps to be followed ................................................................................................. 5
3. The proposed assembly circuit /Diagram ....................................................................... 6
4. The corresponding Arduino code to your proposed diagram. ........................................ 7
Exercise 3 :................................................................................................................................. 9
1. The required Hardware to make this assembly circuit works well. ................................ 9
2. The steps to be followed ............................................................................................... 10
3. The proposed assembly circuit /Diagram ..................................................................... 10
4. The corresponding Arduino code to your proposed diagram. ...................................... 11
Exercise 4 :............................................................................................................................... 12
1. The required Hardware to make this assembly circuit works well. .............................. 12
2. The steps to be followed ............................................................................................... 12
3. The proposed assembly circuit /Diagram ..................................................................... 13
4. The corresponding Arduino code to your proposed diagram. ...................................... 14
1
Aims:
• To use an Active Buzzer with the Vibration switch sensor
• To use the Temperature and Humidity Sensor and display the results in the console as
well as on the LCD.
• To use a flame sensor to detect Fire and alert people with a passive buzzer
• To use Holzer Sensor to detect the presence of a magnet.
Exercise 1 :
In this exercise we will need to use a vibration sensor (called also: shake switch) to make a
beep sound from a buzzer while we shake the breadboard.
2
3. The proposed assembly circuit /Diagram
3
4. The corresponding Arduino code to your proposed diagram.
Exercise 2
In this exercise we will need to use the temperature and humidity sensor and display the
results in the console as well as on the LCD.
4
1. The required Hardware to make this assembly circuit works well.
• Arduino uno
• Breadboard (or breadboard shield)
• Temperature and humidity sensor
• LCD Screen
• Resistor
• DIP switch
5
3. The proposed assembly circuit /Diagram
6
4. The corresponding Arduino code to your proposed diagram.
7
Exercise 3 :
In this exercise we will need to use a flame sensor to detect Fire and alert people with a passive
buzzer making a sound.
9
2. The steps to be followed
• First of all, we will use the TMP36 which is a temperature
• A voltage proportional to the ambient temperature.
• We will use the analog input 0 to measure the temperature sensors
• We will connect the buzzer to D12 on the Arduino card.
10
4. The corresponding Arduino code to your proposed diagram.
11
Exercise 4 :
In this exercise we will need to use a Holzer sensor to detect the presence of a magnet.
Whenever a magnet moves past this sensor, it can detect it. This sensor can be used to do a lot
of different things. For instance, if we need to detect a door closing;
12
3. The proposed assembly circuit /Diagram
13
4. The corresponding Arduino code to your proposed diagram.
14