Introduction: Flickering Light With Buzzer

in this project i will be making a flickering light connected to a buzzer.

Supplies

1 buzzer

1 led

6 wires

1 potentiometer

1 resistor

1 breadboard

1 Arduino

Step 1: Wire the Bread Board

Wire up the bread board and the Arduino

Step 2:

wires 5v, GND and A 0 to the potentiometer.

Step 3:

pin 13 to positive side of the LED and the buzzer

Step 4:

connect the GND to resistor to the negative side of the LED and the negative side of the LED

Step 5: Code

I went to examples under the file tab and went to analog stick and that is how i got the code.