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.
TommyImmer
August 19,2020 02:35
buy levitra: <a href=" http://levph24.com/# ">levitra prescription</a> - levitra 20 mg levph24.com levitra 20 mg
GarlandDaymn
August 12,2020 23:40
<a href=" http://omtivacbd.org/# ">cbd hemp oil for sale</a> - cbd oil for sleep http://omtivacbd.org/ pure kana natural cbd oil
GarlandDaymn
August 12,2020 02:23
<a href=" http://omtivacbd.org/# ">cbd oil</a> - nuleaf cbd oil http://omtivacbd.org/ how much cbd oil should i take
ElbertHalge
August 09,2020 03:25
cbd oil for cats: <a href=" http://cbdoilforsalerate.com/# ">cbd oil for sale</a>
Alvincic
August 07,2020 00:41
cbd oil amazon <a href=" http://cbdoilforsalecoupon.com/# ">best cbd capsules</a>
Alvincic
August 06,2020 02:53
best cbd oil on amazon <a href=" http://cbdoilforsalecoupon.com/# ">cbd cream for pain relief</a>
Johnnygor
August 03,2020 12:14
http://wellbutrin100.com/ - brand name wellbutrin cost
Johnnygor
August 02,2020 15:05
http://wellbutrin100.com/ - order wellbutrin online uk
Johnnygor
August 01,2020 17:04
http://paxil100.com/ - paxil for menopause
Peterdourf
July 28,2020 09:20
https://viagrawithoutdoctorspres.com/ - viagra discount
HerbertKib
July 27,2020 13:55
ed medications online canada <a href=" http://stylid.org/# ">discount prescription drugs</a> http://stylid.org/# buy prescription drugs from canada best over the counter erectile pill [url=http://stylid.org/#]erectile dysfunction pills[/url] cialis at
TommyJat
July 27,2020 07:35
discount prescription drugs <a href=" http://stylid.org/# ">erectile dysfunction pills</a> http://stylid.org/# best over the counter erectile pill best pills for ed [url=http://stylid.org/#]buy generic ed pills online[/url] purchasing cialis on the in
Jerryweeft
July 26,2020 12:03
erectile dysfunction treatment <a href=" http://stylid.org/# ">erectile dysfunction pills</a> http://stylid.org/# prescription drugs
TommyJat
July 25,2020 14:14
prescription drugs without doctor approval <a href=" http://stylid.org/# ">buy generic ed pills online</a> http://stylid.org/# prescription drugs without doctor approval buy prescription drugs without doctor [url=http://stylid.org/#]erection pills[/ur
Jerryweeft
July 24,2020 15:51
cheap erectile dysfunction pills online <a href=" http://stylid.org/# ">buy cheap prescription drugs online</a> http://stylid.org/# best pills for ed
HerbertKib
July 24,2020 07:31
prescription drugs online without doctor <a href=" http://stylid.org/# ">ed medications online canada</a> http://stylid.org/# online prescription for ed meds erectile dysfunction pills [url=http://stylid.org/#]ed drugs online from canada[/url] free ci
TommyJat
July 24,2020 03:27
buy cheap prescription drugs online <a href=" http://stylid.org/# ">best over the counter erectile pill</a> http://stylid.org/# canada ed drugs how to get prescription drugs without doctor [url=http://stylid.org/#]buy cheap prescription drugs online[/
Jerryweeft
July 23,2020 12:19
ed medications online canada <a href=" http://stylid.org/# ">canada ed drugs</a> http://stylid.org/# best over the counter erectile pill
HenryZix
July 22,2020 11:31
http://stylid.org/# cheap erectile dysfunction pills online
TommyJat
July 22,2020 10:47
canada ed drugs <a href=" http://stylid.org/# ">online prescription for ed meds</a> http://stylid.org/# cheap pills online buy prescription drugs online [url=http://stylid.org/#]erection pills[/url] canadien cialis
HerbertKib
July 22,2020 10:18
ed drugs online from canada <a href=" http://stylid.org/# ">buy prescription drugs without doctor</a> http://stylid.org/# best ed pills generic ed pills [url=http://stylid.org/#]cheap pills online[/url] price of cialis
RobertSex
July 21,2020 00:00
viagra vs cialis vs levitra: <a href=" http://warrensburgfmc.org/# ">buy cialis</a> http://warrensburgfmc.org/# buy tadalafil
GeraldBague
July 20,2020 05:04
what are the side effects of cialis: <a href=" http://warrensburgfmc.org/# ">cialis coupon</a> http://warrensburgfmc.org/# mail order prescription drugs from canada cialis prices 20mg: [url=http://warrensburgfmc.org/#]mail order prescription drugs fro
Bryantak
July 20,2020 01:57
how to get cialis samples: <a href=" http://warrensburgfmc.org/# ">cialis coupon</a> http://warrensburgfmc.org/# generic cialis 20 mg tablets buy cialis online canadian: [url=http://warrensburgfmc.org/#]cialis coupon[/url] does viagra or cialis help w
RobertSex
July 19,2020 06:16
cost of cialis: <a href=" http://warrensburgfmc.org/# ">mail order prescription drugs from canada</a> http://warrensburgfmc.org/# generic cialis tadalafil 20mg
Bryantak
July 18,2020 13:12
cialis coupon: <a href=" http://warrensburgfmc.org/# ">generic cialis 20 mg tablets</a> http://warrensburgfmc.org/# cialis generic cialis maximum dosage: [url=http://warrensburgfmc.org/#]cialis generic[/url] normal dose cialis
HenryCarve
July 18,2020 12:43
daily use cialis cost: <a href=" http://warrensburgfmc.org/# ">cialis money order</a> http://warrensburgfmc.org/# online pharmacy cialis 20 image: [url=http://warrensburgfmc.org/#]cialis generic[/url] average price cialis
GeraldBague
July 18,2020 12:34
does medicaid cover cialis: <a href=" http://warrensburgfmc.org/# ">cialis generic</a> http://warrensburgfmc.org/# generic cialis cialis 20mg: [url=http://warrensburgfmc.org/#]generic cialis tadalafil 20mg[/url]
Bryantak
July 17,2020 11:06
https://wikigogy.org/# best generic viagra websites generic viagra without subscription walmart: [url=https://wikigogy.org/#]viagra generic[/url] female viagra
Wesleyrox
July 17,2020 04:58
cheap viagra <a href=" https://wikigogy.org/# ">buy viagra</a> https://wikigogy.org/# generic viagra pills generic viagra 100mg [url=https://wikigogy.org/#]generic viagra pills[/url] viagra generic availability
TimothyHam
July 17,2020 00:38
cheapest viagra <a href=" https://wikigogy.org/# ">generic viagra pills</a> https://wikigogy.org/# viagra viagra substitute: [url=https://wikigogy.org/#]ed pills that work better than viagra[/url]
RobertSex
July 17,2020 00:06
cheapest viagra <a href=" https://wikigogy.org/# ">viagra</a> https://wikigogy.org/# buy viagra
Josephdar
July 16,2020 10:50
viagra vs cialis <a href=" http://2xex.com/home.php?mod=space&uid=581781 ">when will viagra become generic</a> http://mlm-forum.ru/member.php?u=84043 - generic viagra pills
Bryantak
July 16,2020 03:40
https://wikigogy.org/# viagra pills generic viagra 100mg: [url=https://wikigogy.org/#]viagra prices[/url] cheapest viagra
Josephdar
July 15,2020 11:10
how much does viagra cost <a href=" https://wikigogy.org/# ">viagra prescription</a> https://wikigogy.org - best generic viagra websites
RobertSex
July 15,2020 08:49
100mg viagra without a doctor prescription <a href=" https://wikigogy.org/# ">sildenafil generic</a> https://wikigogy.org/# viagra generic
TimothyHam
July 15,2020 04:39
trial samples of viagra <a href=" https://wikigogy.org/# ">viagra prices</a> https://wikigogy.org/# generic viagra without a doctor prescription viagra single packs: [url=https://wikigogy.org/#]viagra[/url]
Josephdar
July 14,2020 12:30
generic viagra available <a href=" https://wikigogy.org/# ">viagra prices</a> https://wikigogy.org - viagra prices
Bryantak
July 14,2020 11:48
https://wikigogy.org/# viagra coupon viagra vs cialis vs levitra: [url=https://wikigogy.org/#]viagra prescription[/url] viagra without doctor prescription
Wesleyrox
July 14,2020 02:08
100mg viagra without a doctor prescription <a href=" https://wikigogy.org/# ">sildenafil generic</a> https://wikigogy.org/# viagra viagra prices [url=https://wikigogy.org/#]viagra coupons 75% off[/url] what does viagra do
Michaelkip
July 13,2020 06:14
viagra cost per pill <a href=" http://sildenafilst.org/# ">viagra prices</a> http://sildenafilst.org/# buy viagra online
SamuelFub
July 13,2020 01:33
female viagra pills <a href=" http://sildenafilst.org/# ">generic viagra prices</a> http://sildenafilst.org/# sildenafil generic
Haroldvioto
July 12,2020 07:22
http://sildenafilst.org/# generic viagra viagra on line [url=http://sildenafilst.org/#]viagra overnight[/url] what is viagra
Danielvioni
July 11,2020 11:54
viagra vs cialis vs levitra <a href=" http://sildenafilst.org/# ">viagra overnight</a> sildenafilst.org - buy viagra
Michaelkip
July 11,2020 08:42
viagra samples from pfizer <a href=" http://sildenafilst.org/# ">viagra prices</a> http://sildenafilst.org/# viagra prices
SamuelFub
July 10,2020 23:30
viagra prescriptions over internet <a href=" http://sildenafilst.org/# ">viagra prescription</a> http://sildenafilst.org/# generic viagra prices
WilliamPreag
July 06,2020 03:53
<a href=" http://tadalafilprof.com/# ">cialis coupon</a> http://tadalafilprof.com - daily use cialis cost [url=http://tadalafilprof.com]cialis generic[/url]
WilliamKer
July 04,2020 21:09
cialis daily <a href=" http://tadalafilprof.com/# ">cialis tadalafil</a> http://tadalafilprof.com - how much does cialis cost at walmart [url=http://tadalafilprof.com]cialis prices[/url]
ArthurEvexy
July 04,2020 18:19
http://tadalafilprof.com - samples of cialis [url=http://tadalafilprof.com]cheap cialis[/url]
JesusNer
July 04,2020 17:54
cialis professional <a href=" http://tadalafilprof.com/# ">cialis</a> cialis samples request: http://tadalafilprof.com
WilliamPreag
July 04,2020 06:09
<a href=" http://tadalafilprof.com/# ">cheap cialis</a> http://tadalafilprof.com - cheapest cialis web prices [url=http://tadalafilprof.com]cialis without doctor prescription[/url]
ShannonThare
July 03,2020 12:29
cialis 20mg <a href=" http://tadalafilprof.com/# ">cheap cialis</a> tadalafilprof.com - normal dose cialis
WilliamKer
July 02,2020 19:11
what is cialis <a href=" http://tadalafilprof.com/# ">cialis tadalafil</a> http://tadalafilprof.com - cialis coupon code [url=http://tadalafilprof.com]cialis without doctor prescription[/url]
ArthurEvexy
July 02,2020 18:37
http://tadalafilprof.com - cost of cialis [url=http://tadalafilprof.com]cialis without doctor prescription[/url]
ShannonThare
July 02,2020 13:31
cialis prices <a href=" http://tadalafilprof.com/# ">buy cialis</a> tadalafilprof.com - cialis coupons
JesusNer
July 02,2020 06:33
switching from tamsulosin to cialis <a href=" http://tadalafilprof.com/# ">cheap cialis</a> online cialis: http://tadalafilprof.com
JesusBak
June 29,2020 13:12
how to take cialis <a href=" http://zhjl.yanruismart.com/home.php?mod=space&uid=15695 ">generic cialis</a> and <a href=" http://abluntan.com/home.php?mod=space&uid=459577 ">buy cialis online</a> and <a href=" https://www.wixin.vip/home.php?mod=space&uid=7
DennisSmady
June 29,2020 09:51
cialis money order <a href=" http://www.tera-soft.net/user/umvrrjvb/ ">buy generic cialis</a> and <a href=" http://aqar.bezaat.com/member.php?644207-wvgvodqf ">buy cialis</a> and <a href=" https://cg213.com/space-uid-230040.html ">cialis 20mg</a> and <a h
MatthewMeavy
June 29,2020 05:27
is generic cialis safe <a href=" http://www.biandaowang.com/space-uid-99306.html ">cialis coupon</a>, <a href=" http://www.nptm.ru/phpBB2/profile.php?mode=viewprofile&u=2678806 ">cialis coupon</a>, <a href=" http://iapple.minfish.com/home.php?mod=space&ui
AnthonyGlymn
June 28,2020 20:29
taking l-citrulline and cialis together <a href=" http://688jh.cn/home.php?mod=space&uid=14897 ">buy cialis</a> and <a href=" http://www.6xcar.com/home.php?mod=space&uid=47246 ">buy cialis online</a> and <a href=" http://ycycn.net/home.php?mod=space&uid=2
LarryFlure
June 27,2020 08:16
cialis coupons <a href=" http://www.wxedu.com.cn/home.php?mod=space&uid=40685 ">cialis without doctor prescription</a> and <a href=" http://666weixiu.com/home.php?mod=space&uid=1483465 ">cialis without doctor prescription</a> and <a href=" http://www.abli
Jamesnok
June 26,2020 16:25
cialis cost <a href=" http://05509.top/home.php?mod=space&uid=1331966 ">generic cialis</a> and <a href=" http://www.xiangpopo.com/bbs/home.php?mod=space&uid=172161 ">cialis vs viagra</a> and <a href=" http://forum.muss3.vn/member.php?92782-edbpqyls ">buy
Jeromelip
June 26,2020 06:49
http://bestpricemedz.com/# viagra without doctor prescription
JeromeclAky
June 26,2020 05:08
cialis price <a href=" http://bestpricemedz.com/# ">cialis vs viagra</a> bestpricemedz.com generic cialis
RussellTed
June 25,2020 11:29
how does cialis work <a href=" http://bestpricemedz.com/# ">cialis</a> http://bestpricemedz.com/# buy generic cialis
JeromeclAky
June 25,2020 07:12
cheap cialis <a href=" http://bestpricemedz.com/# ">cialis vs viagra</a> bestpricemedz.com cialis without doctor prescription
Jeromelip
June 24,2020 03:43
http://bestpricemedz.com/# buy cialis
LarryFlure
June 23,2020 19:19
cialis 20 mg <a href=" http://bestpricemedz.com/# ">buy generic cialis</a> http://bestpricemedz.com/# buy generic cialis cheapest cialis <a href=http://bestpricemedz.com/#>cialis vs viagra</a> viagra prices
JeromeclAky
June 23,2020 12:09
where to bay cialis (tadalafil) pills 80mg <a href=" http://bestpricemedz.com/# ">viagra without doctor prescription</a> bestpricemedz.com buy cialis
Jamesnok
June 23,2020 05:26
daily use cialis cost <a href=" http://bestpricemedz.com/# ">generic cialis</a> bestpricemedz.com generic cialis
DanielNeets
June 22,2020 12:30
pet meds without vet prescription <a href=http://onlinepharmacyero.com/#>ed meds online</a> http://onlinepharmacyero.com where can i buy female pink viagra in the u.k viagra buy forum
MurrayUticy
June 19,2020 16:49
viagra without doctor prescription <a href=" http://onlinepharmacyero.com/# ">buy prescription drugs from india</a> onlinepharmacyero.com online ed meds
EliasOmicy
June 19,2020 15:44
legal to buy prescription drugs without prescription <a href=" http://onlinepharmacyero.com/# ">google viagra dosage recommendations</a> onlinepharmacyero.com prescription without a doctor's prescription
mfikwNopay
March 25,2020 10:18
stepsis makes stepbro's viagra boner won't go away when to take viagra <a href=" https://pharm-usa-official.com/# #">generic viagra 100mg </a> erection video after taking viagra real female viagra prank took viagra and.have to tell my wife viag
embewNopay
March 19,2020 02:51
viagra generic buy viagra <a href="http://bacsitre.com/ #">buy viagra </a> viagra pills viagra pills viagra pills viagra generic <a href=http://www.stmartinsschool.net/about-the-school/curriculum/>buy viagra </a> buy viagra buy viagra
tpdfnNopay
March 11,2020 03:26
cheap viagra viagra 100mg <a href="https://pharm-usa-official.com/#">viagra online </a> viagra 100mg viagra 100mg bh88апрпhfa buy viagra generic viagra <a href=https://pharm-usa-official.com/#>buy viagra </a> viagra online generic viagra
highest rated canadian pharmac
December 02,2019 17:15
<a href="http://canadianpharmaciesprofmeds.com/">online pharmacy canada</a> http://canadianpharmaciesprofmeds.com/ <a href=http://canadianpharmaciesprofmeds.com/>rx online no prior prescription</a>
online pharmacy canada
November 02,2019 22:41
<a href="http://canadianpharmaciesoffer.com/">best online international pharmacies</a> http://canadianpharmaciesoffer.com/ <a href=http://canadianpharmaciesoffer.com/>prescription drugs online without</a>
canadian online pharmacy
October 30,2019 16:40
<a href="http://canadianpharmaciesoffer.com/">prescriptions from canada without</a> http://canadianpharmaciesoffer.com/ <a href=http://canadianpharmaciesoffer.com/>canadian pharmacies shipping to usa</a>
GaponovaDop
November 19,2017 11:42
dosage for cialis 20mg http://cialisonlinehaq.com/ - buy cialis <a href="http://cialisonlinehaq.com/">generic cialis</a> non rx cialis
IgorDop
November 19,2017 04:55
i recommend info cialis http://cialisbuyhaq.com/ - generic cialis online <a href="http://cialisbuyhaq.com/">generic cialis</a> cialis krankenkasse
Leave a Reply
Your email address will not be published.Required fields are marked. *
Name *
Email *
Content
Popular blog
Categories