<?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/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>A Small Simple Robot Arm : Part 2 Initial Software Implementation</title><link>/members-area/personalblogs/b/blog/posts/a-small-simple-robot-arm-part-2-initial-software-implementation</link><description>Having constructed the small 4 degree of freedom (4 DOF) plastic robot arm, similar to the MeArm, ( A Small Simple Robot Arm : Part 1 Mechanical Construction ) I have now added a Nano controller and some simple software. players.brig...</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: A Small Simple Robot Arm : Part 2 Initial Software Implementation</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/a-small-simple-robot-arm-part-2-initial-software-implementation</link><pubDate>Tue, 30 Mar 2021 23:53:11 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:c1b39ff9-9c36-4b30-96e2-12b83d83e425</guid><dc:creator>beacon_dave</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;This robot arm on YouTube may be of interest:&lt;/p&gt;&lt;p&gt;&lt;a class="jive-link-external-small" href="https://www.youtube.com/watch?v=OdPd-DBR3cE" rel="nofollow ugc noopener" target="_blank"&gt;&lt;span style="text-decoration:underline;"&gt;fischertechnik 6-Achs-Roboterarm RS 816 - YouTube&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I spotted in the latest ft:pedia magazine:&lt;/p&gt;&lt;p&gt;&lt;a class="jive-link-external-small" href="https://www.ftcommunity.de/ftpedia/2021/2021-1/ftpedia-2021-1.pdf" rel="nofollow ugc noopener" target="_blank" title="https://www.ftcommunity.de/ftpedia/2021/2021-1/ftpedia-2021-1.pdf"&gt;https://www.ftcommunity.de/ftpedia/2021/2021-1/ftpedia-2021-1.pdf&lt;/a&gt; &lt;/p&gt;&lt;p&gt;where there is more information.&lt;/p&gt;&lt;p&gt;(There is also an article there on mecanum and omniwheels amongst other things.)&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=8662&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: A Small Simple Robot Arm : Part 2 Initial Software Implementation</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/a-small-simple-robot-arm-part-2-initial-software-implementation</link><pubDate>Fri, 29 Jan 2021 21:29:30 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:c1b39ff9-9c36-4b30-96e2-12b83d83e425</guid><dc:creator>genebren</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Dubbie,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Dealing with servos seems pretty easy, but devil is in the details.&amp;nbsp; As &lt;span&gt;[mention:b0bc65b9ecdc4307bd967592f00e340a:e9ed411860ed4f2ba0265705b8793d05]&lt;/span&gt; points out, stalled servos draw a lot of current and can cause a lot of smoke.&amp;nbsp; I build a 12 channel servo controller board for one of my clients.&amp;nbsp; This particular client can use up to 12 servos in some of his products and majority of the servos are high torque servos (potentially high current too).&amp;nbsp; In order to keep the controller board safe, I have designed in current monitoring and a MOSFET switch to remove servo power if the current should get too high.&amp;nbsp; The current monitor is located in the ground return in the servo power path (low side).&amp;nbsp; The microcontroller monitors the current and will disable the servo power if the current is too high or near the limit for too long (software).&amp;nbsp; The limits are setup in the board configuration (store in EEPROM), based on the number of servos, the safe max current draw of the servos, and the amount of time the max threshold is allowed.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Here is the current monitoring and servo power disconnect circuits:&lt;/p&gt;&lt;p&gt;&lt;span&gt;[View:/resized-image/__size/620x318/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-c1b39ff9-9c36-4b30-96e2-12b83d83e425/2046.contentimage_5F00_205944.jpg:620:318]&lt;/span&gt;&lt;span&gt;[View:/resized-image/__size/277x535/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-c1b39ff9-9c36-4b30-96e2-12b83d83e425/5270.contentimage_5F00_205945.jpg:277:535]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;In addition to current monitoring, one of the features of the board is a variable slew rates for the servo signals.&amp;nbsp; My servo pulse generation is repeated every 25msecs.&amp;nbsp; Within this window of time, there are eight frames (3.125msec each).&amp;nbsp; The first six frames are used to generate 2 channels worth of servo pulse.&amp;nbsp; During the 7th frame, any servo that is slew limited is updated.&amp;nbsp; This allows me to slowly update the servo commands between the past value and the newly commanded position.&amp;nbsp; I have options to slew the pulses either in fixed steps of by slowly filtering between the past value and commanded value with a software low pass filter.&amp;nbsp; This slewing prevents from over stressing the servos by preventing jerky motions.&amp;nbsp; With well over 100 units installed neither a controller or a servo has reached the smoking stage.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Good luck,&lt;/p&gt;&lt;p&gt;Gene&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=8662&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: A Small Simple Robot Arm : Part 2 Initial Software Implementation</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/a-small-simple-robot-arm-part-2-initial-software-implementation</link><pubDate>Fri, 31 Jan 2020 20:18:02 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:c1b39ff9-9c36-4b30-96e2-12b83d83e425</guid><dc:creator>luislabmo</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Hello Dubbie, nice update!. &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I believe a couple of loops and some ascii conversions could have saved you a lot of coding when printing the menu and also when translating the input to degrees. &lt;span&gt;[View:/resized-image/__size/16x16/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-c1b39ff9-9c36-4b30-96e2-12b83d83e425/contentimage_5F00_3.png:16:16]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Luis&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=8662&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>