You are on page 1of 4

WORKSHOP 3

Programming Buzzer and Photoresistor 1/3

1. Objectives

a. student can know how buzzer works.


b. Students can learn how to program buzzer and photoresistor on Arduino.
c. Students can analyze what happens to both components after programming.
2. Basic Theory

Figure 1. Buzzer
3. List of Tools and Materials
 Active Buzzer
 Arduino UNO
 Breadboard
 LED green
 LED red
 Jumper wires
 Photoresistor
 Resistor 10K Ohm x1
 Resistor 220 Ohm x2
4. Circuit Diagram
WORKSHOP 3

Programming Buzzer and Photoresistor 2/3

Figure 2. buzzer and photoresistor diagram

The diagram may look complex, but once you gather all the components together its
actually easy to follow.
You can choose to start as you like carefully placing the parts in the board as shown in
the picture. I recommend you start from left to right.
Cutting the jumping wires is really simple, measure the distance between the
connections to get the desired length for the wires.

5. Program
WORKSHOP 3

Programming Buzzer and Photoresistor 3/3

6. Steps
Here's a systematic breakdown of the steps you followed in the experiment:
1. Open the Arduino program.
2. Write the code to program the components, as described in step 5.
3. Set up the circuit using the components on the breadboard, following the
configuration shown in Figure 2.
4. Connect the breadboard to the Arduino.
WORKSHOP 3

Programming Buzzer and Photoresistor 4/3

5. Connect the circuit, which is already connected to the Arduino, to the laptop
using a USB cable.
6. Upload the code to the Arduino.
7. Save the Buzzer simulation circuit with the name "Project3"
8. Perform an analysis and draw conclusions based on the results of the
experiment.
Conclusion:

You might also like