{"id":2638,"date":"2023-08-23T06:11:51","date_gmt":"2023-08-23T06:11:51","guid":{"rendered":"https:\/\/vegaprocessors.in\/blog\/?p=2638"},"modified":"2023-11-03T07:55:48","modified_gmt":"2023-11-03T07:55:48","slug":"interfacing-buzzer-with-aries-v3-0-board","status":"publish","type":"post","link":"https:\/\/vegaprocessors.in\/blog\/interfacing-buzzer-with-aries-v3-0-board\/","title":{"rendered":"Interfacing Buzzer with ARIES v3.0 board"},"content":{"rendered":"\n<p>In this tutorial, we will see how we can interface Buzzer with ARIES v3 board to turn volume of buzzer low-to-high and high-to-low repeatedly using pulse width modulation. Buzzer is a very small and compact 2-pin audio signalling device which can be used in applications like alarm devices, timers, train and confirmation of user input such as a mouse click or keystroke.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Buzzer<\/h2>\n\n\n\n<p>The buzzer is a sounding device that can convert electrical signals into sound signals. It is usually powered by DC voltage. According to different designs and uses, the buzzer can emit various sounds such as music, siren, buzzer, alarm, and electric bell.<\/p>\n\n\n\n<p>Buzzer here used is piezoelectric buzzer which uses the&nbsp;<strong>piezoelectric effect&nbsp;<\/strong>of the piezoelectric ceramics. It uses the pulse current to drive the vibration of the metal plate to generate sound.<\/p>\n\n\n\n<p>The buzzer can be used by simply powering it using a DC power supply ranging from 4V to 9V. A simple 9V battery can also be used, but it is recommended to use a regulated +5V or +6V DC supply.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"434\" height=\"381\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/b1-1.png\" alt=\"\" class=\"wp-image-2641\" style=\"width:190px;height:167px\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/b1-1.png 434w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/b1-1-300x263.png 300w\" sizes=\"auto, (max-width: 434px) 100vw, 434px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Prerequisites<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Windows 10 or above\/Linux (64 bit)<\/li>\n\n\n\n<li>Arduino IDE<\/li>\n\n\n\n<li><a rel=\"noreferrer noopener\" href=\"https:\/\/vegaprocessors.in\/devboards\/ariesv3.html\" target=\"_blank\">VEGA ARIES Board support package<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Components Required<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Piezo Buzzer<\/li>\n\n\n\n<li>ARIES v3.0 Board<\/li>\n\n\n\n<li>Jumper Wires<\/li>\n\n\n\n<li>USB type C to USB type A cable<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Circuit Diagram<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"677\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/buzzerpwm-1024x677.png\" alt=\"\" class=\"wp-image-2642\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/buzzerpwm-1024x677.png 1024w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/buzzerpwm-300x198.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/buzzerpwm-768x508.png 768w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/buzzerpwm.png 1107w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h5 class=\"wp-block-heading\"><strong><em>Connection Diagram for buzzer with ARIES v3.0<\/em><\/strong><\/h5>\n\n\n\n<p>The&nbsp;<strong>Buzzer<\/strong>&nbsp;has three pins: VCC, I\/O and GND. Connect VCC and GND of buzzer module to +3.3V and GND respectively of ARIES v3 board(Refer&nbsp;<a href=\"https:\/\/components101.com\/sites\/default\/files\/component_datasheet\/Buzzer%20Datasheet.pdf\">Buzzer datasheet<\/a>). Then connect the I\/O Pin of the Buzzer to the PWM-0 of ARIES v3 board.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Connections:<br><\/h2>\n\n\n\n<figure class=\"wp-block-table is-style-stripes\"><table><tbody><tr><td><strong>Buzzer<\/strong><\/td><td><strong>ARIES V2 board<\/strong><\/td><\/tr><tr><td>VCC<\/td><td>3.3V<\/td><\/tr><tr><td>I\/O<\/td><td>PWM-0<\/td><\/tr><tr><td>GND<\/td><td>GND<\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\"><em><strong>Connection pins of Buzzer &amp; ARIES v3.0 Board<\/strong><\/em><br><br>Once we are done with the connections, let\u2019s power up the ARIES v3 board via the USB port of a Laptop\/Desktop\/PC and burning the code into the ARIES v3 board, we have to use a USB type C to USB type A cable. The cable should be connected to UART-0 port of the ARIES v3 board, and the Laptop\/Desktop\/PC should be preinstalled with Arduino IDE and VEGA ARIES boards of latest version.<br><\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Procedure<\/h2>\n\n\n\n<p>Open and set up the Arduino IDE as described in&nbsp;<a href=\"https:\/\/vegaprocessors.in\/devboards\/ariesv3.php\" target=\"_blank\" rel=\"noreferrer noopener\">Getting Started with ARIES v3.0<\/a>.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Make sure you have selected\u00a0<strong>ARIES v3<\/strong>\u00a0Board from\u00a0<strong>Tools<\/strong>\u00a0->\u00a0<strong>Board<\/strong>\u00a0->\u00a0<strong>VEGA Processor: ARIES Boards<\/strong>\u00a0->\u00a0<strong>ARIES v3<\/strong><\/li>\n\n\n\n<li>Select <strong>Flash Mode -> Enabled<\/strong><\/li>\n\n\n\n<li>Select Programmer as VEGA FLASHER from\u00a0<strong>Tools<\/strong>\u00a0->\u00a0<strong>Programmer<\/strong>\u00a0->\u00a0<strong>VEGA FLASHER<\/strong><\/li>\n\n\n\n<li>Also select appropriate port from\u00a0<strong>Tools<\/strong>\u00a0->\u00a0<strong>Port<\/strong>\u00a0->\u00a0<strong>COM* (ARIES Board)<\/strong><\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"962\" height=\"630\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/11\/Screenshot-3-4.png\" alt=\"\" class=\"wp-image-4386\" style=\"aspect-ratio:1.5269841269841269;width:608px;height:auto\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/11\/Screenshot-3-4.png 962w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/11\/Screenshot-3-4-300x196.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/11\/Screenshot-3-4-768x503.png 768w\" sizes=\"auto, (max-width: 962px) 100vw, 962px\" \/><\/figure>\n\n\n\n<p>Now, Open&nbsp;<strong>Files<\/strong>&nbsp;-&gt;&nbsp;<strong>Examples<\/strong>&nbsp;-&gt; Under&nbsp;<strong>Examples for ARIES v3<\/strong>&nbsp;-&gt;&nbsp;<strong>PWM<\/strong>&nbsp;<strong>-&gt;PIEZOBuzzer_PWM<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"838\" height=\"937\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/send3.png\" alt=\"\" class=\"wp-image-2644\" style=\"width:406px;height:455px\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/send3.png 838w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/send3-268x300.png 268w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/send3-768x859.png 768w\" sizes=\"auto, (max-width: 838px) 100vw, 838px\" \/><\/figure>\n\n\n\n<p>Finally, let\u2019s&nbsp;<strong>Upload<\/strong>&nbsp;the code to ARIES v3 Board.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Output<\/h2>\n\n\n\n<p>Once the code is uploaded, the desired tone will be played through the buzzer.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"878\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/bzr-1-1024x878.png\" alt=\"\" class=\"wp-image-2713\" style=\"width:350px;height:300px\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/bzr-1-1024x878.png 1024w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/bzr-1-300x257.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/bzr-1-768x658.png 768w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/bzr-1.png 1072w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Demonstration<\/h2>\n\n\n\n<figure class=\"wp-block-video\"><video height=\"720\" style=\"aspect-ratio: 1280 \/ 720;\" width=\"1280\" controls src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/buzzerpwm.mp4\"><\/video><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\"><br><\/h4>\n\n\n\n<p><a href=\"https:\/\/vegaprocessors.in\/blog\/author\/karthika\/\"><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, we will see how we can interface Buzzer with ARIES v3 board to turn volume of buzzer low-to-high and high-to-low repeatedly using pulse width modulation. Buzzer is a very small and compact 2-pin audio signalling device which can be used in applications like alarm devices, timers, train and confirmation of user input [&hellip;]<\/p>\n","protected":false},"author":13,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[94,98],"tags":[95,7,70,77,31,24],"class_list":["post-2638","post","type-post","status-publish","format-standard","hentry","category-aries-with-arduinoide","category-training-2","tag-aries-v3-board","tag-cdac","tag-pwm","tag-thejas-32","tag-thejas32","tag-vegaprocessor"],"_links":{"self":[{"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/posts\/2638","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/comments?post=2638"}],"version-history":[{"count":12,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/posts\/2638\/revisions"}],"predecessor-version":[{"id":4387,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/posts\/2638\/revisions\/4387"}],"wp:attachment":[{"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/media?parent=2638"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/categories?post=2638"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/tags?post=2638"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}