{"id":96,"date":"2021-10-09T10:42:44","date_gmt":"2021-10-09T10:42:44","guid":{"rendered":"https:\/\/med.upc.edu\/team4-2021\/?page_id=96"},"modified":"2021-12-29T13:54:31","modified_gmt":"2021-12-29T11:54:31","slug":"assembly","status":"publish","type":"page","link":"https:\/\/med.upc.edu\/team4-2021\/assembly\/","title":{"rendered":"ASSEMBLY"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">In order to carry out this project we are using the <strong>Hexsoon EDU450<\/strong> platform (quadcopter X). This drone frame is a relatively low cost frame including motors, ESCs and propellers, designed especially for developing and testing. To be able to flight the drone are necessary more things, for this reason each team received a kit with all the required equipment (including the frame). In the following table we explain a little bit each component and where is possible to purchase it and its cost.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This platform is very interesting because there is an specific parameter file to adjust correctly the drone, called <a href=\"https:\/\/github.com\/ArduPilot\/ardupilot\/blob\/master\/Tools\/Frame_params\/hexsoon-edu450.param\">hexsoon-edu450.param<\/a>. This parameter file can also be loaded using the Mission Planner\u2019s<em>: <strong>Config\/Tuning &gt;&gt; Full Parameter Tree page<\/strong><\/em> by selecting <strong><em>\u201chexsoon-edu450\u201d<\/em><\/strong> from the drop down on the middle right and then push the \u201cLoad Presaved\u201d button.<\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-table aligncenter is-style-stripes\"><table><tbody><tr><td class=\"has-text-align-left\" data-align=\"left\"><strong>COMPONENTS<\/strong><\/td><td><strong>BRIEF DESCRIPTION<\/strong><\/td><td><strong>PRICE (\u20ac)<\/strong><\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\"><a href=\"https:\/\/www.dronivo.de\/Hex-ProfiCNC-Hexsoon-EDU450-Frame-Propulsion-System\">HEXSOON EDU450 KIT<\/a><\/td><td>Drone frame, ESC&#8217;s (Electronic Speed Controller), motors, power distributor, propellers, screws, spacers and nuts.<\/td><td>299.90<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\"><a href=\"https:\/\/djiarsmadrid.com\/es\/pixhawk-hex-aero\/2546-pixhawk-21-standard-set-the-cube-orange-receptor-ads-b.html\">PIXHAWK 2.1 STANDARD SET CUBE ORANGE<\/a><\/td><td>Flight controller with ADS-B (Automatic Dependent Surveillance-Broadcast) Uavionix receiver. It is included the power module, buzzer, adhesive foam and all the necessary cables.<\/td><td>301.00<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\"><a href=\"https:\/\/tienda.stockrc.com\/Pixhawk21-Standard-Set\">GPS HERE 3<\/a><\/td><td>GNSS (Global Navigation Satellite System) receiver with RTK (Real Time Kinematics), compass . Only available using the CAN (Controller Area Network) protocol.<\/td><td>151.00<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\"><a href=\"http:\/\/A Holybro Telemetry Radio is a small, light and inexpensive open source radio platform that typically allows ranges of better than 300m \u201cout of the box\u201d (the range can be extended to several kilometres with the use of a patch antenna on the ground). The radio uses open source firmware which has been specially designed to work well with MAVLink packets and to be integrated with the Mission Planner, Copter, Rover and Plane. The radios can be either 915Mhz or 433Mhz and you should purchase the model which is appropriate for your country\/region.\">TELEMETRY RADIO SET V3 433MHz<\/a><\/td><td>Open source radio platform that typically allows ranges of better than 300. The radio uses open source firmware which has been specially designed to work well with MAVLink packets and to be integrated with the Mission Planner, Copter, Rover and Plane. The radio used is 433MHz.<\/td><td>54.95<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\"><a href=\"https:\/\/www.rcmoment.com\/es\/p-rm5466.html\">G.T.POWER BATTERY CHECKER <\/a><\/td><td>Digital battery capacity checker. We are using 4S Lithium Polymer batteries, so it is very important to check ofen the voltage of each cell battery.<\/td><td>7.79<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\"><a href=\"https:\/\/www.pccomponentes.com\/raspberry-pi-4-modelo-b-8gb?utm_source=176013&amp;utm_medium=afi&amp;utm_campaign=es.redbrain.shop&amp;awc=20981_1634057639_12308ca0935fb4f0dd6e4e66da183d22&amp;utm_term=deeplink&amp;utm_content=es.redbrain.shop\">RASPBERRY PI 4 MODEL B 8GB<\/a><\/td><td>On board computer to implement into the drone. With this device is possible to connect the flight controller and send orders from the computer to the desired payload implemented.<\/td><td>98.99<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\"><a href=\"https:\/\/es.rs-online.com\/web\/p\/camaras-para-raspberry-pi\/9132664\/?cm_mmc=ES-PLA-DS3A-_-google-_-PLA_ES_ES_Raspberry_Pi_%26_Arduino_y_M%C3%B3dulos_de_Desarrollo_Whoop-_-(ES:Whoop!)+C%C3%A1maras+para+Raspberry+Pi-_-9132664&amp;matchtype=&amp;aud-821594433763:pla-335061582843&amp;gclid=Cj0KCQjw5JSLBhCxARIsAHgO2SdYwVvl8RLnPZt2Nhy-e-5mQ0kMq2_HKw3w4SXeMz3lWL8CSiJpNxMaAsVnEALw_wcB&amp;gclsrc=aw.ds\">RASPBERRY PI CAMERA MODULE 2<\/a><\/td><td>Raspberry Pi Camera Module 2 to be connected in the CSI-2 port. Resolution of 3280 x 2464 pixels and 30 photos per seconds<\/td><td>23.57<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\"><a href=\"https:\/\/lightwarelidar.com\/products\/lw20-c-100-m\">LIGHTWARE LW20\/C<\/a><\/td><td>The LW20\/C is a small form factor, 100 meter range, laser sensor in an IP67 enclosure suitable for small drones and self-driving vehicles, where weight, size and power consumption are critical. The LW20\/C includes driver hardware and software to control a servo driven LiDAR scanner for sense-and-avoid applications<\/td><td>241.51<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\"><a href=\"https:\/\/rc-innovations.es\/frsky-taranis-x9d-plus-se-2019-access-2.4ghz-carbono\">FRSKY TARANIS X9D PLUS SE<\/a><\/td><td>RC transmitter with 24 channels compatible with OpenTX. This device is used to control the drone manually with the joysticks and configure some functions with the different sticks.<\/td><td>279.99<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\"><a href=\"https:\/\/es.rs-online.com\/web\/p\/llaves-hexagonales\/5423509\">HEXAGONAL SCREWDRIVERS PACK<\/a><\/td><td>Hexagonal screwdrivers pack RS PRO: 1.27mm, 1.5mm, 2mm, 2.5mm, 3mm, 3.5mm, 4mm, 4.5mm, 5mm, 5.5mm, 6mm, 7mm, 8mm.<\/td><td>17.85<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\"><a href=\"https:\/\/es.rs-online.com\/web\/p\/juegos-de-destornilladores\/0252949\/?relevancy-data=7365617263685F636173636164655F6F726465723D31267365617263685F696E746572666163655F6E616D653D4931384E525353746F636B4E756D626572267365617263685F6C616E67756167655F757365643D656E267365617263685F6D617463685F6D6F64653D6D61746368616C6C267365617263685F7061747465726E5F6D6174636865643D5E2828282872737C5253295B205D3F293F285C647B337D5B5C2D5C735D3F5C647B332C347D5B705061415D3F29297C283235285C647B387D7C5C647B317D5C2D5C647B377D29292924267365617263685F7061747465726E5F6F726465723D31267365617263685F73745F6E6F726D616C697365643D59267365617263685F726573706F6E73655F616374696F6E3D267365617263685F747970653D52535F53544F434B5F4E554D424552267365617263685F77696C645F63617264696E675F6D6F64653D4E4F4E45267365617263685F6B6579776F72643D3235322D393439267365617263685F6B6579776F72645F6170703D30323532393439267365617263685F636F6E6669673D3126&amp;searchHistory=%7B%22enabled%22%3Atrue%7D\">INTERCHANGEABLE SCREWDRIVER PACK<\/a><\/td><td>Interchangeable screwdriver pack. Flat: 1.5mm, 2.0mm, 3.0mm, 4.0mm. Torx: T5, T6, T7, T8. Phillips: PH0, PH00, PH000.<\/td><td>17.70<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\"><a href=\"https:\/\/es.rs-online.com\/web\/p\/juegos-de-llaves-fijas\/1848033\/\">FIXED KEYS SET<\/a><\/td><td>Set of fixed keys: 4mm, 4.5mm, 5mm, 5.5mm, 6.0mm, 7.0mm, 8.0mm, 9.0mm, 10.0mm, 11.0mm<\/td><td>25.05<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\"><a href=\"https:\/\/www.amazon.es\/estacionamiento-alfombrilla-aterrizaje-impermeable-almacenamiento\/dp\/B097BNZ6BJ\/ref=sr_1_1?__mk_es_ES=%C3%85M%C3%85%C5%BD%C3%95%C3%91&amp;dchild=1&amp;keywords=heliport&amp;qid=1634062066&amp;qsid=257-0086261-5722001&amp;sr=8-1&amp;sres=B097BNZ6BJ%2CB09659YQRX%2CB09DQ4M624%2C1481972030%2CB009YK727G%2CB0838QBFG5%2CB003SNPSQC%2CB0947QFWMY%2CB004EAL5B0%2C6130919468%2CB000NLXFGC%2CB07CPTGXGS%2CB01F1L2S9I%2CB07BRX3TKM%2CB01D1DJQDO%2CB071G11PH5%2C1679182803%2CB00ZXAR7H6%2C1679181025%2CB00GRJGGEC\">DRONE PAD<\/a><\/td><td>Drone Take-off and landing pad foldable.<\/td><td>11.67<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\"><a href=\"https:\/\/www.amazon.es\/Bater%C3%ADa-Gens-5000mAh-enchufes-serie\/dp\/B07M987C8K\/ref=asc_df_B07M987C8K\/?tag=googshopes-21&amp;linkCode=df0&amp;hvadid=420349540689&amp;hvpos=&amp;hvnetw=g&amp;hvrand=14719185130772382014&amp;hvpone=&amp;hvptwo=&amp;hvqmt=&amp;hvdev=c&amp;hvdvcmdl=&amp;hvlocint=&amp;hvlocphy=1005424&amp;hvtargid=pla-708307503773&amp;psc=1&amp;tag=&amp;ref=&amp;adgrpid=94419898965&amp;hvpone=&amp;hvptwo=&amp;hvadid=420349540689&amp;hvpos=&amp;hvnetw=g&amp;hvrand=14719185130772382014&amp;hvqmt=&amp;hvdev=c&amp;hvdvcmdl=&amp;hvlocint=&amp;hvlocphy=1005424&amp;hvtargid=pla-708307503773\">BATTERY<\/a><\/td><td>Litium Polymer battery Bashing. 5000mAh, 50C,4S1P.<\/td><td>52.99<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\"><\/td><td><\/td><td><strong>1566.11<\/strong><\/td><\/tr><\/tbody><\/table><figcaption>Table 1: Components of the kit, brief description and price.<\/figcaption><\/figure>\n<\/div>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"font-size:25px\"><strong>After the description of the elements we will start with the assembly, which is divided in two parts: Assembly 1 and Assembly 2.<\/strong><\/p>\n\n\n\n<p class=\"has-text-align-left wp-block-paragraph\" style=\"font-size:30px\"><strong>ASSEMBLY 1<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In this first part we should mount all the drone frame, which includes the two carbon plates of the central body, the power distribution board, the four arms, ESCs and motors and finally the landing gear. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The first step is to assembly the power distribution board below the upper carbon plate, with the XT60 connector <strong>pointing backwards<\/strong>. Then we should fixed the motors on the bench<strong>, taking into account the rotation of each motor, according to Figure 1.<\/strong><\/p>\n\n\n\n<div class=\"wp-block-media-text alignwide is-stacked-on-mobile\"><figure class=\"wp-block-media-text__media\"><img fetchpriority=\"high\" decoding=\"async\" width=\"340\" height=\"336\" src=\"https:\/\/med.upc.edu\/team4-2021\/wp-content\/uploads\/sites\/5\/2021\/10\/Quad_X-2.png\" alt=\"\" class=\"wp-image-278 size-full\" srcset=\"https:\/\/med.upc.edu\/team4-2021\/wp-content\/uploads\/sites\/5\/2021\/10\/Quad_X-2.png 340w, https:\/\/med.upc.edu\/team4-2021\/wp-content\/uploads\/sites\/5\/2021\/10\/Quad_X-2-300x296.png 300w\" sizes=\"(max-width: 340px) 100vw, 340px\" \/><\/figure><div class=\"wp-block-media-text__content\">\n<p class=\"has-large-font-size wp-block-paragraph\">        <strong>QUADCOPTER X<\/strong><\/p>\n<\/div><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Figure 1: Quadcopter X. (Source: <a href=\"https:\/\/ardupilot.org\/copter\/docs\/connect-escs-and-motors.html\">https:\/\/ardupilot.org\/copter\/docs\/connect-escs-and-motors.html<\/a>)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"> <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The following step is to connect the ESC with the motor, introducing it inside the arm and then fixing one of the end to the central body and the other with the bench motor and the landing gear. <strong>It is very important to fix the orange arms at the drone face in order to know the orientation when it is flying<\/strong>. Once the arms are fixed,  is possible to connect the ESCs (+VCC and GND) with the power distribution board. There are two cables more (black and white) that should be connected to the flight controller, we will see this step in the Assembly 2.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The placement of the different sensors or elements is important. For example, when we bind the receiver we must press a small hole. It is important to have accessible the receiver so that you don&#8217;t have to mount and dismount each time the receiver from the platform. The battery is another element, because his weight it is important to have it properly centered, it can unbalance the drone once it starts to fly.It is also important to tighten with small cable ties all the elements that can be moved of loose. <\/p>\n\n\n\n<p class=\"has-text-align-center wp-block-paragraph\"><strong>Errors in this phase: <\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The main mistake made in this phase was placing the motors in the wrong turning order. How do we solve it? Reversing the polarity, changing wires. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Once assembled, it seemed that the drone was well adjusted, however, reviewing all the screws we realized that many were loose or had not been tightened well.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"has-text-align-left wp-block-paragraph\" style=\"font-size:30px\"><strong>ASSEMBLY 2<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now is the time to assembly all the electronic devices in the drone. We have already connected the motors, ESC, and the power distribution board, so we must connect now the flight controller <a href=\"https:\/\/www.cubepilot.com\/#\/home\">Pixhawk Orange Cube<\/a>, the RC receiver, the GPS Here 3, the altimeter, the optical sensor, the Holybro telemetry radio and the buzzer.<\/p>\n\n\n\n<div class=\"wp-block-image is-style-rounded\"><figure class=\"aligncenter size-large is-resized\"><img decoding=\"async\" src=\"https:\/\/med.upc.edu\/team4-2021\/wp-content\/uploads\/sites\/5\/2021\/10\/IMG_0079-1024x768.jpg\" alt=\"\" class=\"wp-image-172\" width=\"596\" height=\"447\" srcset=\"https:\/\/med.upc.edu\/team4-2021\/wp-content\/uploads\/sites\/5\/2021\/10\/IMG_0079-1024x768.jpg 1024w, https:\/\/med.upc.edu\/team4-2021\/wp-content\/uploads\/sites\/5\/2021\/10\/IMG_0079-300x225.jpg 300w, https:\/\/med.upc.edu\/team4-2021\/wp-content\/uploads\/sites\/5\/2021\/10\/IMG_0079-768x576.jpg 768w, https:\/\/med.upc.edu\/team4-2021\/wp-content\/uploads\/sites\/5\/2021\/10\/IMG_0079-1536x1152.jpg 1536w, https:\/\/med.upc.edu\/team4-2021\/wp-content\/uploads\/sites\/5\/2021\/10\/IMG_0079-2048x1536.jpg 2048w\" sizes=\"(max-width: 596px) 100vw, 596px\" \/><figcaption>Figure 2: Autopilot is already installed, watch out with the order of the engines!!!! (Source: Team4-2021)<\/figcaption><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>The flight controller should be installed in the middle of the central body and with the arrow pointing forwards<\/strong>. Once the flight controller is installed on the top center platform of the drone we should connect the different devices to it. The first device to connect is the SBUS OUT RC receiver to the RCIN in the autopilot. Then we connect the signal cables of the motors to the MAIN OUT ports 1, 2, 3 and 4 according to the number of the Figure 1. It is important to use a <strong>cable extension<\/strong> for the 1 and 3 motors.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now, we mount the GPS on the transparent plate and we connect it to CAN 1 port. The following step is to fix the structure that contains the radio altimeter and the optical sensor and connect to CAN 2 and I2C 2 ports respectivelly. Finally we should connect the telemetry radio to TELEM 1 and the buzzer with the USB cable to the USB port. As a final step it is very important to fix all the components of the drone very well.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The following picture is a good scheme to follow in order to do the autopilot connections well.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img decoding=\"async\" src=\"https:\/\/ardupilot.org\/copter\/_images\/Cubepilot_ecosystem.jpg\" alt=\"\" width=\"512\" height=\"683\" \/><figcaption>Figure 3: Cubepilot ecosystem. (Source: <a href=\"https:\/\/ardupilot.org\/copter\/docs\/common-thecube-overview.html\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/ardupilot.org\/copter\/docs\/common-thecube-overview.html<\/a>)<\/figcaption><\/figure><\/div>\n","protected":false},"excerpt":{"rendered":"<p>In order to carry out this project we are using the Hexsoon EDU450 platform (quadcopter X). This drone frame is a relatively low cost frame including motors, ESCs and propellers, designed especially for developing and testing. To be able to flight the drone are necessary more things, for this reason each team received a kit [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-96","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/med.upc.edu\/team4-2021\/wp-json\/wp\/v2\/pages\/96","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/med.upc.edu\/team4-2021\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/med.upc.edu\/team4-2021\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/med.upc.edu\/team4-2021\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/med.upc.edu\/team4-2021\/wp-json\/wp\/v2\/comments?post=96"}],"version-history":[{"count":67,"href":"https:\/\/med.upc.edu\/team4-2021\/wp-json\/wp\/v2\/pages\/96\/revisions"}],"predecessor-version":[{"id":763,"href":"https:\/\/med.upc.edu\/team4-2021\/wp-json\/wp\/v2\/pages\/96\/revisions\/763"}],"wp:attachment":[{"href":"https:\/\/med.upc.edu\/team4-2021\/wp-json\/wp\/v2\/media?parent=96"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}