<div dir="ltr"><<From Brian:<div><span style="font-family:'Times New Roman',Times,serif;font-size:16px"><br></span></div><div><span style="font-family:'Times New Roman',Times,serif;font-size:16px">To paraphrase the song, "What a Difference a NUMBER makes."</span><br style="font-family:'Times New Roman',Times,serif;font-size:16px"><span style="font-family:'Times New Roman',Times,serif;font-size:16px">I don't know how many times I looked at my code and missed an incorrect GPIO pin number. The stepper works; now I will experiment to develop some code to make it turn a specific number of degrees emulating a piece of equipment I'm familiar with from the pulp & paper industry.</span><br style="font-family:'Times New Roman',Times,serif;font-size:16px"><br style="font-family:'Times New Roman',Times,serif;font-size:16px"><span style="font-family:'Times New Roman',Times,serif;font-size:16px">No one's answer was a waste since they forced me to keep investigating and digging until I got the answer.</span><br style="font-family:'Times New Roman',Times,serif;font-size:16px"><br style="font-family:'Times New Roman',Times,serif;font-size:16px"><span style="font-family:'Times New Roman',Times,serif;font-size:16px">Thanks to all,</span><br style="font-family:'Times New Roman',Times,serif;font-size:16px"><span style="font-family:'Times New Roman',Times,serif;font-size:16px">Brian>></span><div><span style="font-family:'Times New Roman',Times,serif;font-size:16px"><br></span></div><div><span style="font-family:'Times New Roman',Times,serif;font-size:16px">Brian,</span></div><div><span style="font-family:'Times New Roman',Times,serif;font-size:16px"><br></span></div><div><font face="Times New Roman, Times, serif"><span style="font-size:16px">The feature/project/effort is not a failure until you give up trying to make it work! Great job tracking down that number! It is often just this kind of detail that hides in your code. Well done!</span></font></div><div><font face="Times New Roman, Times, serif"><span style="font-size:16px"><br></span></font></div><div><font face="Times New Roman, Times, serif"><span style="font-size:16px">Today I fixed a glitch that was due to having a line of code three lines below where I actually needed it. It was tricky because if the user provided input quickly, overlap from a previous timing routine masked my error. Tricky, tricky.</span></font></div><div><br></div><div><font face="Times New Roman, Times, serif"><span style="font-size:16px">Shane</span></font></div><div><span style="font-family:'Times New Roman',Times,serif;font-size:16px"><br></span></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 20, 2015 at 2:01 PM, Shane Trent <span dir="ltr"><<a href="mailto:shanedtrent@gmail.com" target="_blank">shanedtrent@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Brian,<div><br></div><div>Also make sure that none of the motor leads are touching when you try to turn the shaft. Shorting coil wires can make a stepper motor very hard to turn. </div><div><br></div><div>You can do a quick check with an ohm meter. Check the DC resistance between the Pink-Orange terminals and the Yellow-Blue terminals. According to the data sheet you should see about 50 ohms. Much more or much less than this could mean they are ready for the rubbish bin.</div><div><br></div><div>Shane</div></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Tue, Jan 20, 2015 at 1:41 PM, Jeff Highsmith <span dir="ltr"><<a href="mailto:jeff@jeffhighsmith.com" target="_blank">jeff@jeffhighsmith.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Brian,<br>
<br>
Looking at the picture, I see the shaft is offset, meaning this is most likely a geared motor. Not all gear sets are "back-driveable", so the resistance to hand-turning may not be an indicator of the motor's condition.<br>
<span><font color="#888888"><br>
Jeff :)<br>
</font></span><div><div><br>
<br>
> On Jan 20, 2015, at 13:07, Grawburg <<a href="mailto:grawburg@myglnc.com" target="_blank">grawburg@myglnc.com</a>> wrote:<br>
><br>
> I have two 28BYJ48 5VDC stepper motors that I think are kaput. They are difficult to spin (unpowered) which I presume is not good. I expected them to turn freely much like a simple motor.  When I try to run them from my Pi (I have the controller and code) I can feel them trying to move.  Ready for the trash can?<br>
><br>
><br>
> Brian Grawburg<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> _______________________________________________<br>
> Triangle, NC Embedded Computing mailing list<br>
> <a href="mailto:TriEmbed@triembed.org" target="_blank">TriEmbed@triembed.org</a><br>
> <a href="http://mail.triembed.org/mailman/listinfo/triembed_triembed.org" target="_blank">http://mail.triembed.org/mailman/listinfo/triembed_triembed.org</a><br>
> TriEmbed web site: <a href="http://TriEmbed.org" target="_blank">http://TriEmbed.org</a><br>
<br>
_______________________________________________<br>
Triangle, NC Embedded Computing mailing list<br>
<a href="mailto:TriEmbed@triembed.org" target="_blank">TriEmbed@triembed.org</a><br>
<a href="http://mail.triembed.org/mailman/listinfo/triembed_triembed.org" target="_blank">http://mail.triembed.org/mailman/listinfo/triembed_triembed.org</a><br>
TriEmbed web site: <a href="http://TriEmbed.org" target="_blank">http://TriEmbed.org</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br><div><div dir="ltr"><span style="color:rgb(0,0,0);font-family:HelveticaNeue-Light,'Helvetica Neue Light','Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:16px">A blog about some of my projects.  <a href="http://fettricks.blogspot.com/" target="_blank">http://fettricks.blogspot.com/</a></span><br></div></div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><span style="color:rgb(0,0,0);font-family:HelveticaNeue-Light,'Helvetica Neue Light','Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:16px">A blog about some of my projects.  <a href="http://fettricks.blogspot.com/" target="_blank">http://fettricks.blogspot.com/</a></span><br></div></div>
</div>