{"id":1200,"date":"2024-09-22T11:13:53","date_gmt":"2024-09-22T11:13:53","guid":{"rendered":"https:\/\/open-cube.fel.cvut.cz\/?page_id=1200"},"modified":"2024-09-22T19:18:45","modified_gmt":"2024-09-22T19:18:45","slug":"motors","status":"publish","type":"page","link":"https:\/\/open-cube.fel.cvut.cz\/?page_id=1200","title":{"rendered":"Motors"},"content":{"rendered":"\n<p>Actuators are an important part of a robotic set. Back in a day, NXT motors were a great choice to build a nice robot. Unfortunately, they are no longer available as well as the newer EV3 motors. We do not like the new Spike motors as the electrical interface is different and they are very expensive. There are motors similar to EV3 available at Chinese shops (ebay, aliexpress) but the quality of the construction is not very good (check out the post on main page, they have poor gearing). So, we decided to try to produce something based on available DC geared motors equipped with incremental encoders \u2013 that is all you need to get a decent robotic engine.<\/p>\n\n\n\n<p>There are many types available but we selected two which seemed promising.<br>DCGM-3865-12V-EN-240RPM from Waveshare (L-shaped Permanent Magnet DC Gear Motor, Magnetic Hall Encoder, All-metal Gear Motor) and the GM25-370 9V 150rpm available elsewhere (e.g. https:\/\/www.laskakit.cz\/motor-gm25-370-9v-150rpm-s-prevodovkou-a-enkoderem-\/)<\/p>\n\n\n\n<p>Till now we tested only the first one, see below and it worked just fine. We had to change two resistors on the motor PCB to make it compatible with Open-Cube motor port electronics (replace 10k pull-ups with 4k7). We tested the motors in the Segway like balancing robot and it worked just fine, see the video below. A bit of a drawback is high mass of the motor and the fact that it is not possible to use a shaft running through the motor. <\/p>\n\n\n\n<p>The smaller motor awaits 3D design of the motor case. The PCB with a LEGO connector and some over-voltage and over-current protection parts will be used the same as for the larger motor.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img decoding=\"async\" loading=\"lazy\" width=\"863\" height=\"298\" src=\"https:\/\/open-cube.fel.cvut.cz\/wp-content\/uploads\/2024\/09\/motorsss.jpg\" alt=\"\" class=\"wp-image-1207\" style=\"aspect-ratio:2.8959731543624163;width:551px;height:auto\" srcset=\"https:\/\/open-cube.fel.cvut.cz\/wp-content\/uploads\/2024\/09\/motorsss.jpg 863w, https:\/\/open-cube.fel.cvut.cz\/wp-content\/uploads\/2024\/09\/motorsss-300x104.jpg 300w, https:\/\/open-cube.fel.cvut.cz\/wp-content\/uploads\/2024\/09\/motorsss-768x265.jpg 768w\" sizes=\"(max-width: 863px) 100vw, 863px\" \/><figcaption class=\"wp-element-caption\">left: L-shaped motor, right: GM-25<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img decoding=\"async\" loading=\"lazy\" width=\"735\" height=\"657\" src=\"https:\/\/open-cube.fel.cvut.cz\/wp-content\/uploads\/2024\/09\/Lmotor_complete.jpg\" alt=\"\" class=\"wp-image-1208\" style=\"aspect-ratio:1.1187214611872147;width:449px;height:auto\" srcset=\"https:\/\/open-cube.fel.cvut.cz\/wp-content\/uploads\/2024\/09\/Lmotor_complete.jpg 735w, https:\/\/open-cube.fel.cvut.cz\/wp-content\/uploads\/2024\/09\/Lmotor_complete-300x268.jpg 300w\" sizes=\"(max-width: 735px) 100vw, 735px\" \/><figcaption class=\"wp-element-caption\">3D visualization of the complete unit based on L-shaped motor<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img decoding=\"async\" loading=\"lazy\" width=\"733\" height=\"584\" src=\"https:\/\/open-cube.fel.cvut.cz\/wp-content\/uploads\/2024\/09\/Lmotor_complete2.jpg\" alt=\"\" class=\"wp-image-1212\" style=\"aspect-ratio:1.25513698630137;width:448px;height:auto\" srcset=\"https:\/\/open-cube.fel.cvut.cz\/wp-content\/uploads\/2024\/09\/Lmotor_complete2.jpg 733w, https:\/\/open-cube.fel.cvut.cz\/wp-content\/uploads\/2024\/09\/Lmotor_complete2-300x239.jpg 300w\" sizes=\"(max-width: 733px) 100vw, 733px\" \/><figcaption class=\"wp-element-caption\">Top view of the motor assembly<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img decoding=\"async\" loading=\"lazy\" width=\"1023\" height=\"486\" src=\"https:\/\/open-cube.fel.cvut.cz\/wp-content\/uploads\/2024\/09\/motor_pcb_circuit.png\" alt=\"\" class=\"wp-image-1209\" style=\"aspect-ratio:2.1049382716049383;width:561px;height:auto\" srcset=\"https:\/\/open-cube.fel.cvut.cz\/wp-content\/uploads\/2024\/09\/motor_pcb_circuit.png 1023w, https:\/\/open-cube.fel.cvut.cz\/wp-content\/uploads\/2024\/09\/motor_pcb_circuit-300x143.png 300w, https:\/\/open-cube.fel.cvut.cz\/wp-content\/uploads\/2024\/09\/motor_pcb_circuit-768x365.png 768w\" sizes=\"(max-width: 1023px) 100vw, 1023px\" \/><figcaption class=\"wp-element-caption\">Circuit diagram of the motor PCB.<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img decoding=\"async\" loading=\"lazy\" width=\"679\" height=\"451\" src=\"https:\/\/open-cube.fel.cvut.cz\/wp-content\/uploads\/2024\/09\/motor_pcb_3D.jpg\" alt=\"\" class=\"wp-image-1210\" style=\"aspect-ratio:1.5055432372505544;width:347px;height:auto\" srcset=\"https:\/\/open-cube.fel.cvut.cz\/wp-content\/uploads\/2024\/09\/motor_pcb_3D.jpg 679w, https:\/\/open-cube.fel.cvut.cz\/wp-content\/uploads\/2024\/09\/motor_pcb_3D-300x199.jpg 300w\" sizes=\"(max-width: 679px) 100vw, 679px\" \/><figcaption class=\"wp-element-caption\">Prototype of the motor interface PCB &#8211; later, the PCB was shortened a bit for easier insertion into the housing.<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img decoding=\"async\" loading=\"lazy\" width=\"671\" height=\"697\" src=\"https:\/\/open-cube.fel.cvut.cz\/wp-content\/uploads\/2024\/09\/motor_build.jpg\" alt=\"\" class=\"wp-image-1217\" style=\"aspect-ratio:0.9626972740315638;width:390px;height:auto\" srcset=\"https:\/\/open-cube.fel.cvut.cz\/wp-content\/uploads\/2024\/09\/motor_build.jpg 671w, https:\/\/open-cube.fel.cvut.cz\/wp-content\/uploads\/2024\/09\/motor_build-289x300.jpg 289w\" sizes=\"(max-width: 671px) 100vw, 671px\" \/><figcaption class=\"wp-element-caption\">All parts ready to be assembled (motor, three 3D printed parts with thread inserts, ball bearing and PCB with LEGO connector.<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"ast-oembed-container\" style=\"height: 100%;\"><iframe loading=\"lazy\" title=\"Open-Cube balancing robot with new O-C motors\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/YSSJQXd_0Cs?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><\/div>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Actuators are an important part of a robotic set. Back in a day, NXT motors were a great choice to build a nice robot. Unfortunately, they are no longer available as well as the newer EV3 motors. We do not like the new Spike motors as the electrical interface is different and they are very &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/open-cube.fel.cvut.cz\/?page_id=1200\"> <span class=\"screen-reader-text\">Motors<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","footnotes":""},"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false},"uagb_author_info":{"display_name":"admin","author_link":"https:\/\/open-cube.fel.cvut.cz\/?author=1"},"uagb_comment_info":0,"uagb_excerpt":"Actuators are an important part of a robotic set. Back in a day, NXT motors were a great choice to build a nice robot. Unfortunately, they are no longer available as well as the newer EV3 motors. We do not like the new Spike motors as the electrical interface is different and they are very&hellip;","_links":{"self":[{"href":"https:\/\/open-cube.fel.cvut.cz\/index.php?rest_route=\/wp\/v2\/pages\/1200"}],"collection":[{"href":"https:\/\/open-cube.fel.cvut.cz\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/open-cube.fel.cvut.cz\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/open-cube.fel.cvut.cz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/open-cube.fel.cvut.cz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1200"}],"version-history":[{"count":6,"href":"https:\/\/open-cube.fel.cvut.cz\/index.php?rest_route=\/wp\/v2\/pages\/1200\/revisions"}],"predecessor-version":[{"id":1219,"href":"https:\/\/open-cube.fel.cvut.cz\/index.php?rest_route=\/wp\/v2\/pages\/1200\/revisions\/1219"}],"wp:attachment":[{"href":"https:\/\/open-cube.fel.cvut.cz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1200"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}