<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Using PID (Proportional-Integral-Derivative) in Robotics - How Hard Could It Be? -- Episode 614</title><link>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/28278/using-pid-proportional-integral-derivative-in-robotics---how-hard-could-it-be----episode-614</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>Using PID (Proportional-Integral-Derivative) in Robotics - How Hard Could It Be? -- Episode 614</title><link>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/28278/using-pid-proportional-integral-derivative-in-robotics---how-hard-could-it-be----episode-614</link><pubDate>Fri, 04 Aug 2023 07:24:00 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:2ab916a0-9ec2-4318-9c45-8ea788ae478c</guid><dc:creator>Matt</dc:creator><comments>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/28278/using-pid-proportional-integral-derivative-in-robotics---how-hard-could-it-be----episode-614#comments</comments><description>Current Revision posted to Documents by Matt on 8/4/2023 7:24:00 AM&lt;br /&gt;
&lt;p&gt;Adam has often wondered how PID controls work and how they are implemented. Is PID tuning challenging? Do external factors on the robot affect PID tuning? Watch Adam build a parking robot using PID to accelerate, decelerate, and keep track of the distance from other objects.&lt;/p&gt;
&lt;h2 id="mcetoc_1h6rmc0af0"&gt;Watch the Video:&lt;/h2&gt;
&lt;p&gt;&lt;a href="https://www.youtube.com/watch?v=eSIfUosY5h0"&gt;www.youtube.com/watch&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Adam takes on the challenge of using a PID (Proportional Integral Derivative) controller in a robotics project. He is interested in robotics and has experience with Halloween animatronics, but PID control presents a new level of complexity. PID is commonly used in advanced robotics projects. Examples include balancing robots or systems that require precise control to stay centered, such as a platform with a bouncing ping-pong ball.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-03-81/vlcsnap_2D00_2023_2D00_08_2D00_03_2D00_10h13m12s908.png" /&gt;&lt;/p&gt;
&lt;p&gt;Adam&amp;#39;s project involves creating a basic self-driving car that can accelerate and decelerate within a one-meter distance without overshooting the target. He has designed a robot with two beefy motors (120 RPM, 12 watts each) for the left and right sides. Power management is a concern, so he is considering using a cable instead of a battery. The robot will be driven by an Arduino Uno R4 Minima, which is a compact and capable microcontroller board that interfaces with the motor driver and an ultrasonic sensor to implement the PID control.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" style="max-height:360px;max-width:640px;" alt="3D CAD" src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-03-81/vlcsnap_2D00_2023_2D00_08_2D00_01_2D00_10h37m19s387.png" /&gt;&lt;/p&gt;
&lt;p&gt;To realize his design, Adam has iterated through various prototypes and 3D-printed parts for the robot. He used M3 screws for all components to avoid the need for hot glue or modifications. The robot features two large tires, and Adam plans to add electrical tape for better traction on hardwood surfaces. Despite the challenges during the design phase, he is excited about the potential success of the final product.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" style="max-height:360px;max-width:640px;" alt="3D Print" src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-03-81/vlcsnap_2D00_2023_2D00_08_2D00_01_2D00_10h37m37s317.png" /&gt;&lt;/p&gt;
&lt;p&gt;During the PID tuning process, Adam faces some difficulties. He turns to a chatbot for code assistance, but the provided code has some inaccuracies for his specific setup. Regardless, the code from the chatbot gives him valuable insights and prompts him to think about setting PWM limits and stopping when the target distance is reached. This process highlights the complexities involved in fine-tuning PID controllers for individual systems.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" style="max-height:360px;max-width:640px;" alt="Attempt 2" src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-03-81/vlcsnap_2D00_2023_2D00_08_2D00_01_2D00_10h38m02s927.png" /&gt;&lt;/p&gt;
&lt;p&gt;After adjusting his code and robot setup, Adam sees significant improvements in performance. Although there are still some issues with overcompensation and occasional tipping, the robot is now much closer to achieving its desired behaviour. PID tuning is an art form, it requires patience and understanding of numerous factors beyond just the constant values.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" style="max-height:360px;max-width:640px;" alt="...Hard" src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-03-81/vlcsnap_2D00_2023_2D00_08_2D00_01_2D00_10h38m29s197.png" /&gt;&lt;/p&gt;
&lt;p&gt;Throughout the project, Adam encounters challenges related to the ultrasonic sensor and weight distribution, but with the Arduino Uno R4 Minima at its core, he can efficiently program and fine-tune the PID controller to achieve the desired performance of the self-driving car. This powerful yet compact microcontroller empowers makers like Adam to explore advanced robotics concepts and experiment with PID control in their projects. Despite the difficulties, he is excited about the progress made and looks forward to further improvements in his robot&amp;#39;s behaviour.&amp;nbsp;&lt;/p&gt;
&lt;h2 id="mcetoc_1h6rmrtb73"&gt;Bonus Content:&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="/challenges-projects/element14-presents/secret-element14-presents/m/files/147936" data-e14adj="t"&gt;Download Code and CAD Files!&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="mcetoc_1h6rmjnd51"&gt;Bill of Material:&lt;/h2&gt;
&lt;table class="e14-product-bom-main"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;Product Name&lt;/th&gt;
&lt;th&gt;Manufacturer&lt;/th&gt;
&lt;th&gt;Quantity&lt;/th&gt;
&lt;th&gt;&lt;a id="e14-product-link-514bc" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=2845501,2819345,4208544&amp;nsku=50AC9540,11X5783,77AK2287&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_BUY_KIT" class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('514bc'));" data-farnell="2845501,2819345,4208544" data-newark="50AC9540,11X5783,77AK2287" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Kit&lt;/a&gt; &lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3D Printer Filament, PLA, White&lt;/td&gt;
&lt;td&gt;MULTICOMP&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-69a3a" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=2845501&amp;nsku=50AC9540&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('69a3a'));" data-farnell="2845501" data-newark="50AC9540" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Sensor Board, Ultrasonic Distance Sensor, PING&lt;/td&gt;
&lt;td&gt;PARALLAX&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-c9a05" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=2819345&amp;nsku=11X5783&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('c9a05'));" data-farnell="2819345" data-newark="11X5783" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;ARDUINO UNO REV4 WIFI ROHS COMPLIANT: YES&lt;/td&gt;
&lt;td&gt;Arduino&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-1b816" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=4208544&amp;nsku=77AK2287&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('1b816'));" data-farnell="4208544" data-newark="77AK2287" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="xs-hide"&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id="mcetoc_1h6rmk2k32"&gt;Additional Parts:&lt;/h2&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;2x 100 RPM 12V Gear Motor High Torque&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;DC Motor Driver, DROK L298&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Various M3 Screws&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div style="background:#ffffff;border:1px solid #dadada;margin:0;padding:14px 16px 16px 18px;vertical-align:top;"&gt;
&lt;div style="display:inline-block;float:left;padding:0px 25px 8px 0px;"&gt;&lt;a href="/challengesprojects/element14-presents/" data-e14adj="t"&gt;&lt;img loading="lazy" alt="element14 presents" src="/e14/assets/legacy/2018/e14PresentsJune818.png" width="180px" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style="display:inline-block;vertical-align:top;width:70%;"&gt;&lt;br /&gt;
&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/" data-e14adj="t"&gt;element14 presents&lt;/a&gt;&lt;/span&gt;&amp;nbsp; &lt;strong&gt;|&lt;/strong&gt;&amp;nbsp; &lt;a class="jive-link-wiki-small" href="/challengesprojects/element14-presents/vcp-program/w/documents/4908/vcp-biography-adam" data-e14adj="t"&gt;About Adam&lt;/a&gt; &lt;span style="padding-right:5px;"&gt; &lt;/span&gt;&lt;strong&gt;|&lt;/strong&gt;&amp;nbsp; &lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/project-videos/" data-e14adj="t"&gt;Project Videos&lt;/a&gt;&lt;/p&gt;
&lt;p style="margin:0;"&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: robot design, advanced robotics, ultrasonic sensor, Self-Driving Car, e14p_AS, fine-tuning pid, arduino minima r4, 3D Printing, robitics tuning techniques, autonomous vehicles, robotics tutorial, PID Control, balancing robot, robotics project, motor driver, friday_release, maker's challenge&lt;/div&gt;
</description></item><item><title>Episode 614: Using PID (Proportional-Integral-Derivative) in Robotics - How Hard Could It Be?</title><link>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/28278/using-pid-proportional-integral-derivative-in-robotics---how-hard-could-it-be----episode-614/revision/7</link><pubDate>Fri, 04 Aug 2023 13:45:34 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:2ab916a0-9ec2-4318-9c45-8ea788ae478c</guid><dc:creator>pchan</dc:creator><comments>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/28278/using-pid-proportional-integral-derivative-in-robotics---how-hard-could-it-be----episode-614#comments</comments><description>Revision 7 posted to Documents by pchan on 8/4/2023 1:45:34 PM&lt;br /&gt;
&lt;p&gt;Adam has often wondered how PID controls work and how they are implemented. Is PID tuning challenging? Do external factors on the robot affect PID tuning? Watch Adam build a parking robot using PID to accelerate, decelerate, and keep track of the distance from other objects.&lt;/p&gt;
&lt;h2 id="mcetoc_1h6rmc0af0"&gt;Watch the Video:&lt;/h2&gt;
&lt;p&gt;&lt;a href="https://www.youtube.com/watch?v=eSIfUosY5h0"&gt;www.youtube.com/watch&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Adam takes on the challenge of using a PID (Proportional Integral Derivative) controller in a robotics project. He is interested in robotics and has experience with Halloween animatronics, but PID control presents a new level of complexity. PID is commonly used in advanced robotics projects. Examples include balancing robots or systems that require precise control to stay centered, such as a platform with a bouncing ping-pong ball.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-03-81/vlcsnap_2D00_2023_2D00_08_2D00_03_2D00_10h13m12s908.png" /&gt;&lt;/p&gt;
&lt;p&gt;Adam&amp;#39;s project involves creating a basic self-driving car that can accelerate and decelerate within a one-meter distance without overshooting the target. He has designed a robot with two beefy motors (120 RPM, 12 watts each) for the left and right sides. Power management is a concern, so he is considering using a cable instead of a battery. The robot will be driven by an Arduino Uno R4 Minima, which is a compact and capable microcontroller board that interfaces with the motor driver and an ultrasonic sensor to implement the PID control.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" style="max-height:360px;max-width:640px;" alt="3D CAD" src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-03-81/vlcsnap_2D00_2023_2D00_08_2D00_01_2D00_10h37m19s387.png" /&gt;&lt;/p&gt;
&lt;p&gt;To realize his design, Adam has iterated through various prototypes and 3D-printed parts for the robot. He used M3 screws for all components to avoid the need for hot glue or modifications. The robot features two large tires, and Adam plans to add electrical tape for better traction on hardwood surfaces. Despite the challenges during the design phase, he is excited about the potential success of the final product.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" style="max-height:360px;max-width:640px;" alt="3D Print" src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-03-81/vlcsnap_2D00_2023_2D00_08_2D00_01_2D00_10h37m37s317.png" /&gt;&lt;/p&gt;
&lt;p&gt;During the PID tuning process, Adam faces some difficulties. He turns to a chatbot for code assistance, but the provided code has some inaccuracies for his specific setup. Regardless, the code from the chatbot gives him valuable insights and prompts him to think about setting PWM limits and stopping when the target distance is reached. This process highlights the complexities involved in fine-tuning PID controllers for individual systems.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" style="max-height:360px;max-width:640px;" alt="Attempt 2" src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-03-81/vlcsnap_2D00_2023_2D00_08_2D00_01_2D00_10h38m02s927.png" /&gt;&lt;/p&gt;
&lt;p&gt;After adjusting his code and robot setup, Adam sees significant improvements in performance. Although there are still some issues with overcompensation and occasional tipping, the robot is now much closer to achieving its desired behaviour. PID tuning is an art form, it requires patience and understanding of numerous factors beyond just the constant values.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" style="max-height:360px;max-width:640px;" alt="...Hard" src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-03-81/vlcsnap_2D00_2023_2D00_08_2D00_01_2D00_10h38m29s197.png" /&gt;&lt;/p&gt;
&lt;p&gt;Throughout the project, Adam encounters challenges related to the ultrasonic sensor and weight distribution, but with the Arduino Uno R4 Minima at its core, he can efficiently program and fine-tune the PID controller to achieve the desired performance of the self-driving car. This powerful yet compact microcontroller empowers makers like Adam to explore advanced robotics concepts and experiment with PID control in their projects. Despite the difficulties, he is excited about the progress made and looks forward to further improvements in his robot&amp;#39;s behaviour.&amp;nbsp;&lt;/p&gt;
&lt;h2 id="mcetoc_1h6rmrtb73"&gt;Bonus Content:&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="/challenges-projects/element14-presents/secret-element14-presents/m/files/147936"&gt;Download Code and CAD Files!&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="mcetoc_1h6rmjnd51"&gt;Bill of Material:&lt;/h2&gt;
&lt;table class="e14-product-bom-main"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;Product Name&lt;/th&gt;
&lt;th&gt;Manufacturer&lt;/th&gt;
&lt;th&gt;Quantity&lt;/th&gt;
&lt;th&gt;&lt;a id="e14-product-link-bc42f" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=2845501,2819345,4208544&amp;nsku=50AC9540,11X5783,77AK2287&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_BUY_KIT" class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('bc42f'));" data-farnell="2845501,2819345,4208544" data-newark="50AC9540,11X5783,77AK2287" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Kit&lt;/a&gt; &lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3D Printer Filament, PLA, White&lt;/td&gt;
&lt;td&gt;MULTICOMP&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-68c28" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=2845501&amp;nsku=50AC9540&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('68c28'));" data-farnell="2845501" data-newark="50AC9540" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Sensor Board, Ultrasonic Distance Sensor, PING&lt;/td&gt;
&lt;td&gt;PARALLAX&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-e1ea9" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=2819345&amp;nsku=11X5783&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('e1ea9'));" data-farnell="2819345" data-newark="11X5783" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;ARDUINO UNO REV4 WIFI ROHS COMPLIANT: YES&lt;/td&gt;
&lt;td&gt;Arduino&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-92071" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=4208544&amp;nsku=77AK2287&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('92071'));" data-farnell="4208544" data-newark="77AK2287" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="xs-hide"&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id="mcetoc_1h6rmk2k32"&gt;Additional Parts:&lt;/h2&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;2x 100 RPM 12V Gear Motor High Torque&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;DC Motor Driver, DROK L298&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Various M3 Screws&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div style="background:#ffffff;border:1px solid #dadada;margin:0;padding:14px 16px 16px 18px;vertical-align:top;"&gt;
&lt;div style="display:inline-block;float:left;padding:0px 25px 8px 0px;"&gt;&lt;a href="/challengesprojects/element14-presents/"&gt;&lt;img loading="lazy" alt="element14 presents" src="/e14/assets/legacy/2018/e14PresentsJune818.png" width="180px" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style="display:inline-block;vertical-align:top;width:70%;"&gt;&lt;br /&gt;
&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/"&gt;element14 presents&lt;/a&gt;&lt;/span&gt;&amp;nbsp; &lt;strong&gt;|&lt;/strong&gt;&amp;nbsp; &lt;a class="jive-link-wiki-small" href="/challengesprojects/element14-presents/vcp-program/w/documents/4908/vcp-biography-adam"&gt;About Adam&lt;/a&gt; &lt;span style="padding-right:5px;"&gt; &lt;/span&gt;&lt;strong&gt;|&lt;/strong&gt;&amp;nbsp; &lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/project-videos/"&gt;Project Videos&lt;/a&gt;&lt;/p&gt;
&lt;p style="margin:0;"&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: robot design, advanced robotics, ultrasonic sensor, Self-Driving Car, e14p_AS, fine-tuning pid, arduino minima r4, 3D Printing, robitics tuning techniques, autonomous vehicles, robotics tutorial, PID Control, balancing robot, robotics project, motor driver, friday_release, maker's challenge&lt;/div&gt;
</description></item><item><title>Episode 614: Using PID (Proportional-Integral-Derivative) in Robotics - How Hard Could It Be?</title><link>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/28278/using-pid-proportional-integral-derivative-in-robotics---how-hard-could-it-be----episode-614/revision/5</link><pubDate>Thu, 03 Aug 2023 15:14:27 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:2ab916a0-9ec2-4318-9c45-8ea788ae478c</guid><dc:creator>jordanrjohnson</dc:creator><comments>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/28278/using-pid-proportional-integral-derivative-in-robotics---how-hard-could-it-be----episode-614#comments</comments><description>Revision 5 posted to Documents by jordanrjohnson on 8/3/2023 3:14:27 PM&lt;br /&gt;
&lt;p&gt;Adam has often wondered how PID controls work and how they are implemented. Is PID tuning challenging? Do external factors on the robot affect PID tuning? Watch Adam build a parking robot using PID to accelerate, decelerate, and keep track of the distance from other objects.&lt;/p&gt;
&lt;h2 id="mcetoc_1h6rmc0af0"&gt;Watch the Video:&lt;/h2&gt;
&lt;p&gt;&lt;a href="https://www.youtube.com/watch?v=eSIfUosY5h0"&gt;www.youtube.com/watch&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Adam takes on the challenge of using a PID (Proportional Integral Derivative) controller in a robotics project. He is interested in robotics and has experience with Halloween animatronics, but PID control presents a new level of complexity. PID is commonly used in advanced robotics projects. Examples include balancing robots or systems that require precise control to stay centered, such as a platform with a bouncing ping-pong ball.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt="image" style="max-height:360px;max-width:640px;" src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/vlcsnap_2D00_2023_2D00_08_2D00_03_2D00_10h13m12s908.png"  /&gt;&lt;/p&gt;
&lt;p&gt;Adam&amp;#39;s project involves creating a basic self-driving car that can accelerate and decelerate within a one-meter distance without overshooting the target. He has designed a robot with two beefy motors (120 RPM, 12 watts each) for the left and right sides. Power management is a concern, so he is considering using a cable instead of a battery. The robot will be driven by an Arduino Uno R4 Minima, which is a compact and capable microcontroller board that interfaces with the motor driver and an ultrasonic sensor to implement the PID control.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" style="max-height:360px;max-width:640px;" alt="3D CAD" src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/vlcsnap_2D00_2023_2D00_08_2D00_01_2D00_10h37m19s387.png" /&gt;&lt;/p&gt;
&lt;p&gt;To realize his design, Adam has iterated through various prototypes and 3D-printed parts for the robot. He used M3 screws for all components to avoid the need for hot glue or modifications. The robot features two large tires, and Adam plans to add electrical tape for better traction on hardwood surfaces. Despite the challenges during the design phase, he is excited about the potential success of the final product.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" style="max-height:360px;max-width:640px;" alt="3D Print" src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/vlcsnap_2D00_2023_2D00_08_2D00_01_2D00_10h37m37s317.png" /&gt;&lt;/p&gt;
&lt;p&gt;During the PID tuning process, Adam faces some difficulties. He turns to a chatbot for code assistance, but the provided code has some inaccuracies for his specific setup. Regardless, the code from the chatbot gives him valuable insights and prompts him to think about setting PWM limits and stopping when the target distance is reached. This process highlights the complexities involved in fine-tuning PID controllers for individual systems.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" style="max-height:360px;max-width:640px;" alt="Attempt 2" src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/vlcsnap_2D00_2023_2D00_08_2D00_01_2D00_10h38m02s927.png" /&gt;&lt;/p&gt;
&lt;p&gt;After adjusting his code and robot setup, Adam sees significant improvements in performance. Although there are still some issues with overcompensation and occasional tipping, the robot is now much closer to achieving its desired behaviour. PID tuning is an art form, it requires patience and understanding of numerous factors beyond just the constant values.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" style="max-height:360px;max-width:640px;" alt="...Hard" src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/vlcsnap_2D00_2023_2D00_08_2D00_01_2D00_10h38m29s197.png" /&gt;&lt;/p&gt;
&lt;p&gt;Throughout the project, Adam encounters challenges related to the ultrasonic sensor and weight distribution, but with the Arduino Uno R4 Minima at its core, he can efficiently program and fine-tune the PID controller to achieve the desired performance of the self-driving car. This powerful yet compact microcontroller empowers makers like Adam to explore advanced robotics concepts and experiment with PID control in their projects. Despite the difficulties, he is excited about the progress made and looks forward to further improvements in his robot&amp;#39;s behaviour.&amp;nbsp;&lt;/p&gt;
&lt;h2 id="mcetoc_1h6rmrtb73"&gt;Bonus Content:&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="/challenges-projects/element14-presents/secret-element14-presents/m/files/147936"&gt;Download Code and CAD Files!&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="mcetoc_1h6rmjnd51"&gt;Bill of Material:&lt;/h2&gt;
&lt;table class="e14-product-bom-main"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;Product Name&lt;/th&gt;
&lt;th&gt;Manufacturer&lt;/th&gt;
&lt;th&gt;Quantity&lt;/th&gt;
&lt;th&gt;&lt;a id="e14-product-link-f5520" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=2845501,2819345,4208544&amp;nsku=50AC9540,11X5783,77AK2287&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_BUY_KIT" class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('f5520'));" data-farnell="2845501,2819345,4208544" data-newark="50AC9540,11X5783,77AK2287" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Kit&lt;/a&gt; &lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3D Printer Filament, PLA, White&lt;/td&gt;
&lt;td&gt;MULTICOMP&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-dcde9" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=2845501&amp;nsku=50AC9540&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('dcde9'));" data-farnell="2845501" data-newark="50AC9540" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Sensor Board, Ultrasonic Distance Sensor, PING&lt;/td&gt;
&lt;td&gt;PARALLAX&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-81040" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=2819345&amp;nsku=11X5783&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('81040'));" data-farnell="2819345" data-newark="11X5783" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;ARDUINO UNO REV4 WIFI ROHS COMPLIANT: YES&lt;/td&gt;
&lt;td&gt;Arduino&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-40fa9" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=4208544&amp;nsku=77AK2287&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('40fa9'));" data-farnell="4208544" data-newark="77AK2287" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="xs-hide"&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id="mcetoc_1h6rmk2k32"&gt;Additional Parts:&lt;/h2&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;2x 100 RPM 12V Gear Motor High Torque&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;DC Motor Driver, DROK L298&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Various M3 Screws&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: robot design, advanced robotics, ultrasonic sensor, Self-Driving Car, e14p_AS, fine-tuning pid, arduino minima r4, 3D Printing, robitics tuning techniques, autonomous vehicles, robotics tutorial, PID Control, balancing robot, robotics project, motor driver, friday_release, maker's challenge&lt;/div&gt;
</description></item><item><title>Episode 614: Using PID (Proportional-Integral-Derivative) in Robotics - How Hard Could It Be?</title><link>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/28278/using-pid-proportional-integral-derivative-in-robotics---how-hard-could-it-be----episode-614/revision/6</link><pubDate>Thu, 03 Aug 2023 15:14:27 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:2ab916a0-9ec2-4318-9c45-8ea788ae478c</guid><dc:creator>jordanrjohnson</dc:creator><comments>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/28278/using-pid-proportional-integral-derivative-in-robotics---how-hard-could-it-be----episode-614#comments</comments><description>Revision 6 posted to Documents by jordanrjohnson on 8/3/2023 3:14:27 PM&lt;br /&gt;
&lt;p&gt;Adam has often wondered how PID controls work and how they are implemented. Is PID tuning challenging? Do external factors on the robot affect PID tuning? Watch Adam build a parking robot using PID to accelerate, decelerate, and keep track of the distance from other objects.&lt;/p&gt;
&lt;h2 id="mcetoc_1h6rmc0af0"&gt;Watch the Video:&lt;/h2&gt;
&lt;p&gt;&lt;a href="https://www.youtube.com/watch?v=eSIfUosY5h0"&gt;www.youtube.com/watch&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Adam takes on the challenge of using a PID (Proportional Integral Derivative) controller in a robotics project. He is interested in robotics and has experience with Halloween animatronics, but PID control presents a new level of complexity. PID is commonly used in advanced robotics projects. Examples include balancing robots or systems that require precise control to stay centered, such as a platform with a bouncing ping-pong ball.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt="image" style="max-height:360px;max-width:640px;" src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-03-81/vlcsnap_2D00_2023_2D00_08_2D00_03_2D00_10h13m12s908.png"  /&gt;&lt;/p&gt;
&lt;p&gt;Adam&amp;#39;s project involves creating a basic self-driving car that can accelerate and decelerate within a one-meter distance without overshooting the target. He has designed a robot with two beefy motors (120 RPM, 12 watts each) for the left and right sides. Power management is a concern, so he is considering using a cable instead of a battery. The robot will be driven by an Arduino Uno R4 Minima, which is a compact and capable microcontroller board that interfaces with the motor driver and an ultrasonic sensor to implement the PID control.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" style="max-height:360px;max-width:640px;" alt="3D CAD" src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-03-81/vlcsnap_2D00_2023_2D00_08_2D00_01_2D00_10h37m19s387.png" /&gt;&lt;/p&gt;
&lt;p&gt;To realize his design, Adam has iterated through various prototypes and 3D-printed parts for the robot. He used M3 screws for all components to avoid the need for hot glue or modifications. The robot features two large tires, and Adam plans to add electrical tape for better traction on hardwood surfaces. Despite the challenges during the design phase, he is excited about the potential success of the final product.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" style="max-height:360px;max-width:640px;" alt="3D Print" src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-03-81/vlcsnap_2D00_2023_2D00_08_2D00_01_2D00_10h37m37s317.png" /&gt;&lt;/p&gt;
&lt;p&gt;During the PID tuning process, Adam faces some difficulties. He turns to a chatbot for code assistance, but the provided code has some inaccuracies for his specific setup. Regardless, the code from the chatbot gives him valuable insights and prompts him to think about setting PWM limits and stopping when the target distance is reached. This process highlights the complexities involved in fine-tuning PID controllers for individual systems.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" style="max-height:360px;max-width:640px;" alt="Attempt 2" src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-03-81/vlcsnap_2D00_2023_2D00_08_2D00_01_2D00_10h38m02s927.png" /&gt;&lt;/p&gt;
&lt;p&gt;After adjusting his code and robot setup, Adam sees significant improvements in performance. Although there are still some issues with overcompensation and occasional tipping, the robot is now much closer to achieving its desired behaviour. PID tuning is an art form, it requires patience and understanding of numerous factors beyond just the constant values.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" style="max-height:360px;max-width:640px;" alt="...Hard" src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-03-81/vlcsnap_2D00_2023_2D00_08_2D00_01_2D00_10h38m29s197.png" /&gt;&lt;/p&gt;
&lt;p&gt;Throughout the project, Adam encounters challenges related to the ultrasonic sensor and weight distribution, but with the Arduino Uno R4 Minima at its core, he can efficiently program and fine-tune the PID controller to achieve the desired performance of the self-driving car. This powerful yet compact microcontroller empowers makers like Adam to explore advanced robotics concepts and experiment with PID control in their projects. Despite the difficulties, he is excited about the progress made and looks forward to further improvements in his robot&amp;#39;s behaviour.&amp;nbsp;&lt;/p&gt;
&lt;h2 id="mcetoc_1h6rmrtb73"&gt;Bonus Content:&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="/challenges-projects/element14-presents/secret-element14-presents/m/files/147936"&gt;Download Code and CAD Files!&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="mcetoc_1h6rmjnd51"&gt;Bill of Material:&lt;/h2&gt;
&lt;table class="e14-product-bom-main"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;Product Name&lt;/th&gt;
&lt;th&gt;Manufacturer&lt;/th&gt;
&lt;th&gt;Quantity&lt;/th&gt;
&lt;th&gt;&lt;a id="e14-product-link-4c5fd" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=2845501,2819345,4208544&amp;nsku=50AC9540,11X5783,77AK2287&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_BUY_KIT" class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('4c5fd'));" data-farnell="2845501,2819345,4208544" data-newark="50AC9540,11X5783,77AK2287" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Kit&lt;/a&gt; &lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3D Printer Filament, PLA, White&lt;/td&gt;
&lt;td&gt;MULTICOMP&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-8a01c" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=2845501&amp;nsku=50AC9540&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('8a01c'));" data-farnell="2845501" data-newark="50AC9540" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Sensor Board, Ultrasonic Distance Sensor, PING&lt;/td&gt;
&lt;td&gt;PARALLAX&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-f559c" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=2819345&amp;nsku=11X5783&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('f559c'));" data-farnell="2819345" data-newark="11X5783" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;ARDUINO UNO REV4 WIFI ROHS COMPLIANT: YES&lt;/td&gt;
&lt;td&gt;Arduino&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-55bd5" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=4208544&amp;nsku=77AK2287&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('55bd5'));" data-farnell="4208544" data-newark="77AK2287" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="xs-hide"&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id="mcetoc_1h6rmk2k32"&gt;Additional Parts:&lt;/h2&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;2x 100 RPM 12V Gear Motor High Torque&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;DC Motor Driver, DROK L298&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Various M3 Screws&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: robot design, advanced robotics, ultrasonic sensor, Self-Driving Car, e14p_AS, fine-tuning pid, arduino minima r4, 3D Printing, robitics tuning techniques, autonomous vehicles, robotics tutorial, PID Control, balancing robot, robotics project, motor driver, friday_release, maker's challenge&lt;/div&gt;
</description></item><item><title>Episode 614: Using PID (Proportional-Integral-Derivative) in Robotics - How Hard Could It Be?</title><link>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/28278/using-pid-proportional-integral-derivative-in-robotics---how-hard-could-it-be----episode-614/revision/4</link><pubDate>Thu, 03 Aug 2023 09:16:12 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:2ab916a0-9ec2-4318-9c45-8ea788ae478c</guid><dc:creator>cstanton</dc:creator><comments>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/28278/using-pid-proportional-integral-derivative-in-robotics---how-hard-could-it-be----episode-614#comments</comments><description>Revision 4 posted to Documents by cstanton on 8/3/2023 9:16:12 AM&lt;br /&gt;
&lt;p&gt;Adam has often wondered how PID controls work and how they are implemented. Is PID tuning challenging? Do external factors on the robot affect PID tuning? Watch Adam build a parking robot using PID to accelerate, decelerate, and keep track of the distance from other objects.&lt;/p&gt;
&lt;h2 id="mcetoc_1h6rmc0af0"&gt;Watch the Video:&lt;/h2&gt;
&lt;p&gt;&lt;a href="https://www.youtube.com/watch?v=eSIfUosY5h0"&gt;www.youtube.com/watch&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Adam takes on the challenge of using a PID (Proportional Integral Derivative) controller in a robotics project. He is interested in robotics and has experience with Halloween animatronics, but PID control presents a new level of complexity. PID is commonly used in advanced robotics projects. Examples include balancing robots or systems that require precise control to stay centered, such as a platform with a bouncing ping-pong ball.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:360px;max-width:640px;" alt="Adam" src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/vlcsnap_2D00_2023_2D00_08_2D00_01_2D00_10h37m04s333.png" /&gt;&lt;/p&gt;
&lt;p&gt;Adam&amp;#39;s project involves creating a basic self-driving car that can accelerate and decelerate within a one-meter distance without overshooting the target. He has designed a robot with two beefy motors (120 RPM, 12 watts each) for the left and right sides. Power management is a concern, so he is considering using a cable instead of a battery. The robot will be driven by an Arduino Uno R4 Minima, which is a compact and capable microcontroller board that interfaces with the motor driver and an ultrasonic sensor to implement the PID control.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" style="max-height:360px;max-width:640px;" alt="3D CAD" src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/vlcsnap_2D00_2023_2D00_08_2D00_01_2D00_10h37m19s387.png" /&gt;&lt;/p&gt;
&lt;p&gt;To realize his design, Adam has iterated through various prototypes and 3D-printed parts for the robot. He used M3 screws for all components to avoid the need for hot glue or modifications. The robot features two large tires, and Adam plans to add electrical tape for better traction on hardwood surfaces. Despite the challenges during the design phase, he is excited about the potential success of the final product.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" style="max-height:360px;max-width:640px;" alt="3D Print" src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/vlcsnap_2D00_2023_2D00_08_2D00_01_2D00_10h37m37s317.png" /&gt;&lt;/p&gt;
&lt;p&gt;During the PID tuning process, Adam faces some difficulties. He turns to a chatbot for code assistance, but the provided code has some inaccuracies for his specific setup. Regardless, the code from the chatbot gives him valuable insights and prompts him to think about setting PWM limits and stopping when the target distance is reached. This process highlights the complexities involved in fine-tuning PID controllers for individual systems.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" style="max-height:360px;max-width:640px;" alt="Attempt 2" src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/vlcsnap_2D00_2023_2D00_08_2D00_01_2D00_10h38m02s927.png" /&gt;&lt;/p&gt;
&lt;p&gt;After adjusting his code and robot setup, Adam sees significant improvements in performance. Although there are still some issues with overcompensation and occasional tipping, the robot is now much closer to achieving its desired behaviour. PID tuning is an art form, it requires patience and understanding of numerous factors beyond just the constant values.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" style="max-height:360px;max-width:640px;" alt="...Hard" src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/vlcsnap_2D00_2023_2D00_08_2D00_01_2D00_10h38m29s197.png" /&gt;&lt;/p&gt;
&lt;p&gt;Throughout the project, Adam encounters challenges related to the ultrasonic sensor and weight distribution, but with the Arduino Uno R4 Minima at its core, he can efficiently program and fine-tune the PID controller to achieve the desired performance of the self-driving car. This powerful yet compact microcontroller empowers makers like Adam to explore advanced robotics concepts and experiment with PID control in their projects. Despite the difficulties, he is excited about the progress made and looks forward to further improvements in his robot&amp;#39;s behaviour.&amp;nbsp;&lt;/p&gt;
&lt;h2 id="mcetoc_1h6rmrtb73"&gt;Bonus Content:&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="/challenges-projects/element14-presents/secret-element14-presents/m/files/147936"&gt;Download Code and CAD Files!&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="mcetoc_1h6rmjnd51"&gt;Bill of Material:&lt;/h2&gt;
&lt;table class="e14-product-bom-main"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;Product Name&lt;/th&gt;
&lt;th&gt;Manufacturer&lt;/th&gt;
&lt;th&gt;Quantity&lt;/th&gt;
&lt;th&gt;&lt;a id="e14-product-link-74180" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=2845501,2819345,4208544&amp;nsku=50AC9540,11X5783,77AK2287&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_BUY_KIT" class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('74180'));" data-farnell="2845501,2819345,4208544" data-newark="50AC9540,11X5783,77AK2287" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Kit&lt;/a&gt; &lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3D Printer Filament, PLA, White&lt;/td&gt;
&lt;td&gt;MULTICOMP&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-6367c" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=2845501&amp;nsku=50AC9540&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('6367c'));" data-farnell="2845501" data-newark="50AC9540" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Sensor Board, Ultrasonic Distance Sensor, PING&lt;/td&gt;
&lt;td&gt;PARALLAX&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-e218c" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=2819345&amp;nsku=11X5783&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('e218c'));" data-farnell="2819345" data-newark="11X5783" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;ARDUINO UNO REV4 WIFI ROHS COMPLIANT: YES&lt;/td&gt;
&lt;td&gt;Arduino&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-97074" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=4208544&amp;nsku=77AK2287&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('97074'));" data-farnell="4208544" data-newark="77AK2287" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="xs-hide"&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id="mcetoc_1h6rmk2k32"&gt;Additional Parts:&lt;/h2&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;2x 100 RPM 12V Gear Motor High Torque&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;DC Motor Driver, DROK L298&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Various M3 Screws&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: robot design, advanced robotics, ultrasonic sensor, Self-Driving Car, e14p_AS, fine-tuning pid, arduino minima r4, 3D Printing, robitics tuning techniques, autonomous vehicles, robotics tutorial, PID Control, balancing robot, robotics project, motor driver, friday_release, maker's challenge&lt;/div&gt;
</description></item><item><title>Episode 614: Using PID (Proportional-Integral-Derivative) in Robotics - How Hard Could It Be?</title><link>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/28278/using-pid-proportional-integral-derivative-in-robotics---how-hard-could-it-be----episode-614/revision/3</link><pubDate>Wed, 02 Aug 2023 18:16:22 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:2ab916a0-9ec2-4318-9c45-8ea788ae478c</guid><dc:creator>jordanrjohnson</dc:creator><comments>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/28278/using-pid-proportional-integral-derivative-in-robotics---how-hard-could-it-be----episode-614#comments</comments><description>Revision 3 posted to Documents by jordanrjohnson on 8/2/2023 6:16:22 PM&lt;br /&gt;
&lt;p&gt;Adam has often wondered how PID controls work and how they are implemented. Is PID tuning challenging? Do external factors on the robot affect PID tuning? Watch Adam build a parking robot using PID to accelerate, decelerate, and keep track of the distance from other objects.&lt;/p&gt;
&lt;h3 id="mcetoc_1h6rmc0af0"&gt;Watch the Video:&lt;/h3&gt;
&lt;p&gt;&lt;a href="https://www.youtube.com/watch?v=eSIfUosY5h0"&gt;www.youtube.com/watch&lt;/a&gt;&lt;/p&gt;
&lt;h3 id="mcetoc_1h6rmrtb73"&gt;Bonus Content:&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="/challenges-projects/element14-presents/secret-element14-presents/m/files/147936"&gt;Download Code and CAD Files!&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="mcetoc_1h6rmjnd51"&gt;Bill of Material:&lt;/h3&gt;
&lt;table class="e14-product-bom-main"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;Product Name&lt;/th&gt;
&lt;th&gt;Manufacturer&lt;/th&gt;
&lt;th&gt;Quantity&lt;/th&gt;
&lt;th&gt;&lt;a id="e14-product-link-aa3cb" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=2845501,2819345,4208544&amp;nsku=50AC9540,11X5783,77AK2287&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_BUY_KIT" class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('aa3cb'));" data-farnell="2845501,2819345,4208544" data-newark="50AC9540,11X5783,77AK2287" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Kit&lt;/a&gt; &lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3D Printer Filament, PLA, White&lt;/td&gt;
&lt;td&gt;MULTICOMP&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-c044a" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=2845501&amp;nsku=50AC9540&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('c044a'));" data-farnell="2845501" data-newark="50AC9540" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Sensor Board, Ultrasonic Distance Sensor, PING&lt;/td&gt;
&lt;td&gt;PARALLAX&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-e5402" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=2819345&amp;nsku=11X5783&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('e5402'));" data-farnell="2819345" data-newark="11X5783" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;ARDUINO UNO REV4 WIFI ROHS COMPLIANT: YES&lt;/td&gt;
&lt;td&gt;Arduino&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-95641" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=4208544&amp;nsku=77AK2287&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('95641'));" data-farnell="4208544" data-newark="77AK2287" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="xs-hide"&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h3 id="mcetoc_1h6rmk2k32"&gt;Additional Parts:&lt;/h3&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;2x 100 RPM 12V Gear Motor High Torque&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;DC Motor Driver, DROK L298&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Various M3 Screws&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: dc motor, ultrasonic sensor, Feedback Loop, e14p_AS, h-bridge, controls, driverless car, Arduino R4 Minima, pid, arduino, friday_release, Stable System&lt;/div&gt;
</description></item><item><title>Episode 614: Using PID (Proportional-Integral-Derivative) in Robotics - How Hard Could It Be?</title><link>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/28278/using-pid-proportional-integral-derivative-in-robotics---how-hard-could-it-be----episode-614/revision/2</link><pubDate>Wed, 02 Aug 2023 18:09:21 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:2ab916a0-9ec2-4318-9c45-8ea788ae478c</guid><dc:creator>tariq.ahmad</dc:creator><comments>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/28278/using-pid-proportional-integral-derivative-in-robotics---how-hard-could-it-be----episode-614#comments</comments><description>Revision 2 posted to Documents by tariq.ahmad on 8/2/2023 6:09:21 PM&lt;br /&gt;
&lt;p&gt;Adam has often wondered how PID controls work and how they are implemented. Is PID tuning challenging? Do external factors on the robot affect PID tuning? Watch Adam build a parking robot, using PID to accelerate, decelerate, and keep track of the distance from other objects.&lt;/p&gt;
&lt;h3 id="mcetoc_1h6rmc0af0"&gt;Watch the Video:&lt;/h3&gt;
&lt;p&gt;&lt;a href="https://www.youtube.com/watch?v=eSIfUosY5h0"&gt;www.youtube.com/watch&lt;/a&gt;&lt;/p&gt;
&lt;h3 id="mcetoc_1h6rmrtb73"&gt;Bonus Content:&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="/challenges-projects/element14-presents/secret-element14-presents/m/files/147936"&gt;Download Code and CAD Files!&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="mcetoc_1h6rmjnd51"&gt;Bill of Material:&lt;/h3&gt;
&lt;table class="e14-product-bom-main"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;Product Name&lt;/th&gt;
&lt;th&gt;Manufacturer&lt;/th&gt;
&lt;th&gt;Quantity&lt;/th&gt;
&lt;th&gt;&lt;a id="e14-product-link-58dcf" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=2845501,2819345,4208544&amp;nsku=50AC9540,11X5783,77AK2287&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_BUY_KIT" class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('58dcf'));" data-farnell="2845501,2819345,4208544" data-newark="50AC9540,11X5783,77AK2287" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Kit&lt;/a&gt; &lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3D Printer Filament, PLA, White&lt;/td&gt;
&lt;td&gt;MULTICOMP&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-07863" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=2845501&amp;nsku=50AC9540&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('07863'));" data-farnell="2845501" data-newark="50AC9540" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Sensor Board, Ultrasonic Distance Sensor, PING&lt;/td&gt;
&lt;td&gt;PARALLAX&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-c11dd" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=2819345&amp;nsku=11X5783&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('c11dd'));" data-farnell="2819345" data-newark="11X5783" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;ARDUINO UNO REV4 WIFI ROHS COMPLIANT: YES&lt;/td&gt;
&lt;td&gt;Arduino&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-74c1d" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=4208544&amp;nsku=77AK2287&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('74c1d'));" data-farnell="4208544" data-newark="77AK2287" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="xs-hide"&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h3 id="mcetoc_1h6rmk2k32"&gt;Additional Parts:&lt;/h3&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;2x 100 RPM 12V Gear Motor High Torque&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;DC Motor Driver, DROK L298&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Various M3 Screws&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: dc motor, ultrasonic sensor, Feedback Loop, e14p_AS, h-bridge, controls, driverless car, Arduino R4 Minima, pid, arduino, friday_release, Stable System&lt;/div&gt;
</description></item><item><title>Episode 614: Using PID (Proportional-Integral-Derivative) in Robotics - How Hard Could It Be?</title><link>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/28278/using-pid-proportional-integral-derivative-in-robotics---how-hard-could-it-be----episode-614/revision/1</link><pubDate>Wed, 02 Aug 2023 18:07:18 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:2ab916a0-9ec2-4318-9c45-8ea788ae478c</guid><dc:creator>tariq.ahmad</dc:creator><comments>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/28278/using-pid-proportional-integral-derivative-in-robotics---how-hard-could-it-be----episode-614#comments</comments><description>Revision 1 posted to Documents by tariq.ahmad on 8/2/2023 6:07:18 PM&lt;br /&gt;
&lt;p&gt;Adam has often wondered how PID controls work and how they are implemented. Is PID tuning challenging? Do external factors on the robot affect PID tuning? Watch Adam build a parking robot, using PID to accelerate, decelerate, and keep track of the distance from other objects.&lt;/p&gt;
&lt;h3 id="mcetoc_1h6rmc0af0"&gt;Watch the Video:&lt;/h3&gt;
&lt;p&gt;&lt;a href="https://www.youtube.com/watch?v=eSIfUosY5h0"&gt;www.youtube.com/watch&lt;/a&gt;&lt;/p&gt;
&lt;h3 id="mcetoc_1h6rmrtb73"&gt;Bonus Content:&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Download Code and CAD Files!&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="mcetoc_1h6rmjnd51"&gt;Bill of Material:&lt;/h3&gt;
&lt;table class="e14-product-bom-main"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;Product Name&lt;/th&gt;
&lt;th&gt;Manufacturer&lt;/th&gt;
&lt;th&gt;Quantity&lt;/th&gt;
&lt;th&gt;&lt;a id="e14-product-link-c20d4" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=2845501,2819345,4208544&amp;nsku=50AC9540,11X5783,77AK2287&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_BUY_KIT" class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('c20d4'));" data-farnell="2845501,2819345,4208544" data-newark="50AC9540,11X5783,77AK2287" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Kit&lt;/a&gt; &lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3D Printer Filament, PLA, White&lt;/td&gt;
&lt;td&gt;MULTICOMP&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-3bb5b" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=2845501&amp;nsku=50AC9540&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('3bb5b'));" data-farnell="2845501" data-newark="50AC9540" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Sensor Board, Ultrasonic Distance Sensor, PING&lt;/td&gt;
&lt;td&gt;PARALLAX&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-8380e" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=2819345&amp;nsku=11X5783&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('8380e'));" data-farnell="2819345" data-newark="11X5783" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;ARDUINO UNO REV4 WIFI ROHS COMPLIANT: YES&lt;/td&gt;
&lt;td&gt;Arduino&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-387cd" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=4208544&amp;nsku=77AK2287&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('387cd'));" data-farnell="4208544" data-newark="77AK2287" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="xs-hide"&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h3 id="mcetoc_1h6rmk2k32"&gt;Additional Parts:&lt;/h3&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;2x 100 RPM 12V Gear Motor High Torque&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;DC Motor Driver, DROK L298&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Various M3 Screws&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: dc motor, ultrasonic sensor, Feedback Loop, e14p_AS, h-bridge, controls, driverless car, Arduino R4 Minima, pid, arduino, friday_release, Stable System&lt;/div&gt;
</description></item></channel></rss>