{"id":1301,"date":"2022-06-09T04:56:45","date_gmt":"2022-06-09T04:56:45","guid":{"rendered":"https:\/\/vegaprocessors.in\/blog\/?p=1301"},"modified":"2023-10-19T03:09:50","modified_gmt":"2023-10-19T03:09:50","slug":"buzzer-with-aries-v2-board","status":"publish","type":"post","link":"https:\/\/vegaprocessors.in\/blog\/buzzer-with-aries-v2-board\/","title":{"rendered":"Buzzer with ARIES V2 Board"},"content":{"rendered":"\n<p>In this tutorial, we will see how we can interface Buzzer with ARIES V2 board. Buzzer is a very small and compact 2-pin audio signaling 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 <strong>piezoelectric effect <\/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<div class=\"wp-block-image is-style-default\">\n<figure class=\"aligncenter size-medium is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"293\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2022\/06\/Screenshot-from-2022-06-06-14-57-11-300x293.png\" alt=\"\" class=\"wp-image-1304\" style=\"width:327px;height:319px\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2022\/06\/Screenshot-from-2022-06-06-14-57-11-300x293.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2022\/06\/Screenshot-from-2022-06-06-14-57-11-768x751.png 768w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2022\/06\/Screenshot-from-2022-06-06-14-57-11.png 772w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\"><strong>Circuit Diagram<\/strong><\/h2>\n\n\n\n<p>The <strong>Buzzer<\/strong> has three pins: VCC, I\/O and GND. Connect VCC and GND of buzzer module to +5V and GND respectively of ARIES v2 board(Refer <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 GPIO0 of ARIES v2 board.<\/p>\n\n\n\n<p>Now, for powering up the ARIES v2 board via USB port of a Laptop\/Desktop\/PC and burning the code into the ARIES v2 board, we have to use a micro USB type B to USB type A cable. The cable should be connected to <strong>UART0<\/strong> port of the ARIES v2 board, and the Laptop\/Desktop\/PC should be preinstalled with VEGA SDK and Toolchain.<\/p>\n\n\n\n<figure class=\"wp-block-table is-style-stripes\"><table class=\"has-white-background-color has-background\"><tbody><tr><td><strong>Buzzer<\/strong><\/td><td><strong>ARIES V2 board<\/strong><\/td><\/tr><tr><td>VCC<\/td><td>5V<\/td><\/tr><tr><td>I\/O <\/td><td>GPIO0<\/td><\/tr><tr><td>GND<\/td><td>GND<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"546\" height=\"377\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2022\/06\/BUZZER.png\" alt=\"\" class=\"wp-image-1336\" style=\"width:658px;height:454px\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2022\/06\/BUZZER.png 546w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2022\/06\/BUZZER-300x207.png 300w\" sizes=\"auto, (max-width: 546px) 100vw, 546px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Procedure<\/h2>\n\n\n\n<p>After setting up the toolchain and SDK path environments, clean the executable using <strong>make clean<\/strong> command.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd examples\/gpio\/buzzer_demo<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>make clean<\/code><\/pre>\n\n\n\n<p>Build the example program for Buzzer by using <strong>make<\/strong> command<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>make <\/code><\/pre>\n\n\n\n<p>Before transfering the built program to board, ensure that you have connected the UART0 connector of the board to the PC.<\/p>\n\n\n\n<p>Open a new terminal, execute the following command <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo minicom aries<\/code><\/pre>\n\n\n\n<p>Now you can see the minicom terminal opened and the board UART terminal is ready.<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"820\" height=\"689\" data-id=\"593\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2021\/05\/minicom-5.png\" alt=\"\" class=\"wp-image-593\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2021\/05\/minicom-5.png 820w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2021\/05\/minicom-5-300x252.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2021\/05\/minicom-5-768x645.png 768w\" sizes=\"auto, (max-width: 820px) 100vw, 820px\" \/><\/figure>\n<\/figure>\n\n\n\n<p>Use <strong>CTRL+A S<\/strong> to enter file sending menu and select <strong>xmodem<\/strong> by pressing <strong>Enter<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"615\" height=\"143\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2021\/04\/Screenshot-from-2021-04-30-16-14-03.png\" alt=\"\" class=\"wp-image-230\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2021\/04\/Screenshot-from-2021-04-30-16-14-03.png 615w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2021\/04\/Screenshot-from-2021-04-30-16-14-03-300x70.png 300w\" sizes=\"auto, (max-width: 615px) 100vw, 615px\" \/><\/figure>\n\n\n\n<p>In the next window, with <strong>Space bar<\/strong> select the <strong>buzzer_demo.bin<\/strong> file to be transferred. By pressing <strong>Enter<\/strong>, transfer process starts.<\/p>\n\n\n\n<p>Wait until the process is completed. The screen should display how much data has been transferred.<\/p>\n\n\n\n<p>After completing transfer the Program will start to execute.<\/p>\n\n\n\n<p>The <strong>beep sound<\/strong> with desired tone will be played through the buzzer.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, we will see how we can interface Buzzer with ARIES V2 board. Buzzer is a very small and compact 2-pin audio signaling device which can be used in applications like alarm devices, timers, train and confirmation of user input such as a mouse click or keystroke. Buzzer The buzzer is a sounding [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17,94],"tags":[75,82,7,68,81,77,26,24],"class_list":["post-1301","post","type-post","status-publish","format-standard","hentry","category-application-development","category-aries-with-arduinoide","tag-aries-v2-board","tag-buzzer","tag-cdac","tag-gpio","tag-piezoelectric","tag-thejas-32","tag-thejas-64","tag-vegaprocessor"],"_links":{"self":[{"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/posts\/1301","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\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/comments?post=1301"}],"version-history":[{"count":6,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/posts\/1301\/revisions"}],"predecessor-version":[{"id":4129,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/posts\/1301\/revisions\/4129"}],"wp:attachment":[{"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/media?parent=1301"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/categories?post=1301"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/tags?post=1301"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}