<?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>Getting started with stepper motors</title><link>https://community.element14.com/products/arduino/w/documents/16841/getting-started-with-stepper-motors</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>Getting started with stepper motors</title><link>https://community.element14.com/products/arduino/w/documents/16841/getting-started-with-stepper-motors</link><pubDate>Fri, 08 Oct 2021 07:49:03 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:bf779ff4-045f-4596-8651-6d897e139720</guid><dc:creator>Former Member</dc:creator><comments>https://community.element14.com/products/arduino/w/documents/16841/getting-started-with-stepper-motors#comments</comments><description>Current Revision posted to Documents by Former Member on 10/8/2021 7:49:03 AM&lt;br /&gt;
&lt;p style="margin:0;"&gt; i am a &lt;span style="color:#333333;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;font-size:10pt;"&gt;beginner&lt;/span&gt; and am trying to learn and understand electronics&amp;nbsp; &lt;/p&gt;&lt;p style="margin:0;"&gt;few days backs i was playing around with my arduino uno r3 kit ( ordered for US$ 29 ) &lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;it came with this 5V&amp;nbsp; stepper motor ( part number&amp;nbsp; 28BYJ- 48 ) ( easily found on ebay and very cheap ) &lt;/p&gt;&lt;p style="margin:0;"&gt;the same can be found with 12V &lt;/p&gt;&lt;p style="margin:0;"&gt; &lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/450x337/__key/communityserver-wikis-components-files/00-00-00-02-65/contentimage_5F00_76495.jpg"&gt;&lt;img alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/02/65/contentimage_76495.jpg-450x337.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=wyUiFM7OnVU7ujOAshLG3BiImWl1ZqJJygDwgFx6usk%3D&amp;amp;se=2026-05-16T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=dxFWWMFnSsy0BLJSeLlUvw==" style="max-height: 337px;max-width: 450px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/450x337/__key/communityserver-wikis-components-files/00-00-00-02-65/contentimage_5F00_76496.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/02/65/contentimage_76496.jpg-450x337.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=cUxUPA8Y9LU4hsaeDfrypG1OplC7Ty1Q8S5YHxiIxOI%3D&amp;amp;se=2026-05-16T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=5w8ITy7lMBrmljD150Z9WA==" style="max-height: 337px;max-width: 450px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;i found this motor very easy to use and control using arduino uno r3&amp;nbsp; &lt;/p&gt;&lt;ul&gt;&lt;li&gt;Speed Variation Ratio ： 1/64&lt;/li&gt;&lt;li&gt;Stride Angle ： 5.625° /64 &lt;/li&gt;&lt;li&gt;one complete rotation is 4096 steps&amp;nbsp; &lt;/li&gt;&lt;/ul&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;this motor needs a ULN2003 Driver Board which is again very simple to use , understand and even make yourself &lt;/p&gt;&lt;p style="margin:0;"&gt;it can be very easily found on ebay for very cheap ( around US$ 2 ) &lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/450x337/__key/communityserver-wikis-components-files/00-00-00-02-65/contentimage_5F00_76497.html"&gt;community.element14.com/.../contentimage_5F00_76497.html&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;you will find the set for less then US$ 5 on ebay &lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;connection of the driver board with arduino is also simple just the 4 pins for the arduino which are set in the program will connect to the in1 in2 in3 and in4&amp;nbsp; &lt;/p&gt;&lt;p style="margin:0;"&gt;you have to connect 5V or 12V (depending on the motor ) and ground to the driver board as the motor doesnt run safely on power from arduino&lt;/p&gt;&lt;p style="margin:0;"&gt;the 5V motor does run but i have found people saying its not safe&amp;nbsp; &lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;the program required to run the motor can be found in the examples in the arduino software&amp;nbsp; its very easy to understand, the program is written with &lt;span style="color:#333333;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;font-size:10pt;"&gt;explanation&lt;/span&gt; so you can just read through, the program can be modified to do exactly what you want maybe add a switch maybe add a sensor &lt;/p&gt;&lt;p style="margin:0;"&gt;it just takes 3 4 hours (as a &lt;span style="color:#333333;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;font-size:10pt;"&gt;beginner&lt;/span&gt;) to get used to it&amp;nbsp; &lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;you can also read the link below it has the details about the motor and the driver board and an example program which can also be used on arduino &lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;a class="jive-link-external-small" href="http://www.geeetech.com/wiki/index.php/Stepper_Motor_5V_4-Phase_5-Wire_%26_ULN2003_Driver_Board_for_Arduino" rel="nofollow" target="_blank"&gt;http://www.geeetech.com/wiki/index.php/Stepper_Motor_5V_4-Phase_5-Wire_%26_ULN2003_Driver_Board_for_Arduino&lt;/a&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;hope i was helpful &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: getting_started, stepper-motor, arduino&lt;/div&gt;
</description></item></channel></rss>