Flickering Light With Buzzer

by Evan Biggs in Circuits > Arduino

36 Views, 0 Favorites, 0 Comments

Flickering Light With Buzzer

IMG_2650.JPG

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

Wire the Bread Board

Wire up the bread board and the Arduino

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

pin 13 to positive side of the LED and the buzzer

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

Code

Screenshot 2024-09-03 112348.png

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