{"id":4826,"date":"2026-09-10T14:15:30","date_gmt":"2026-09-10T08:45:30","guid":{"rendered":"https:\/\/vegaprocessors.in\/blog\/?p=4826"},"modified":"2026-09-10T14:15:30","modified_gmt":"2026-09-10T08:45:30","slug":"implementing-potentiometer-with-vega-aries-iot-board","status":"publish","type":"post","link":"https:\/\/vegaprocessors.in\/blog\/implementing-potentiometer-with-vega-aries-iot-board\/","title":{"rendered":"Implementing Potentiometer With Vega Aries IoT Board"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><br>This tutorial demonstrates the use of the onboard potentiometer available on the ARIES IoT Board. The potentiometer is a variable resistor that generates an adjustable analog voltage based on the position of its knob. This enables users to explore analog-to-digital conversion (ADC), user-controlled input, calibration techniques, and real-time control applications without requiring any external hardware connections.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Aries IoT v2.0 Board<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The ARIES IoT is a fully indigenous and a \u201cMade in India\u201d product to get started with basic microprocessor programming and embedded systems. This board is built upon a RISC-V ISA compliant VEGA Processor with easy-to-use hardware and software. For more details about ARIES IoT boards please refer to the <a href=\"https:\/\/vegaprocessors.in\/ariesiot.php\" data-type=\"link\" data-id=\"https:\/\/vegaprocessors.in\/ariesiot.php\">ARIES development boards and Ecosystem.<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"335\" height=\"214\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2026\/07\/iotboard-10.png\" alt=\"\" class=\"wp-image-4827\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2026\/07\/iotboard-10.png 335w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2026\/07\/iotboard-10-300x192.png 300w\" sizes=\"auto, (max-width: 335px) 100vw, 335px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Potentiometer<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The potentiometer is a variable resistor that allows users to generate adjustable analog voltage levels. By rotating the potentiometer knob, the output voltage changes, which can be read by the board&#8217;s ADC (Analog-to-Digital Converter). It is commonly used for learning analog input concepts, controlling parameters such as LED brightness, setting threshold values, and testing sensor-based applications without requiring external components.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"117\" height=\"144\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2026\/09\/potentiometer.png\" alt=\"\" class=\"wp-image-5068\" style=\"width:143px;height:auto\"\/><\/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\/Ubuntu 20.04 LTS or above<\/li>\n\n\n\n<li>Arduino IDE<\/li>\n\n\n\n<li>VEGA ARIES Board support package<\/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>ARIES IoT v2.0 Board<\/li>\n\n\n\n<li>USB type C cable<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Circuit Diagram<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">No external connections required to test this code. You can directly connect Aries IoT board through USB and upload the program.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"570\" height=\"1024\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2026\/07\/iotboardusb-7-570x1024.jpg\" alt=\"\" class=\"wp-image-4830\" style=\"aspect-ratio:0.5562484014874937;width:159px;height:auto\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2026\/07\/iotboardusb-7-570x1024.jpg 570w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2026\/07\/iotboardusb-7-167x300.jpg 167w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2026\/07\/iotboardusb-7-768x1381.jpg 768w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2026\/07\/iotboardusb-7-854x1536.jpg 854w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2026\/07\/iotboardusb-7-1139x2048.jpg 1139w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2026\/07\/iotboardusb-7-scaled.jpg 1424w\" sizes=\"auto, (max-width: 570px) 100vw, 570px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Procedure<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Setup VEGA Ecosystem<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Download and install <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\"><a href=\"https:\/\/www.arduino.cc\/en\/software\/\">Arduino IDE 2.3.10<\/a><\/mark><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Once installed Open Arduino IDE<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Open <strong>File-&gt;Preferences<\/strong>, Add below JSON in \u201cAdditional Boards Manager URL\u201d, Press OK<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/gitlab.com\/riscv-vega\/vega-arduino\/-\/raw\/main\/package_vega_index.json\">https:\/\/gitlab.com\/riscv-vega\/vega-arduino\/-\/raw\/main\/package_vega_index.json<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"798\" height=\"529\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2026\/07\/preference-6.png\" alt=\"\" class=\"wp-image-4831\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2026\/07\/preference-6.png 798w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2026\/07\/preference-6-300x199.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2026\/07\/preference-6-768x509.png 768w\" sizes=\"auto, (max-width: 798px) 100vw, 798px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Open<strong> Tools-&gt;Boards-&gt;Board manager<\/strong>, Search for &#8220;vega&#8221;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Install \u201cVEGA ARIES Boards\u201d with latest version<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"587\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2026\/07\/boardmanagercommon-4-1024x587.png\" alt=\"\" class=\"wp-image-4832\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2026\/07\/boardmanagercommon-4-1024x587.png 1024w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2026\/07\/boardmanagercommon-4-300x172.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2026\/07\/boardmanagercommon-4-768x440.png 768w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2026\/07\/boardmanagercommon-4.png 1281w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Select <strong>ARIES IoT<\/strong> Board from <strong>Tools -&gt; Board -&gt; VEGA Processor: ARIES Boards -&gt; ARIES IoT<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"629\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2026\/07\/iotboardselectcommon-5-1024x629.png\" alt=\"\" class=\"wp-image-4833\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2026\/07\/iotboardselectcommon-5-1024x629.png 1024w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2026\/07\/iotboardselectcommon-5-300x184.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2026\/07\/iotboardselectcommon-5-768x472.png 768w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2026\/07\/iotboardselectcommon-5.png 1136w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Check your ARIES board whether the <strong>BOOT SEL<\/strong> pin is shorted using a jumper or not.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1280\" height=\"770\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2026\/07\/bootseliot-5-edited.jpg\" alt=\"\" class=\"wp-image-4835\" style=\"aspect-ratio:1.6623239084256476;width:260px;height:auto\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2026\/07\/bootseliot-5-edited.jpg 1280w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2026\/07\/bootseliot-5-edited-300x180.jpg 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2026\/07\/bootseliot-5-edited-1024x616.jpg 1024w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2026\/07\/bootseliot-5-edited-768x462.jpg 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">If<br>BOOT-SEL jumper (J12) is shorted :<br>Select <strong>Tools<\/strong> -&gt;&nbsp;<strong>Upload method<\/strong>&nbsp;-&gt;&nbsp;<strong>VEGA FLASHER<\/strong><br>Else<br>Select <strong>Tools<\/strong> -&gt;&nbsp;<strong>Upload method<\/strong>&nbsp;-&gt;&nbsp;<strong>VEGA XMODEM<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here the BOOT SEL pin is shorted, so we have selected <strong>VEGA FLASHER<\/strong> from <strong>Upload method<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"625\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2026\/07\/flasherselectcommon-5-1024x625.png\" alt=\"\" class=\"wp-image-4836\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2026\/07\/flasherselectcommon-5-1024x625.png 1024w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2026\/07\/flasherselectcommon-5-300x183.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2026\/07\/flasherselectcommon-5-768x469.png 768w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2026\/07\/flasherselectcommon-5.png 1135w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Also select appropriate port from <strong>Tools -&gt; Port -&gt; COM*<\/strong> <strong>(ARIES Board) for windows and dev\/tty\/USB*(Aries Board) for ubuntu<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"825\" height=\"818\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2026\/07\/portselcommon-5.png\" alt=\"\" class=\"wp-image-4837\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2026\/07\/portselcommon-5.png 825w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2026\/07\/portselcommon-5-300x297.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2026\/07\/portselcommon-5-150x150.png 150w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2026\/07\/portselcommon-5-768x761.png 768w\" sizes=\"auto, (max-width: 825px) 100vw, 825px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Now, Open <strong>Files -&gt; Examples<\/strong> -Under <strong>Examples for ARIES IoT -&gt; VEGA_ARIES_IoT -&gt; Potentiometer<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1099\" height=\"906\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2026\/07\/potentiometereg-1.png\" alt=\"\" class=\"wp-image-4840\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2026\/07\/potentiometereg-1.png 1099w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2026\/07\/potentiometereg-1-300x247.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2026\/07\/potentiometereg-1-1024x844.png 1024w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2026\/07\/potentiometereg-1-768x633.png 768w\" sizes=\"auto, (max-width: 1099px) 100vw, 1099px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Finally <strong>Upload<\/strong> the code to ARIES IoT board<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Output<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">After uploading the program to the VEGA ARIES IoT Board and opening the Serial Monitor at 115200 baud, the board continuously reads the analog voltage generated by the onboard potentiometer. As the potentiometer knob is turned, the analog input value changes, producing ADC readings ranging from 0 to 4095. When the potentiometer shaft is turned fully in one direction, 0 V is applied to the input pin and the ADC reads 0. When the shaft is turned fully in the opposite direction, 3.3 V is applied to the input pin and the ADC reads 4095.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"145\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2026\/07\/potentiometeroutput-1024x145.png\" alt=\"\" class=\"wp-image-4842\" style=\"aspect-ratio:7.061790849523963\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2026\/07\/potentiometeroutput-1024x145.png 1024w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2026\/07\/potentiometeroutput-300x43.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2026\/07\/potentiometeroutput-768x109.png 768w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2026\/07\/potentiometeroutput-1536x218.png 1536w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2026\/07\/potentiometeroutput.png 1848w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>This tutorial demonstrates the use of the onboard potentiometer available on the ARIES IoT Board. The potentiometer is a variable resistor that generates an adjustable analog voltage based on the position of its knob. This enables users to explore analog-to-digital conversion (ADC), user-controlled input, calibration techniques, and real-time control applications without requiring any external hardware [&hellip;]<\/p>\n","protected":false},"author":15,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[94,97],"tags":[99,76,31,24],"class_list":["post-4826","post","type-post","status-publish","format-standard","hentry","category-aries-with-arduinoide","category-training","tag-aries-iot-v2-0-board","tag-c-dac","tag-thejas32","tag-vegaprocessor"],"_links":{"self":[{"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/posts\/4826","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\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/comments?post=4826"}],"version-history":[{"count":14,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/posts\/4826\/revisions"}],"predecessor-version":[{"id":5070,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/posts\/4826\/revisions\/5070"}],"wp:attachment":[{"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/media?parent=4826"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/categories?post=4826"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/tags?post=4826"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}