Faire un Mini LED Sirène alimentée par Arduino

This is one of the first projects I have made with Arduino. It’s a little siren with a LED that fades and blinks on and off. It demonstrates basic use of LEDs and speakers. Also check out this article: 8-Pin Programming Shield

Constructive criticism is appreciated!

Let’s get started!

Arduino Mini LED Siren

 

Step 2: Solder jumper wires to the button and speaker

Fire up your soldering iron and attach wires to each of leads on the button and the speaker. The picture shows mine when I was done.

Step 3: Drill a hole in the table tennis ball

Grab your dremel and drill a hole in the bottom of the ping pong ball. Make it large enough for the LED bulb to fit inside.

Step 4: Wiring it up

Get power to the breadboard:
Run a jumper wire from the Arduino GND pin to a breadboard “-” row.
Run a jumper wire from the Arduino 3.3v pin to a breadboard “+” row.

Wire the button:
Run one of the buttons wires to anywhere on the breadboard’s “+” row.
Run the other wire to an empty column on the breadboard.
Run a resistor from the button wire column to an empty column.
Run a wire from the resistor column to Arduino pin 7.

Wire the LED:
Stick the LED on to the breadboard. Slide each pin into a different column.
Run a wire from the positive LED column to Arduino pin 5.
Run a wire from the negative LED column to breadboard “-” row.

Major Components in Project

Materials & Tools

Fist off, gather your materials and tools. I am assuming that you known the basics of Arduino and how to solder.

Materials:
Arduino Uno
USB cable for the Arduino (sometimes called a printer cable)
solderless breadboard
breadboard jumper wires
LED (Any color)
-A small resistor or two.
small speaker (I found one for $2 at a thrift store)
Ping pong ball

Tools:
soldering iron
electrical solder
pliers


A Propos De L'Auteur

Ibrar Ayyub

Je suis expérimenté, rédacteur technique, titulaire d'une Maîtrise en informatique de BZU Multan, Pakistan à l'Université. Avec un arrière-plan couvrant diverses industries, notamment en matière de domotique et de l'ingénierie, j'ai perfectionné mes compétences dans la rédaction claire et concise du contenu. Compétent en tirant parti de l'infographie et des diagrammes, je m'efforce de simplifier des concepts complexes pour les lecteurs. Ma force réside dans une recherche approfondie et de présenter l'information de façon structurée et logique format.

Suivez-Nous:
LinkedinTwitter

Laisser un Commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *

fr_FRFrench
Faire défiler vers le Haut