Simple Arduino Sound Board

By Alexsandar | 14 November 2017 | 81 Comments

In this experiment you will understand how a passive buzzer works and how you can create a simple Arduino sound board. Using some buttons and choosing a corresponding tone, you can create a melody! The parts that I've used are from Kuman ARDUINO UNO ATARTER KIT

Step 1: Parts Needed

You will need:
an Arduino board
a breadboard
an USB Cable
10 x Jumper wires
3 x Buttons (number of caps and buttons is optional)
3 x 10k ohm resistors

Step 2: Connecting the Buttons

Firstly, lets start with the buttons. For each button, choose one of it's sides. You will see 2 pins. The one on the left (you can swap them as well) connects to ground of the Arduino (through the breadboard) with a 10k resistor. Connect the same row to digital pin 2, 3 or 4 of the Arduino (can be configured in the code). The pin on the right side of each button connects to 5V. You can use the above picture for reference. Do these steps for all of your buttons.

Step 3: Connecting the Buzzer

So, on the top of the buzzer you can see a + symbol. It indicates the positive side of it. You need to connect the opposite end to ground and this one to digital pin 8 of the Arduino (can be changed later)

Step 4: Uploading and Modifying the Code

You can find the code of the project HERE. It's completely up to you on what you can modify - from the pin numbers to adding more buttons, but more importantly - you can change each individual tone. Here is a little explanation:
tone(buzzPin, 1000, 300); // Here is the Arduino tone function
buzzPin is the positive pin of the buzzer
1000 is the tone itself, in Hz (it can be anywhere from 31 all the way to 65535)
300 is the duration in ms (optional)

Step 5: Video

