{"id":16,"date":"2023-06-27T08:57:20","date_gmt":"2023-06-27T08:57:20","guid":{"rendered":"https:\/\/learnlearn.uk\/stemrobotics\/?page_id=16"},"modified":"2024-10-21T15:01:59","modified_gmt":"2024-10-21T15:01:59","slug":"topic-3-dc-motors","status":"publish","type":"page","link":"https:\/\/learnlearn.uk\/stemrobotics\/topic-3-dc-motors\/","title":{"rendered":"Topic 3 \u2013 DC Motors &#038; Servo Motors"},"content":{"rendered":"<div class=\"responsive-tabs\">\n<h2 class=\"tabtitle\">DC Motors<\/h2>\n<div class=\"tabcontent\">\n\n<h3>Controlling a DC Motor<\/h3>\n<p>A DC 6V hobby motor is a type of direct current motor commonly used in hobbyist and DIY projects. These motors are popular among hobbyists due to their simplicity, affordability, and versatility.<\/p>\n<p>Hobby motors can be controlled using various methods, including adjusting the voltage applied to the motor, using PWM (Pulse Width Modulation) signals.<\/p>\n<p>Hobby motors are commonly used to drive wheels, propellers, and other moving parts in RC cars, boats, airplanes, and drones.<\/p>\n<div id=\"attachment_115\" style=\"width: 195px\" class=\"wp-caption alignleft\"><img aria-describedby=\"caption-attachment-115\" decoding=\"async\" loading=\"lazy\" class=\"wp-image-115 size-full\" src=\"https:\/\/learnlearn.uk\/stemrobotics\/wp-content\/uploads\/sites\/28\/2024\/02\/DC-Motor.webp?_t=1708608769\" alt=\"\" width=\"185\" height=\"259\" \/><p id=\"caption-attachment-115\" class=\"wp-caption-text\">6V Motor with wheel<\/p><\/div>\n<div id=\"attachment_116\" style=\"width: 310px\" class=\"wp-caption alignleft\"><img aria-describedby=\"caption-attachment-116\" decoding=\"async\" loading=\"lazy\" class=\"wp-image-116 size-medium\" src=\"https:\/\/learnlearn.uk\/stemrobotics\/wp-content\/uploads\/sites\/28\/2024\/02\/servo-motor-300x232.png\" alt=\"\" width=\"300\" height=\"232\" srcset=\"https:\/\/learnlearn.uk\/stemrobotics\/wp-content\/uploads\/sites\/28\/2024\/02\/servo-motor-300x232.png 300w, https:\/\/learnlearn.uk\/stemrobotics\/wp-content\/uploads\/sites\/28\/2024\/02\/servo-motor.png 338w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><p id=\"caption-attachment-116\" class=\"wp-caption-text\">Lego DC Servo Motor<\/p><\/div>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n\n<\/div><h2 class=\"tabtitle\">Single Motor<\/h2>\n<div class=\"tabcontent\">\n\n<h3>Controlling a Single Motor<\/h3>\n<div class=\"arconix-column-one-half\">\n<h3>Wiring Diagram<\/h3>\n<p>This is the wiring diagram for both DC Motors and Servo Motors for a single motor.<\/p>\n<div id=\"attachment_119\" style=\"width: 619px\" class=\"wp-caption alignnone\"><img aria-describedby=\"caption-attachment-119\" decoding=\"async\" loading=\"lazy\" class=\"wp-image-119 \" src=\"https:\/\/learnlearn.uk\/stemrobotics\/wp-content\/uploads\/sites\/28\/2024\/02\/5V-Servomotor.png?_t=1708610000\" alt=\"\" width=\"609\" height=\"372\" srcset=\"https:\/\/learnlearn.uk\/stemrobotics\/wp-content\/uploads\/sites\/28\/2024\/02\/5V-Servomotor.png 1138w, https:\/\/learnlearn.uk\/stemrobotics\/wp-content\/uploads\/sites\/28\/2024\/02\/5V-Servomotor-300x183.png 300w, https:\/\/learnlearn.uk\/stemrobotics\/wp-content\/uploads\/sites\/28\/2024\/02\/5V-Servomotor-1024x625.png 1024w, https:\/\/learnlearn.uk\/stemrobotics\/wp-content\/uploads\/sites\/28\/2024\/02\/5V-Servomotor-768x469.png 768w\" sizes=\"(max-width: 609px) 100vw, 609px\" \/><p id=\"caption-attachment-119\" class=\"wp-caption-text\">Click to enlarge<\/p><\/div>\n<\/div><div class=\"arconix-column-one-half\">\n<h3>Test Code<\/h3>\n<p>The code below alternates which Pin is high (either pin o or pin 1). This has the effect of reversing the current, which reverses the direction of rotation of the motor.<\/p>\n<h3><img decoding=\"async\" loading=\"lazy\" class=\"size-full wp-image-68 alignnone\" style=\"font-size: 16px;\" src=\"https:\/\/learnlearn.uk\/stemrobotics\/wp-content\/uploads\/sites\/28\/2024\/02\/servomotor-test-code.png\" alt=\"\" width=\"441\" height=\"516\" srcset=\"https:\/\/learnlearn.uk\/stemrobotics\/wp-content\/uploads\/sites\/28\/2024\/02\/servomotor-test-code.png 441w, https:\/\/learnlearn.uk\/stemrobotics\/wp-content\/uploads\/sites\/28\/2024\/02\/servomotor-test-code-256x300.png 256w\" sizes=\"(max-width: 441px) 100vw, 441px\" \/><\/h3>\n<\/div><\/p>\n\n<\/div><h2 class=\"tabtitle\">Two Motors<\/h2>\n<div class=\"tabcontent\">\n\n<h3>Controlling two motors<\/h3>\n<div class=\"arconix-column-one-half\">\n<p>You can control two motors with a single motor control board. You simply wiring the the other motor to the opposite side and wiring the two more signal wires in from Pin 2 and Pin 8<\/p>\n<p><a href=\"https:\/\/learnlearn.uk\/stemrobotics\/wp-content\/uploads\/sites\/28\/2024\/04\/2-Motors-with-breakout-board.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-137\" src=\"https:\/\/learnlearn.uk\/stemrobotics\/wp-content\/uploads\/sites\/28\/2024\/04\/2-Motors-with-breakout-board-1024x625.png?_t=1714481597\" alt=\"\" width=\"493\" height=\"301\" srcset=\"https:\/\/learnlearn.uk\/stemrobotics\/wp-content\/uploads\/sites\/28\/2024\/04\/2-Motors-with-breakout-board-1024x625.png 1024w, https:\/\/learnlearn.uk\/stemrobotics\/wp-content\/uploads\/sites\/28\/2024\/04\/2-Motors-with-breakout-board-300x183.png 300w, https:\/\/learnlearn.uk\/stemrobotics\/wp-content\/uploads\/sites\/28\/2024\/04\/2-Motors-with-breakout-board-768x469.png 768w, https:\/\/learnlearn.uk\/stemrobotics\/wp-content\/uploads\/sites\/28\/2024\/04\/2-Motors-with-breakout-board.png 1138w\" sizes=\"(max-width: 493px) 100vw, 493px\" \/><\/a><\/p>\n<\/div><div class=\"arconix-column-one-half\">\n<h3>Two Motor Test Code<\/h3>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-138\" src=\"https:\/\/learnlearn.uk\/stemrobotics\/wp-content\/uploads\/sites\/28\/2024\/04\/2-motor-code.png\" alt=\"\" width=\"486\" height=\"207\" srcset=\"https:\/\/learnlearn.uk\/stemrobotics\/wp-content\/uploads\/sites\/28\/2024\/04\/2-motor-code.png 763w, https:\/\/learnlearn.uk\/stemrobotics\/wp-content\/uploads\/sites\/28\/2024\/04\/2-motor-code-300x128.png 300w\" sizes=\"(max-width: 486px) 100vw, 486px\" \/><\/p>\n<p>&nbsp;<\/p>\n<\/div><\/p>\n\n<\/div><h2 class=\"tabtitle\">DFR05 Board<\/h2>\n<div class=\"tabcontent\">\n\n<h3>Using motors with the DFR05 MotorBoard<\/h3>\n<p>The DFR05 is a breakout board for the Microbit the features a dedicated motor board driver which connects using the I2C protocol, meaning that most of the Microbits ports are left free for other purposes, such as for servos or sensors.<\/p>\n<p><strong>Step 1 &#8211; Connect up the hardware<\/strong><\/p>\n<p>Setting up and coding the <a href=\"https:\/\/es.rs-online.com\/web\/p\/complementos-de-bbc-micro-bit\/2018090?srsltid=AfmBOoqJjtbxNVt2hnw5CQHzKtw2zDOS0UyQb4C30veE4F7LI1jchwnR\">DFR05<\/a> is pretty straight forward.<\/p>\n<div id=\"attachment_1046\" style=\"width: 567px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/learnlearn.uk\/microbit\/wp-content\/uploads\/sites\/2\/2024\/09\/PXL_20240930_142332775.jpg\"><img aria-describedby=\"caption-attachment-1046\" decoding=\"async\" loading=\"lazy\" class=\"wp-image-1046\" src=\"https:\/\/learnlearn.uk\/microbit\/wp-content\/uploads\/sites\/2\/2024\/09\/PXL_20240930_142332775-1024x576.jpg?_t=1727706680\" alt=\"\" width=\"557\" height=\"313\" \/><\/a><p id=\"caption-attachment-1046\" class=\"wp-caption-text\">Connecting motors to your Microbit is super easy with the DFR05 Motorboard.<\/p><\/div>\n<p>Points to note:<\/p>\n<ul>\n<li>To power the board you need to connect via the round connector on the board, not using the micro-USB connector on the Microbit itself. If it connected correctly the power LED will turn on<\/li>\n<li>The Microbit buttons need to face out\/away from the board.<\/li>\n<li>There is an in-built power switch, so if the LED doesn&#8217;t turn on then check if the switch is turned on.<\/li>\n<\/ul>\n<p><strong>Coding the board<\/strong><\/p>\n<p>The extension isn&#8217;t one of the Microsoft Authorised extensions so you need to paste in the project URL from Github.<\/p>\n<p>1, First go to extensions and paste <strong>https:\/\/github.com\/DFRobot\/pxt-motor into the search box<\/strong><\/p>\n<p>2. Then click the search icon.<\/p>\n<p><a href=\"https:\/\/learnlearn.uk\/microbit\/wp-content\/uploads\/sites\/2\/2024\/09\/pxt-motor-process.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-1048\" src=\"https:\/\/learnlearn.uk\/microbit\/wp-content\/uploads\/sites\/2\/2024\/09\/pxt-motor-process.jpg\" alt=\"\" width=\"650\" height=\"276\" \/><\/a><\/p>\n<p>3. Finally click the project link that appears below.<\/p>\n<p><a href=\"https:\/\/learnlearn.uk\/microbit\/wp-content\/uploads\/sites\/2\/2024\/09\/pxt-motor-process-1.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-1049\" src=\"https:\/\/learnlearn.uk\/microbit\/wp-content\/uploads\/sites\/2\/2024\/09\/pxt-motor-process-1.jpg\" alt=\"\" width=\"404\" height=\"294\" \/><\/a><\/p>\n<p>Once this is complete you can code the motorboard using the DF-driver package in the extensions menu.<\/p>\n<p><a href=\"https:\/\/learnlearn.uk\/microbit\/wp-content\/uploads\/sites\/2\/2024\/09\/df-driver.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-1050\" src=\"https:\/\/learnlearn.uk\/microbit\/wp-content\/uploads\/sites\/2\/2024\/09\/df-driver.png\" alt=\"\" width=\"218\" height=\"46\" \/><\/a><\/p>\n<p>For motor control simply use the motor blocks:<\/p>\n<p><a href=\"https:\/\/learnlearn.uk\/microbit\/wp-content\/uploads\/sites\/2\/2024\/09\/df-motor.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-1051\" src=\"https:\/\/learnlearn.uk\/microbit\/wp-content\/uploads\/sites\/2\/2024\/09\/df-motor.png\" alt=\"\" width=\"356\" height=\"72\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n\n<\/div><h2 class=\"tabtitle\">Pulse Width Modulation<\/h2>\n<div class=\"tabcontent\">\n\n<h3>Pulse Width Modulation<\/h3>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"size-medium wp-image-124 alignright\" src=\"https:\/\/learnlearn.uk\/stemrobotics\/wp-content\/uploads\/sites\/28\/2024\/02\/10pc-duty-graph-300x156.png\" alt=\"\" width=\"300\" height=\"156\" srcset=\"https:\/\/learnlearn.uk\/stemrobotics\/wp-content\/uploads\/sites\/28\/2024\/02\/10pc-duty-graph-300x156.png 300w, https:\/\/learnlearn.uk\/stemrobotics\/wp-content\/uploads\/sites\/28\/2024\/02\/10pc-duty-graph-768x400.png 768w, https:\/\/learnlearn.uk\/stemrobotics\/wp-content\/uploads\/sites\/28\/2024\/02\/10pc-duty-graph.png 878w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>Pulse Width Modulation (PWM) is a modulation technique used to control the analog output voltage of a digital circuit by varying the duty cycle of a rectangular waveform. PWM is widely used in electronics and electrical engineering for applications such as <strong>motor speed control<\/strong>, LED dimming, audio signal generation, and power regulation.<\/p>\n<p><strong>Basic Principle<\/strong><\/p>\n<p>PWM works by rapidly switching a digital signal between ON and OFF states at a fixed frequency. The percentage of time the signal is in the ON state (called the duty cycle) determines the average voltage or power delivered to the load.<\/p>\n<p><strong>Duty Cycle<\/strong><\/p>\n<p>The duty cycle is the ratio of the ON time to the total period of the waveform. It is usually expressed as a percentage. For example, a duty cycle of 50% means that the signal is ON for half of the period and OFF for the other half.<\/p>\n<p>Example PWM Code for a 25% duty cycle:<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"size-medium wp-image-122 alignnone\" src=\"https:\/\/learnlearn.uk\/stemrobotics\/wp-content\/uploads\/sites\/28\/2024\/02\/25pc-power-PWM-code-1-300x263.png\" alt=\"\" width=\"300\" height=\"263\" srcset=\"https:\/\/learnlearn.uk\/stemrobotics\/wp-content\/uploads\/sites\/28\/2024\/02\/25pc-power-PWM-code-1-300x263.png 300w, https:\/\/learnlearn.uk\/stemrobotics\/wp-content\/uploads\/sites\/28\/2024\/02\/25pc-power-PWM-code-1.png 375w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>You can achieve the above automatically by using the analog write out block, which allows a duty cycle from 0 (0%) to 1023 (100%)<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"size-full wp-image-123 alignnone\" src=\"https:\/\/learnlearn.uk\/stemrobotics\/wp-content\/uploads\/sites\/28\/2024\/02\/analog-write-pin.png\" alt=\"\" width=\"351\" height=\"83\" srcset=\"https:\/\/learnlearn.uk\/stemrobotics\/wp-content\/uploads\/sites\/28\/2024\/02\/analog-write-pin.png 351w, https:\/\/learnlearn.uk\/stemrobotics\/wp-content\/uploads\/sites\/28\/2024\/02\/analog-write-pin-300x71.png 300w\" sizes=\"(max-width: 351px) 100vw, 351px\" \/><\/p>\n<p><strong>Frequency<\/strong><\/p>\n<p>PWM signals have a fixed frequency, which determines how often the signal repeats within a given time period. Common PWM frequencies range from a few hundred Hertz to several kilohertz or even megahertz, depending on the application requirements.<\/p>\n<p>\n<\/div><h2 class=\"tabtitle\">Simulation<\/h2>\n<div class=\"tabcontent\">\n<br \/>\nSimluation<br \/>\n<iframe loading=\"lazy\" src=\"https:\/\/scratch.mit.edu\/projects\/986084134\/embed\" width=\"900\" height=\"600\" frameborder=\"0\" scrolling=\"no\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n\n<\/div><h2 class=\"tabtitle\">Resources<\/h2>\n<div class=\"tabcontent\">\n\n<h3>Resources<\/h3>\n<p><a href=\"https:\/\/docs.google.com\/presentation\/d\/16XF7OxLioIonEp_cG-lv-cFuxvAGKvJ-MVJxHt91Rdg\/edit?usp=sharing\">Servo-motor Experiment Sheet<\/a><\/p>\n<p><a href=\"https:\/\/docs.google.com\/presentation\/d\/1gO36Fi0jdHZvq3bOfR6z1QUMirocyG211rgg0TPkklc\/edit?usp=sharing\">2 Servo Motor Experiment Sheet<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<\/div><\/div>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Controlling a DC Motor A DC 6V hobby motor is a type of direct current motor commonly used in hobbyist and DIY projects. These motors are popular among hobbyists due to their simplicity, affordability, and versatility. Hobby motors can be controlled using various methods, including adjusting the voltage applied to the motor, using PWM (Pulse&hellip;&nbsp;<a href=\"https:\/\/learnlearn.uk\/stemrobotics\/topic-3-dc-motors\/\" class=\"\" rel=\"bookmark\">Read More &raquo;<span class=\"screen-reader-text\">Topic 3 \u2013 DC Motors &#038; Servo Motors<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"off","neve_meta_content_width":100,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":""},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Topic 3 \u2013 DC Motors &#038; Servo Motors - Stem Robotics<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/learnlearn.uk\/stemrobotics\/topic-3-dc-motors\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Topic 3 \u2013 DC Motors &#038; Servo Motors - Stem Robotics\" \/>\n<meta property=\"og:description\" content=\"Controlling a DC Motor A DC 6V hobby motor is a type of direct current motor commonly used in hobbyist and DIY projects. These motors are popular among hobbyists due to their simplicity, affordability, and versatility. Hobby motors can be controlled using various methods, including adjusting the voltage applied to the motor, using PWM (Pulse&hellip;&nbsp;Read More &raquo;Topic 3 \u2013 DC Motors &#038; Servo Motors\" \/>\n<meta property=\"og:url\" content=\"https:\/\/learnlearn.uk\/stemrobotics\/topic-3-dc-motors\/\" \/>\n<meta property=\"og:site_name\" content=\"Stem Robotics\" \/>\n<meta property=\"article:modified_time\" content=\"2024-10-21T15:01:59+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/learnlearn.uk\/stemrobotics\/wp-content\/uploads\/sites\/28\/2024\/02\/DC-Motor.webp?_t=1708608769\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/learnlearn.uk\/stemrobotics\/topic-3-dc-motors\/\",\"url\":\"https:\/\/learnlearn.uk\/stemrobotics\/topic-3-dc-motors\/\",\"name\":\"Topic 3 \u2013 DC Motors &#038; Servo Motors - Stem Robotics\",\"isPartOf\":{\"@id\":\"https:\/\/learnlearn.uk\/stemrobotics\/#website\"},\"datePublished\":\"2023-06-27T08:57:20+00:00\",\"dateModified\":\"2024-10-21T15:01:59+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/learnlearn.uk\/stemrobotics\/topic-3-dc-motors\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/learnlearn.uk\/stemrobotics\/topic-3-dc-motors\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/learnlearn.uk\/stemrobotics\/topic-3-dc-motors\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/learnlearn.uk\/stemrobotics\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Topic 3 \u2013 DC Motors &#038; Servo Motors\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/learnlearn.uk\/stemrobotics\/#website\",\"url\":\"https:\/\/learnlearn.uk\/stemrobotics\/\",\"name\":\"Stem Robotics LearnLearnuk\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/learnlearn.uk\/stemrobotics\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/learnlearn.uk\/stemrobotics\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/learnlearn.uk\/stemrobotics\/#organization\",\"name\":\"Learnlearn\",\"url\":\"https:\/\/learnlearn.uk\/stemrobotics\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/learnlearn.uk\/stemrobotics\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/learnlearn.uk\/stemrobotics\/wp-content\/uploads\/sites\/28\/2023\/06\/LearnLearnLogo-Light-Blue.png\",\"contentUrl\":\"https:\/\/learnlearn.uk\/stemrobotics\/wp-content\/uploads\/sites\/28\/2023\/06\/LearnLearnLogo-Light-Blue.png\",\"width\":710,\"height\":98,\"caption\":\"Learnlearn\"},\"image\":{\"@id\":\"https:\/\/learnlearn.uk\/stemrobotics\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Topic 3 \u2013 DC Motors &#038; Servo Motors - Stem Robotics","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/learnlearn.uk\/stemrobotics\/topic-3-dc-motors\/","og_locale":"en_GB","og_type":"article","og_title":"Topic 3 \u2013 DC Motors &#038; Servo Motors - Stem Robotics","og_description":"Controlling a DC Motor A DC 6V hobby motor is a type of direct current motor commonly used in hobbyist and DIY projects. These motors are popular among hobbyists due to their simplicity, affordability, and versatility. Hobby motors can be controlled using various methods, including adjusting the voltage applied to the motor, using PWM (Pulse&hellip;&nbsp;Read More &raquo;Topic 3 \u2013 DC Motors &#038; Servo Motors","og_url":"https:\/\/learnlearn.uk\/stemrobotics\/topic-3-dc-motors\/","og_site_name":"Stem Robotics","article_modified_time":"2024-10-21T15:01:59+00:00","og_image":[{"url":"https:\/\/learnlearn.uk\/stemrobotics\/wp-content\/uploads\/sites\/28\/2024\/02\/DC-Motor.webp?_t=1708608769"}],"twitter_card":"summary_large_image","twitter_misc":{"Estimated reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/learnlearn.uk\/stemrobotics\/topic-3-dc-motors\/","url":"https:\/\/learnlearn.uk\/stemrobotics\/topic-3-dc-motors\/","name":"Topic 3 \u2013 DC Motors &#038; Servo Motors - Stem Robotics","isPartOf":{"@id":"https:\/\/learnlearn.uk\/stemrobotics\/#website"},"datePublished":"2023-06-27T08:57:20+00:00","dateModified":"2024-10-21T15:01:59+00:00","breadcrumb":{"@id":"https:\/\/learnlearn.uk\/stemrobotics\/topic-3-dc-motors\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/learnlearn.uk\/stemrobotics\/topic-3-dc-motors\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/learnlearn.uk\/stemrobotics\/topic-3-dc-motors\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/learnlearn.uk\/stemrobotics\/"},{"@type":"ListItem","position":2,"name":"Topic 3 \u2013 DC Motors &#038; Servo Motors"}]},{"@type":"WebSite","@id":"https:\/\/learnlearn.uk\/stemrobotics\/#website","url":"https:\/\/learnlearn.uk\/stemrobotics\/","name":"Stem Robotics LearnLearnuk","description":"","publisher":{"@id":"https:\/\/learnlearn.uk\/stemrobotics\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/learnlearn.uk\/stemrobotics\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-GB"},{"@type":"Organization","@id":"https:\/\/learnlearn.uk\/stemrobotics\/#organization","name":"Learnlearn","url":"https:\/\/learnlearn.uk\/stemrobotics\/","logo":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/learnlearn.uk\/stemrobotics\/#\/schema\/logo\/image\/","url":"https:\/\/learnlearn.uk\/stemrobotics\/wp-content\/uploads\/sites\/28\/2023\/06\/LearnLearnLogo-Light-Blue.png","contentUrl":"https:\/\/learnlearn.uk\/stemrobotics\/wp-content\/uploads\/sites\/28\/2023\/06\/LearnLearnLogo-Light-Blue.png","width":710,"height":98,"caption":"Learnlearn"},"image":{"@id":"https:\/\/learnlearn.uk\/stemrobotics\/#\/schema\/logo\/image\/"}}]}},"rttpg_featured_image_url":null,"rttpg_author":{"display_name":"learnlearnadmin","author_link":"https:\/\/learnlearn.uk\/stemrobotics\/author\/learnlearnadmin\/"},"rttpg_comment":0,"rttpg_category":null,"rttpg_excerpt":"Controlling a DC Motor A DC 6V hobby motor is a type of direct current motor commonly used in hobbyist and DIY projects. These motors are popular among hobbyists due to their simplicity, affordability, and versatility. Hobby motors can be controlled using various methods, including adjusting the voltage applied to the motor, using PWM (Pulse&hellip;&nbsp;Read&hellip;","_links":{"self":[{"href":"https:\/\/learnlearn.uk\/stemrobotics\/wp-json\/wp\/v2\/pages\/16"}],"collection":[{"href":"https:\/\/learnlearn.uk\/stemrobotics\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/learnlearn.uk\/stemrobotics\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/learnlearn.uk\/stemrobotics\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/learnlearn.uk\/stemrobotics\/wp-json\/wp\/v2\/comments?post=16"}],"version-history":[{"count":14,"href":"https:\/\/learnlearn.uk\/stemrobotics\/wp-json\/wp\/v2\/pages\/16\/revisions"}],"predecessor-version":[{"id":66,"href":"https:\/\/learnlearn.uk\/stemrobotics\/wp-json\/wp\/v2\/pages\/16\/revisions\/66"}],"wp:attachment":[{"href":"https:\/\/learnlearn.uk\/stemrobotics\/wp-json\/wp\/v2\/media?parent=16"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}