
{"id":5839,"date":"2024-06-26T07:05:09","date_gmt":"2024-06-26T07:05:09","guid":{"rendered":"http:\/\/dyor.roboticafacil.es\/?p=5839"},"modified":"2024-06-26T07:05:09","modified_gmt":"2024-06-26T07:05:09","slug":"english-dyor-darthbot","status":"publish","type":"post","link":"https:\/\/dyor.webs.upv.es\/en\/english-dyor-darthbot\/","title":{"rendered":"DYOR DarthBot"},"content":{"rendered":"<p>In this post I will explain DarthBot, the robot I have made for the mobile robotics subject at UPV. The robot is based on Dart Vader.<\/p>\n<p><!--more--><\/p>\n<h4><strong>Desing<\/strong><\/h4>\n<p>For the design, I have used a premade kit and I have modified it a bit adding a wood structure so that the wires and components are covered. The design made in SolidWorks and the real robot can be seen in these images:<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-5841 alignleft\" src=\"https:\/\/dyor.webs.upv.es\/wp-content\/uploads\/2021\/06\/Design-300x219.jpg\" alt=\"\" width=\"300\" height=\"219\" srcset=\"https:\/\/dyor.webs.upv.es\/wp-content\/uploads\/2021\/06\/Design-300x219.jpg 300w, https:\/\/dyor.webs.upv.es\/wp-content\/uploads\/2021\/06\/Design.jpg 567w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h4><\/h4>\n<p>&nbsp;<\/p>\n<h4><\/h4>\n<h4><\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-5840 alignleft\" src=\"https:\/\/dyor.webs.upv.es\/wp-content\/uploads\/2021\/06\/Robot-1-225x300.jpg\" alt=\"\" width=\"225\" height=\"300\" srcset=\"https:\/\/dyor.webs.upv.es\/wp-content\/uploads\/2021\/06\/Robot-1-225x300.jpg 225w, https:\/\/dyor.webs.upv.es\/wp-content\/uploads\/2021\/06\/Robot-1-769x1024.jpg 769w, https:\/\/dyor.webs.upv.es\/wp-content\/uploads\/2021\/06\/Robot-1-768x1023.jpg 768w, https:\/\/dyor.webs.upv.es\/wp-content\/uploads\/2021\/06\/Robot-1.jpg 975w\" sizes=\"auto, (max-width: 225px) 100vw, 225px\" \/><\/p>\n<h4><\/h4>\n<h4><\/h4>\n<h4><\/h4>\n<h4><\/h4>\n<h4><\/h4>\n<h4><\/h4>\n<h4><\/h4>\n<p style=\"color: #333333; font-weight: 400;\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-5842 alignleft\" src=\"https:\/\/dyor.webs.upv.es\/wp-content\/uploads\/2021\/06\/Robot-2-300x225.jpg\" alt=\"\" width=\"300\" height=\"225\" srcset=\"https:\/\/dyor.webs.upv.es\/wp-content\/uploads\/2021\/06\/Robot-2-300x225.jpg 300w, https:\/\/dyor.webs.upv.es\/wp-content\/uploads\/2021\/06\/Robot-2-1024x769.jpg 1024w, https:\/\/dyor.webs.upv.es\/wp-content\/uploads\/2021\/06\/Robot-2-768x576.jpg 768w, https:\/\/dyor.webs.upv.es\/wp-content\/uploads\/2021\/06\/Robot-2.jpg 1299w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h4><\/h4>\n<h4><\/h4>\n<h4><\/h4>\n<h4><\/h4>\n<h4><\/h4>\n<h4><strong>Compo<\/strong><strong style=\"color: #222222;\">nents<\/strong><\/h4>\n<p>The materials used are the ones included in the kit.<\/p>\n<ul>\n<li>Arduino Nano<\/li>\n<li>I\/O Extension Shield for Arduino Nano<\/li>\n<li>Powerbank 3600 mAh USB<\/li>\n<li>Mini USB wire<\/li>\n<li>2 FS90R servos (wheels)<\/li>\n<li>2 wheels for FS90R<\/li>\n<li>2 SG90 servos (arms)<\/li>\n<li>Caster wheel<\/li>\n<li>HC \u2013 SR04 ultrasound sensor<\/li>\n<li>KY \u2013 006 Buzzer<\/li>\n<li>LED matrix<\/li>\n<li>TCRT500 (line follower)<\/li>\n<li>SPP- C Bluetooth<\/li>\n<li>3 mm wood base<\/li>\n<li>3mm wood frontal panel (Darth Vader)<\/li>\n<\/ul>\n<p>For the wood structured I have used a 4mm diameter wood stick, cut it in four equally long pieces and use it to secure the 3 mm wood panel that covers the electronics of the robot.<\/p>\n<p>&nbsp;<\/p>\n<h4><strong>Features<\/strong><\/h4>\n<p>The main code of the robot is designed with Facilino, but I have made some little changes in the Arduino code, so the robot works better.<\/p>\n<p>The robot has 4 different features:<\/p>\n<ol>\n<li>Remote control. You can control the robot movements using the app in your phone.<\/li>\n<li>Line follower. The robot will follow a path marked with a black tape in a white background.<\/li>\n<li>Colour recognition. Depending on the colour the robot detects, it will stay on standby or move its arms to attack it. The colours it can detect are blue, red, and green. It will stay put and show the Death Star in the LED matrix if it detects red. If the colour detected is blue or green, it will attack moving its arms while the LED matrix shows a lightsaber. While it\u2019s in this mode, it will play the Imperial March.<\/li>\n<li>Keep distance. With the ultrasound sensor, it will detect the object that is in front of it; if it\u2019s far away it will follow it and if it\u2019s too close the robot will go backwards. If it is in the middle ground, the robot will not move.<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<h4><strong>Mobile App<\/strong><\/h4>\n<p>The mobile app used to control the robot has been designed with MIT AppInventor 2. You can see the app on the following image.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-5843\" src=\"https:\/\/dyor.webs.upv.es\/wp-content\/uploads\/2021\/06\/App-151x300.jpg\" alt=\"\" width=\"151\" height=\"300\" srcset=\"https:\/\/dyor.webs.upv.es\/wp-content\/uploads\/2021\/06\/App-151x300.jpg 151w, https:\/\/dyor.webs.upv.es\/wp-content\/uploads\/2021\/06\/App.jpg 505w\" sizes=\"auto, (max-width: 151px) 100vw, 151px\" \/><\/p>\n<p>At the top of the screen, there are the buttons to connect the app to the robot via Bluetooth. In the centre it will be shown if it is connected or not.<\/p>\n<p>In the middle of the screen, you can see de buttons for the different features of the robot. The button on the top left starts the keep distance mode. The button on the top right initiates the line tracking mode, down left there is the button for colour recognition mode. Down right, there is the last button which stops the other three modes.<\/p>\n<p>At the bottom of the screen, it is shown the remote control of the robot. With these buttons you can control the robot\u2019s movements manually.<\/p>\n<p>When you push one of these buttons, the app will send a byte number to the robot through Bluetooth. When you click on de Stop button or you push up one of the remote control buttons, the app will send a 0, meaning that the robot has to stop what it\u2019s doing. The code of the app can be seen in these images.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-5846\" src=\"https:\/\/dyor.webs.upv.es\/wp-content\/uploads\/2021\/06\/Codigo1-300x264.png\" alt=\"\" width=\"364\" height=\"320\" srcset=\"https:\/\/dyor.webs.upv.es\/wp-content\/uploads\/2021\/06\/Codigo1-300x264.png 300w, https:\/\/dyor.webs.upv.es\/wp-content\/uploads\/2021\/06\/Codigo1.png 444w\" sizes=\"auto, (max-width: 364px) 100vw, 364px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-5847\" src=\"https:\/\/dyor.webs.upv.es\/wp-content\/uploads\/2021\/06\/Codigo2-132x300.jpg\" alt=\"\" width=\"266\" height=\"605\" srcset=\"https:\/\/dyor.webs.upv.es\/wp-content\/uploads\/2021\/06\/Codigo2-132x300.jpg 132w, https:\/\/dyor.webs.upv.es\/wp-content\/uploads\/2021\/06\/Codigo2.jpg 321w\" sizes=\"auto, (max-width: 266px) 100vw, 266px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-5848\" src=\"https:\/\/dyor.webs.upv.es\/wp-content\/uploads\/2021\/06\/Codigo3-231x300.jpg\" alt=\"\" width=\"285\" height=\"370\" srcset=\"https:\/\/dyor.webs.upv.es\/wp-content\/uploads\/2021\/06\/Codigo3-231x300.jpg 231w, https:\/\/dyor.webs.upv.es\/wp-content\/uploads\/2021\/06\/Codigo3.jpg 310w\" sizes=\"auto, (max-width: 285px) 100vw, 285px\" \/><\/p>\n<p>So, the robot will receive this number and will execute one of the features. For example, if we send 1 it will enter the keep distance mode, or if we send 6 it will start the line following mode.<\/p>\n<p>For the remote control, while we keep pushed the button, the robot will move, but if you stop pushing the button, the app will send 0 and the movement will stop.<\/p>\n<h4>Video<\/h4>\n<p><iframe loading=\"lazy\" title=\"DYOR DarthBot\" width=\"600\" height=\"338\" src=\"https:\/\/www.youtube.com\/embed\/TnWjlPVLl_I?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<h4>Author<\/h4>\n<p>Daniel Moreno<\/p>\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>In this post I will explain DarthBot, the robot I have made for the mobile robotics subject at UPV. The robot is based on Dart Vader.<\/p>\n","protected":false},"author":580,"featured_media":5840,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[81],"tags":[],"class_list":["post-5839","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/dyor.webs.upv.es\/wp-content\/uploads\/2021\/06\/Robot-1.jpg","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":5411,"url":"https:\/\/dyor.webs.upv.es\/en\/disenos-2d-corte-laser-3mm\/","url_meta":{"origin":5839,"position":0},"title":"2D Robot Designs with Laser Cutting in 3mm","author":"soporte","date":"Thursday March  4th, 2021","format":false,"excerpt":"This post describes different 2D designs made with the DYOR, bPED and qPED robot and all its variants so far that can be used for the manufacture of parts by laser cutting with 3mm thickness. The DYOR robot, together with all its variants, as well as the bPED and qPED\u2026","rel":"","context":"In &quot;corte_laser&quot;","block_context":{"text":"corte_laser","link":"https:\/\/dyor.webs.upv.es\/en\/category\/fabricacion\/corte_laser\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/dyor.webs.upv.es\/wp-content\/uploads\/2021\/03\/dise%C3%B1os_dyor_corte_laser.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":7882,"url":"https:\/\/dyor.webs.upv.es\/en\/english-dyor-tobias\/","url_meta":{"origin":5839,"position":1},"title":"DYOR: Tobias","author":"DasAas","date":"Wednesday June 26th, 2024","format":false,"excerpt":"The objective of this post is to provide an overview of the assignment to build a robot in the Mobile Robotics course during the spring semester of 2024. The robot is built with lowcost components and should have some functionalities like line tracking, obstacle avoidance, moving its arms, and making\u2026","rel":"","context":"In &quot;Blog&quot;","block_context":{"text":"Blog","link":"https:\/\/dyor.webs.upv.es\/en\/category\/blog\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/dyor.webs.upv.es\/wp-content\/uploads\/2024\/06\/profil.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/dyor.webs.upv.es\/wp-content\/uploads\/2024\/06\/profil.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/dyor.webs.upv.es\/wp-content\/uploads\/2024\/06\/profil.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/dyor.webs.upv.es\/wp-content\/uploads\/2024\/06\/profil.jpg?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/dyor.webs.upv.es\/wp-content\/uploads\/2024\/06\/profil.jpg?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/dyor.webs.upv.es\/wp-content\/uploads\/2024\/06\/profil.jpg?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":5816,"url":"https:\/\/dyor.webs.upv.es\/en\/english-pandabot\/","url_meta":{"origin":5839,"position":2},"title":"PandaBot","author":"CristinaAsenjo","date":"Saturday June 10th, 2023","format":false,"excerpt":"In this entry we are going to explain the design and programming of a panda robot based on the proposed DYOR kit. DESIGN: The proposed design is based on the DYOR kit from roboticafacil, specifically the panda model. For this purpose, the following components have been used: Arduino Nano +\u2026","rel":"","context":"In &quot;Blog&quot;","block_context":{"text":"Blog","link":"https:\/\/dyor.webs.upv.es\/en\/category\/blog\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/dyor.webs.upv.es\/wp-content\/uploads\/2021\/06\/dise%C3%B1o-261x300.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":7599,"url":"https:\/\/dyor.webs.upv.es\/en\/dyor-senorita-cafe-con-leche\/","url_meta":{"origin":5839,"position":3},"title":"DYOR: Ms Cafe con Leche","author":"linninja","date":"Wednesday June 26th, 2024","format":false,"excerpt":"Made by: CTO (Chief Technical Officer) : Anja V\u00e5ge Burtonwood CHO (Chief Hardware Officer) : Linn H\u00e5berg Dimmen Design Components: Arduino nano I\/O Extension Shield para Arduino Nano SPP-C Bluetooth (compatible HC-06) Caster wheel 9V battery 8x8 LED Matrix, max7219 Two FS90R servos 360\u00b0 Two 60mm wheels for the FS90R\u2026","rel":"","context":"In &quot;Blog&quot;","block_context":{"text":"Blog","link":"https:\/\/dyor.webs.upv.es\/en\/category\/blog\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/dyor.webs.upv.es\/wp-content\/uploads\/2024\/06\/profile-pic-square.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/dyor.webs.upv.es\/wp-content\/uploads\/2024\/06\/profile-pic-square.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/dyor.webs.upv.es\/wp-content\/uploads\/2024\/06\/profile-pic-square.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/dyor.webs.upv.es\/wp-content\/uploads\/2024\/06\/profile-pic-square.jpg?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/dyor.webs.upv.es\/wp-content\/uploads\/2024\/06\/profile-pic-square.jpg?resize=1050%2C600&ssl=1 3x"},"classes":[]},{"id":5954,"url":"https:\/\/dyor.webs.upv.es\/en\/english-dyor-batbot\/","url_meta":{"origin":5839,"position":4},"title":"DYOR BatBot","author":"mariadelmar2497","date":"Wednesday June 26th, 2024","format":false,"excerpt":"In this entry I will briefly explain the work I have done assembling and programming my BatBot. Components The assembly was made with the following components: Wood structure Arduino Nano v3.0 I\/O Extension Shield to Arduino Nano Powerbank 3600mAh USB 2 continuous servos FS90R with wheels 2 micro servos SG90\u2026","rel":"","context":"In &quot;Blog&quot;","block_context":{"text":"Blog","link":"https:\/\/dyor.webs.upv.es\/en\/category\/blog\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/dyor.webs.upv.es\/wp-content\/uploads\/2021\/06\/20210617_132502-2-851x1024-1.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/dyor.webs.upv.es\/wp-content\/uploads\/2021\/06\/20210617_132502-2-851x1024-1.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/dyor.webs.upv.es\/wp-content\/uploads\/2021\/06\/20210617_132502-2-851x1024-1.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/dyor.webs.upv.es\/wp-content\/uploads\/2021\/06\/20210617_132502-2-851x1024-1.jpg?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":5026,"url":"https:\/\/dyor.webs.upv.es\/en\/dyor-christian\/","url_meta":{"origin":5839,"position":5},"title":"DYOR &#8211; Christian","author":"Enea","date":"Wednesday June  5th, 2019","format":false,"excerpt":"In this entry, I\u2019ll describe Christian, my robot made with an Arduino Nano, sensors and actuators and the mobile app I developed to control it. DYOR-Christian Design The robot design was made using Solidworks and the whole block that defines the robot structure was obtained from an aluminium sheet by\u2026","rel":"","context":"In &quot;Blog&quot;","block_context":{"text":"Blog","link":"https:\/\/dyor.webs.upv.es\/en\/category\/blog\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/dyor.webs.upv.es\/wp-content\/uploads\/2019\/06\/robot_square.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/dyor.webs.upv.es\/wp-content\/uploads\/2019\/06\/robot_square.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/dyor.webs.upv.es\/wp-content\/uploads\/2019\/06\/robot_square.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/dyor.webs.upv.es\/wp-content\/uploads\/2019\/06\/robot_square.jpg?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/dyor.webs.upv.es\/wp-content\/uploads\/2019\/06\/robot_square.jpg?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/dyor.webs.upv.es\/wp-content\/uploads\/2019\/06\/robot_square.jpg?resize=1400%2C800&ssl=1 4x"},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/dyor.webs.upv.es\/en\/wp-json\/wp\/v2\/posts\/5839","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dyor.webs.upv.es\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dyor.webs.upv.es\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dyor.webs.upv.es\/en\/wp-json\/wp\/v2\/users\/580"}],"replies":[{"embeddable":true,"href":"https:\/\/dyor.webs.upv.es\/en\/wp-json\/wp\/v2\/comments?post=5839"}],"version-history":[{"count":9,"href":"https:\/\/dyor.webs.upv.es\/en\/wp-json\/wp\/v2\/posts\/5839\/revisions"}],"predecessor-version":[{"id":8091,"href":"https:\/\/dyor.webs.upv.es\/en\/wp-json\/wp\/v2\/posts\/5839\/revisions\/8091"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dyor.webs.upv.es\/en\/wp-json\/wp\/v2\/media\/5840"}],"wp:attachment":[{"href":"https:\/\/dyor.webs.upv.es\/en\/wp-json\/wp\/v2\/media?parent=5839"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dyor.webs.upv.es\/en\/wp-json\/wp\/v2\/categories?post=5839"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dyor.webs.upv.es\/en\/wp-json\/wp\/v2\/tags?post=5839"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}