{"id":2378,"date":"2023-07-31T11:26:39","date_gmt":"2023-07-31T11:26:39","guid":{"rendered":"https:\/\/vegaprocessors.in\/blog\/?p=2378"},"modified":"2023-09-18T10:02:05","modified_gmt":"2023-09-18T10:02:05","slug":"how-to-interface-bfd-1000-5-channel-tracking-sensor-with-aries-v2-0","status":"publish","type":"post","link":"https:\/\/vegaprocessors.in\/blog\/how-to-interface-bfd-1000-5-channel-tracking-sensor-with-aries-v2-0\/","title":{"rendered":"How to interface BFD-1000 5 channel Tracking Sensor with VEGA ARIES boards"},"content":{"rendered":"\n<p>In this tutorial, we will see how we can interface a Xcluma BFD-1000 5 channel Tracking Sensor with ARIES V2 board.&nbsp;This tracking sensor is mainly used with line follower robots for complex black and white line tracking.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Specifications<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/bfd1000.png\" alt=\"\" class=\"wp-image-2379\" style=\"width:367px;height:240px\" width=\"367\" height=\"240\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/bfd1000.png 817w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/bfd1000-300x196.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/bfd1000-768x503.png 768w\" sizes=\"auto, (max-width: 367px) 100vw, 367px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-table is-style-stripes\"><table><tbody><tr><td>Input voltage<\/td><td>3.0-5.5V<\/td><\/tr><tr><td>Output Type<\/td><td>Digital output (high and low)<\/td><\/tr><tr><td>Detecting distance<\/td><td>0-4cm (black line sensor) 0-5cm (adjustable distance detection)<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Circuit Diagram<\/h2>\n\n\n\n<p>The&nbsp;<strong>BFD-1000 5 channel tracking sensor<\/strong>&nbsp;has nine pins: VCC, GND,CLP,Near and S1-S5. Connect VCC and GND of tracking sensor module to 3.3V and GND respectively of ARIES v2 board. Then connect the S1 to S5 pin of the tracking sensor to the GPIO-0 to GPIO-4 pin of ARIES v2 board for getting the digital output.<\/p>\n\n\n\n<figure class=\"wp-block-table is-style-stripes\"><table><tbody><tr><td><strong>BFD-1000 Sensor<\/strong><\/td><td><strong>ARIES V2 board<\/strong><\/td><\/tr><tr><td>VCC<\/td><td>3.3V<\/td><\/tr><tr><td>GND<\/td><td>GND<\/td><\/tr><tr><td>S1<\/td><td>GPIO-0<\/td><\/tr><tr><td>S2<\/td><td>GPIO-1<\/td><\/tr><tr><td>S3<\/td><td>GPIO-2<\/td><\/tr><tr><td>S4<\/td><td>GPIO-3<\/td><\/tr><tr><td>S5<\/td><td>GPIO-4<\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\"><em><strong>Connection pins of BFD-1000 5 channel tracking sensor Module &amp; ARIES v2.0 Board<\/strong><\/em><\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Components Required<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>ARIES v2 Microcontroller<\/li>\n\n\n\n<li>BFD-1000 5 channel tracking sensor<\/li>\n\n\n\n<li>Jumper wires<\/li>\n<\/ul>\n\n\n\n<p><strong>Not<\/strong><strong>e:<\/strong>&nbsp;All of the following boards can be used for this project<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/vegaprocessors.in\/devboards\/ariesv2.php\">ARIES v2.0<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/vegaprocessors.in\/devboards\/ariesv3.php\">ARIES v3.0<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/vegaprocessors.in\/devboards\/ariesmicro.php\">ARIES Micro<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/vegaprocessors.in\/devboards\/ariesdot.php\">ARIES DOT<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/vegaprocessors.in\/devboards\/ariesiot.php\">ARIES IoT<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Connection Diagram<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"567\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/bfddiagram-1-1024x567.png\" alt=\"\" class=\"wp-image-2381\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/bfddiagram-1-1024x567.png 1024w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/bfddiagram-1-300x166.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/bfddiagram-1-768x425.png 768w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/bfddiagram-1.png 1230w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\"><strong><em>Connection diagram for BFD-1000 tracking sensor<\/em><\/strong> <em><strong>with ARIES v2.0<\/strong><\/em><\/figcaption><\/figure>\n\n\n\n<p>Now, for powering up the ARIES v2 board via the 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 UART-0 port of the ARIES v2 board, and the Laptop\/Desktop\/PC should be preinstalled with Arduino IDE and VEGA ARIES boards of latest version.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Procedure<br><\/h2>\n\n\n\n<p>Open Arduino IDE<\/p>\n\n\n\n<p>Go to Tools -&gt; Board -&gt; VEGA Processor ARIES Boards -&gt; Select ARIES v2<\/p>\n\n\n\n<p>Go to Tools -&gt; Programmer -&gt; Select VEGA XMODEM<\/p>\n\n\n\n<p>Connect the ARIES v2 board to PC<\/p>\n\n\n\n<p>Go to Tools -&gt; Port -&gt; Select the appropriate port<\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/toolMenu.png\" alt=\"ARIES board selection from Tool Menu\" class=\"wp-image-2289\" style=\"width:431px;height:279px\" width=\"431\" height=\"279\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/toolMenu.png 976w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/toolMenu-300x195.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/toolMenu-768x498.png 768w\" sizes=\"auto, (max-width: 431px) 100vw, 431px\" \/><\/figure>\n\n\n\n<p>Open File -&gt; Examples -&gt; Examples for ARIES v2 -&gt;GPIO -&gt; Open&nbsp;<strong>BFD1000_Tracking_Sensor<\/strong>&nbsp;example<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/bfdex.png\" alt=\"\" class=\"wp-image-2383\" style=\"width:429px;height:324px\" width=\"429\" height=\"324\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/bfdex.png 859w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/bfdex-300x227.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/bfdex-768x582.png 768w\" sizes=\"auto, (max-width: 429px) 100vw, 429px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Output<\/h2>\n\n\n\n<p>Once you\u2019ve completed the code, upload it to your ARIES v2.0 board using the Arduino IDE.&nbsp;Wait until the program is uploaded. After completing the uploading the program will start to execute. Show the sensor near any black surface and it will detect the black surfaces easily using the 5 digital pins available. Here i have kept the sensor on a black box to show the output as shown in the below figure.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/bfdFig-1-1024x619.png\" alt=\"\" class=\"wp-image-2390\" style=\"width:556px;height:335px\" width=\"556\" height=\"335\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/bfdFig-1-1024x619.png 1024w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/bfdFig-1-300x181.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/bfdFig-1-768x464.png 768w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/bfdFig-1.png 1247w\" sizes=\"auto, (max-width: 556px) 100vw, 556px\" \/><\/figure>\n\n\n\n<p>If all the 5 digital out pins (S1-S5) detects black line then you can see the output as &#8220;All sensors detected black line&#8221; in the serial monitor. Along with that corresponding internal LED associated with the digital pins in the sensor will also glow. Otherwise it will show which digital output pins detected black surface and only corresponding LED will be glowing in the sensor. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/bfdOp-2.png\" alt=\"\" class=\"wp-image-2388\" style=\"width:619px;height:312px\" width=\"619\" height=\"312\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/bfdOp-2.png 967w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/bfdOp-2-300x152.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/bfdOp-2-768x388.png 768w\" sizes=\"auto, (max-width: 619px) 100vw, 619px\" \/><\/figure>\n\n\n\n<p><br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, we will see how we can interface a Xcluma BFD-1000 5 channel Tracking Sensor with ARIES V2 board.&nbsp;This tracking sensor is mainly used with line follower robots for complex black and white line tracking. Specifications Input voltage 3.0-5.5V Output Type Digital output (high and low) Detecting distance 0-4cm (black line sensor) 0-5cm [&hellip;]<\/p>\n","protected":false},"author":13,"featured_media":2390,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[75,93,76,68,31,24],"class_list":["post-2378","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-aries-v2-board","tag-ariesarduino","tag-c-dac","tag-gpio","tag-thejas32","tag-vegaprocessor"],"_links":{"self":[{"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/posts\/2378","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=2378"}],"version-history":[{"count":6,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/posts\/2378\/revisions"}],"predecessor-version":[{"id":3308,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/posts\/2378\/revisions\/3308"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/media\/2390"}],"wp:attachment":[{"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/media?parent=2378"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/categories?post=2378"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/tags?post=2378"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}