In this project I will assume you have some very basic knowledge of electronics and uploading code to the Arduino. This is a really easy project so I'm sure you will not have any issues.
Step 1: Gather the Parts
For this project use an Arduino Uno micro controller connected to a solderless breadboard.
- 1 - Andruino
- 1 - Solderless Breadboard
- 3 - Resistors (220 Ohm)
- 1 - 8-ohm Mini Speaker
- 2 - 5mm LED Lights
- 3 - Short Jumper Wires (1 cm)
- 4 - Longer Jumper Wires (6 - 10 cm)
- 1 - USB Cable
Step 2: Setup the Circuit Board
First setup the breadboard to connect the two LEDs and one speaker as seen in the wiring diagram. Connect the small jumper from the ground to one row. On a second row connect a longer jumper cable and a resistor. The LED light or speaker will bridge these two rows. When connecting the LEDs, the positive leg (longer of the two wires coming out of the LED) should be connected to the line with the resistor and the negative leg will be on the grounded row.
Step 3: Connecting the Arduino
Now that you have the breadboard wired you will connect this to the Arduino. In the code we will be using output pins six and twelve for the LED lights and pin eight for the audio. Connect the two longer jumper wires with the LEDs inline to pin six and twelve on the Arduino. Connect the longer jumber wire with the speaker to pin eight. Finally, connect the GND pin to the ground bus at the top of the breadboard.
Step 4: Uploading the Code
--------------------------------------------------------------------------------------------------------------------------
2 Comments
Spot on with this article, I really think this website needs more attention. I'll probably be back to read more, thanks for the info.
ReplyDeletewholesale screen protectors
This comment has been removed by a blog administrator.
ReplyDelete