Here is a video of the project in action, creating a random melody.
August 19,2020 02:35
buy levitra: <a href=" ">levitra prescription</a> - levitra 20 mg levitra 20 mg
August 12,2020 23:40
<a href=" ">cbd hemp oil for sale</a> - cbd oil for sleep pure kana natural cbd oil
August 12,2020 02:23
<a href=" ">cbd oil</a> - nuleaf cbd oil how much cbd oil should i take
August 09,2020 03:25
cbd oil for cats: <a href=" ">cbd oil for sale</a>
August 07,2020 00:41
cbd oil amazon <a href=" ">best cbd capsules</a>
August 06,2020 02:53
best cbd oil on amazon <a href=" ">cbd cream for pain relief</a>
August 03,2020 12:14 - brand name wellbutrin cost
August 02,2020 15:05 - order wellbutrin online uk
August 01,2020 17:04 - paxil for menopause
July 28,2020 09:20 - viagra discount
July 27,2020 13:55
ed medications online canada <a href=" ">discount prescription drugs</a> buy prescription drugs from canada best over the counter erectile pill [url=]erectile dysfunction pills[/url] cialis at
July 27,2020 07:35
discount prescription drugs <a href=" ">erectile dysfunction pills</a> best over the counter erectile pill best pills for ed [url=]buy generic ed pills online[/url] purchasing cialis on the in
July 26,2020 12:03
erectile dysfunction treatment <a href=" ">erectile dysfunction pills</a> prescription drugs
July 25,2020 14:14
prescription drugs without doctor approval <a href=" ">buy generic ed pills online</a> prescription drugs without doctor approval buy prescription drugs without doctor [url=]erection pills[/ur
July 24,2020 15:51
cheap erectile dysfunction pills online <a href=" ">buy cheap prescription drugs online</a> best pills for ed
July 24,2020 07:31
prescription drugs online without doctor <a href=" ">ed medications online canada</a> online prescription for ed meds erectile dysfunction pills [url=]ed drugs online from canada[/url] free ci
July 24,2020 03:27
buy cheap prescription drugs online <a href=" ">best over the counter erectile pill</a> canada ed drugs how to get prescription drugs without doctor [url=]buy cheap prescription drugs online[/
July 23,2020 12:19
ed medications online canada <a href=" ">canada ed drugs</a> best over the counter erectile pill
July 22,2020 11:31 cheap erectile dysfunction pills online
July 22,2020 10:47
canada ed drugs <a href=" ">online prescription for ed meds</a> cheap pills online buy prescription drugs online [url=]erection pills[/url] canadien cialis
July 22,2020 10:18
ed drugs online from canada <a href=" ">buy prescription drugs without doctor</a> best ed pills generic ed pills [url=]cheap pills online[/url] price of cialis
July 21,2020 00:00
viagra vs cialis vs levitra: <a href=" ">buy cialis</a> buy tadalafil
July 20,2020 05:04
what are the side effects of cialis: <a href=" ">cialis coupon</a> mail order prescription drugs from canada cialis prices 20mg: [url=]mail order prescription drugs fro
July 20,2020 01:57
how to get cialis samples: <a href=" ">cialis coupon</a> generic cialis 20 mg tablets buy cialis online canadian: [url=]cialis coupon[/url] does viagra or cialis help w
July 19,2020 06:16
cost of cialis: <a href=" ">mail order prescription drugs from canada</a> generic cialis tadalafil 20mg
July 18,2020 13:12
cialis coupon: <a href=" ">generic cialis 20 mg tablets</a> cialis generic cialis maximum dosage: [url=]cialis generic[/url] normal dose cialis
July 18,2020 12:43
daily use cialis cost: <a href=" ">cialis money order</a> online pharmacy cialis 20 image: [url=]cialis generic[/url] average price cialis
July 18,2020 12:34
does medicaid cover cialis: <a href=" ">cialis generic</a> generic cialis cialis 20mg: [url=]generic cialis tadalafil 20mg[/url]
July 17,2020 11:06 best generic viagra websites generic viagra without subscription walmart: [url=]viagra generic[/url] female viagra
July 17,2020 04:58
cheap viagra <a href=" ">buy viagra</a> generic viagra pills generic viagra 100mg [url=]generic viagra pills[/url] viagra generic availability
July 17,2020 00:38
cheapest viagra <a href=" ">generic viagra pills</a> viagra viagra substitute: [url=]ed pills that work better than viagra[/url]
July 17,2020 00:06
cheapest viagra <a href=" ">viagra</a> buy viagra
July 16,2020 10:50
viagra vs cialis <a href=" ">when will viagra become generic</a> - generic viagra pills
July 16,2020 03:40 viagra pills generic viagra 100mg: [url=]viagra prices[/url] cheapest viagra
July 15,2020 11:10
how much does viagra cost <a href=" ">viagra prescription</a> - best generic viagra websites
July 15,2020 08:49
100mg viagra without a doctor prescription <a href=" ">sildenafil generic</a> viagra generic
July 15,2020 04:39
trial samples of viagra <a href=" ">viagra prices</a> generic viagra without a doctor prescription viagra single packs: [url=]viagra[/url]
July 14,2020 12:30
generic viagra available <a href=" ">viagra prices</a> - viagra prices
July 14,2020 11:48 viagra coupon viagra vs cialis vs levitra: [url=]viagra prescription[/url] viagra without doctor prescription
July 14,2020 02:08
100mg viagra without a doctor prescription <a href=" ">sildenafil generic</a> viagra viagra prices [url=]viagra coupons 75% off[/url] what does viagra do
July 13,2020 06:14
viagra cost per pill <a href=" ">viagra prices</a> buy viagra online
July 13,2020 01:33
female viagra pills <a href=" ">generic viagra prices</a> sildenafil generic
July 12,2020 07:22 generic viagra viagra on line [url=]viagra overnight[/url] what is viagra
July 11,2020 11:54
viagra vs cialis vs levitra <a href=" ">viagra overnight</a> - buy viagra
July 11,2020 08:42
viagra samples from pfizer <a href=" ">viagra prices</a> viagra prices
July 10,2020 23:30
viagra prescriptions over internet <a href=" ">viagra prescription</a> generic viagra prices
July 06,2020 03:53
<a href=" ">cialis coupon</a> - daily use cialis cost [url=]cialis generic[/url]
July 04,2020 21:09
cialis daily <a href=" ">cialis tadalafil</a> - how much does cialis cost at walmart [url=]cialis prices[/url]
July 04,2020 18:19 - samples of cialis [url=]cheap cialis[/url]
July 04,2020 17:54
cialis professional <a href=" ">cialis</a> cialis samples request:
July 04,2020 06:09
<a href=" ">cheap cialis</a> - cheapest cialis web prices [url=]cialis without doctor prescription[/url]
July 03,2020 12:29
cialis 20mg <a href=" ">cheap cialis</a> - normal dose cialis
July 02,2020 19:11
what is cialis <a href=" ">cialis tadalafil</a> - cialis coupon code [url=]cialis without doctor prescription[/url]
July 02,2020 18:37 - cost of cialis [url=]cialis without doctor prescription[/url]
July 02,2020 13:31
cialis prices <a href=" ">buy cialis</a> - cialis coupons
July 02,2020 06:33
switching from tamsulosin to cialis <a href=" ">cheap cialis</a> online cialis:
June 29,2020 13:12
how to take cialis <a href=" ">generic cialis</a> and <a href=" ">buy cialis online</a> and <a href="
June 29,2020 09:51
cialis money order <a href=" ">buy generic cialis</a> and <a href=" ">buy cialis</a> and <a href=" ">cialis 20mg</a> and <a h
June 29,2020 05:27
is generic cialis safe <a href=" ">cialis coupon</a>, <a href=" ">cialis coupon</a>, <a href="
June 28,2020 20:29
taking l-citrulline and cialis together <a href=" ">buy cialis</a> and <a href=" ">buy cialis online</a> and <a href="
June 27,2020 08:16
cialis coupons <a href=" ">cialis without doctor prescription</a> and <a href=" ">cialis without doctor prescription</a> and <a href=" http://www.abli
June 26,2020 16:25
cialis cost <a href=" ">generic cialis</a> and <a href=" ">cialis vs viagra</a> and <a href=" ">buy
June 26,2020 06:49 viagra without doctor prescription
June 26,2020 05:08
cialis price <a href=" ">cialis vs viagra</a> generic cialis
June 25,2020 11:29
how does cialis work <a href=" ">cialis</a> buy generic cialis
June 25,2020 07:12
cheap cialis <a href=" ">cialis vs viagra</a> cialis without doctor prescription
June 24,2020 03:43 buy cialis
June 23,2020 19:19
cialis 20 mg <a href=" ">buy generic cialis</a> buy generic cialis cheapest cialis <a href=>cialis vs viagra</a> viagra prices
June 23,2020 12:09
where to bay cialis (tadalafil) pills 80mg <a href=" ">viagra without doctor prescription</a> buy cialis
June 23,2020 05:26
daily use cialis cost <a href=" ">generic cialis</a> generic cialis
June 22,2020 12:30
pet meds without vet prescription <a href=>ed meds online</a> where can i buy female pink viagra in the u.k viagra buy forum
June 19,2020 16:49
viagra without doctor prescription <a href=" ">buy prescription drugs from india</a> online ed meds
June 19,2020 15:44
legal to buy prescription drugs without prescription <a href=" ">google viagra dosage recommendations</a> prescription without a doctor's prescription
March 25,2020 10:18
stepsis makes stepbro's viagra boner won't go away when to take viagra <a href=" #">generic viagra 100mg </a> erection video after taking viagra real female viagra prank took viagra and.have to tell my wife viag
March 19,2020 02:51
viagra generic buy viagra <a href=" #">buy viagra </a> viagra pills viagra pills viagra pills viagra generic <a href=>buy viagra </a> buy viagra buy viagra
March 11,2020 03:26
cheap viagra viagra 100mg <a href="">viagra online </a> viagra 100mg viagra 100mg bh88апрпhfa buy viagra generic viagra <a href=>buy viagra </a> viagra online generic viagra
highest rated canadian pharmac
December 02,2019 17:15
<a href="">online pharmacy canada</a> <a href=>rx online no prior prescription</a>
online pharmacy canada
November 02,2019 22:41
<a href="">best online international pharmacies</a> <a href=>prescription drugs online without</a>
canadian online pharmacy
October 30,2019 16:40
<a href="">prescriptions from canada without</a> <a href=>canadian pharmacies shipping to usa</a>
November 19,2017 11:42
dosage for cialis 20mg - buy cialis <a href="">generic cialis</a> non rx cialis
November 19,2017 04:55
i recommend info cialis - generic cialis online <a href="">generic cialis</a> cialis krankenkasse
Leave a Reply
Your email address will not be published.Required fields are marked. *
Name *
Email *
Popular blog