<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Servolulu: Polulu-compatible servo motor driver</title>
        <description>I&#039;ve made some progress on the Polulu-compatible servo motor driver that I proposed in an earlier post.  I&#039;m calling it the Servolulu.  It consists of a PIC18F2331 microcontroller, which has a quadrature encoder interface, and an A4953 (2 amp) motor driver chip.  The processor is loaded with PIC-SERVO controller code which provides PID servo control with Step &amp; Direction command signals.  It all fits in the same footprint as a standard Polulu driver, and the relevant signals (Vmot, +5v, Gnd, M+, M-, Step, Direction, Enable) all pass though to the Servolulu board from the printer controller board below.  (The first photo shows a Servolulu plugged into a Teensylu board.)   The unused pins (MS1, MS2, MS3, RST, SLP and 2 unused motor pins) are clipped from the bottom side that plugs into the printer board (see last photo) but are extended on the top to give you a place to plug in your encoder, a TTL-level serial port (for programming gain parameters into EEPROM) and also a couple of pins (PGD, PGC) for flashing the micro.  Unfortunately, the PIC-SERVO assembly code I&#039;m using to test this is proprietary so I can&#039;t publish it.  However, I am planning on writing a stripped down version written in C that will be open-source.  Also, once I get the design documented and posted somewhere, anyone else will also be able to write their own servo control code.

With servo control, you can generally run cooler, quieter, and at higher speeds without fear of losing steps.  And with the serial port, it is also possible to monitor the servo performance in real-time while moving - a feature that can be used to detect end-stop collisions, jammed filament and even running out of filament.  Please let me know  what you think and if you&#039;d like to see this go into some sort of production.</description>
        <link>https://reprap.org/forum/read.php?1,654278,654278#msg-654278</link>
        <lastBuildDate>Fri, 11 Sep 2026 09:45:31 -0400</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://reprap.org/forum/read.php?1,654278,739239#msg-739239</guid>
            <title>Re: Servolulu: Polulu-compatible servo motor driver</title>
            <link>https://reprap.org/forum/read.php?1,654278,739239#msg-739239</link>
            <description><![CDATA[ If LoboCNC does not mind, then I can point out to the github repo of misan with his SW - it's easily doable with DC motor driver, any encoder and an arduino (or, in my case, ATtiny85...).]]></description>
            <dc:creator>rklauco</dc:creator>
            <category>General</category>
            <pubDate>Mon, 16 Jan 2017 04:37:06 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,654278,738799#msg-738799</guid>
            <title>Re: Servolulu: Polulu-compatible servo motor driver</title>
            <link>https://reprap.org/forum/read.php?1,654278,738799#msg-738799</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>Tangent1001</strong><br />
<br />
<br />
Can anyone give me a link where I can buy a pair of these?</div></blockquote>
<br />
Unfortunately, there was not a huge amount of interest in this so I've pretty much dropped the project.]]></description>
            <dc:creator>LoboCNC</dc:creator>
            <category>General</category>
            <pubDate>Sat, 14 Jan 2017 16:22:24 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,654278,738676#msg-738676</guid>
            <title>Re: Servolulu: Polulu-compatible servo motor driver</title>
            <link>https://reprap.org/forum/read.php?1,654278,738676#msg-738676</link>
            <description><![CDATA[ This looks like an ideal product for me. I recently bought a stratasys Dimension (SHDM1000) and I am looking for components to control it. The extruder drives are 12V dc gearmotors with encoders and I am having a some trouble finding drivers for them. EBAY has some leadshine drivers for about $80 that take in Step and Dir  inputs but have a min voltage of 18V. <br />
<br />
Can anyone give me a link where I can buy a pair of these?]]></description>
            <dc:creator>Tangent1001</dc:creator>
            <category>General</category>
            <pubDate>Sat, 14 Jan 2017 07:33:07 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,654278,674136#msg-674136</guid>
            <title>Re: Servolulu: Pololu-compatible servo motor driver</title>
            <link>https://reprap.org/forum/read.php?1,654278,674136#msg-674136</link>
            <description><![CDATA[ rklauco: looks like you are using the chip in the same mode I am - connecting Vref to +5v effectively eliminates the current control chopping.  However, by applying a PWM (active HIGH)- to one input pin while holding the other input low will put the chip in fast decay mode (as you note).  I'm using the chip in slow decay mode where I apply an inverted PWM (active LOW) while holding the other input HIGH.  Slow decay mode produces a lot less heat and also less abrupt switching which is probably why I've got no noise.  Fast decay is really only desirable for high resolution stepper motors where you need to switch the currents very quickly.]]></description>
            <dc:creator>LoboCNC</dc:creator>
            <category>General</category>
            <pubDate>Mon, 13 Jun 2016 21:32:07 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,654278,674110#msg-674110</guid>
            <title>Re: Servolulu: Pololu-compatible servo motor driver</title>
            <link>https://reprap.org/forum/read.php?1,654278,674110#msg-674110</link>
            <description><![CDATA[ OK. I am too slow for this :(<br />
I understand the driving frequency - and based on my ATtiny85 timer set-up, I should operate somewhere within 32kHz. The only other electronics I am using is 2 caps - 470uF and 100nF.<br />
Wiring:<br />
Pin1 - GND<br />
Pin2 - input1<br />
Pin3 - input2<br />
Pin4 - VCC (5V)<br />
Pin5 - VBB (12V)<br />
Pin6 - output to motor 1<br />
Pin7 - GND<br />
Pin8 - output to motor 2<br />
I am not using anything special here - one of the inputs is always low, the other one has PWM with the mentioned frequency and desired pulse width. When I change direction, the other pin gets PWM while the previously active sets to LOW.<br />
Apparently, according the datasheet, I am using fast decay mode (chopping). But I cannot find the reason why - as my current sensing input is connected to ground directly, the mode should be only simple forward/reverse, not fast decay one.<br />
Any chance you can share your schematics? I know the code for the controller is closed source, but the schematics should be fine...]]></description>
            <dc:creator>rklauco</dc:creator>
            <category>General</category>
            <pubDate>Mon, 13 Jun 2016 17:33:01 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,654278,674079#msg-674079</guid>
            <title>Re: Servolulu: Pololu-compatible servo motor driver</title>
            <link>https://reprap.org/forum/read.php?1,654278,674079#msg-674079</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>rklauco</strong><br />
However, unlike TB6612 I am still getting some unwanted "audible" feedback - especially when breaking and stationary. With the same PWM the TB6612 is totally silent. It seems like some sub-harmonic frequency is causing it.<br />
It looks like there is not much documentation/experience discussion on the web about the A4953.<br />
@LoboCNC: Did you already test it with your chip? Did you experience any sound feedback?</div></blockquote>
<br />
With chopper-type drives, it is not uncommon to get audible subharmonics.  A lot depends on your exact motor and the components you select for the chopping frequency.  In the Servolulu, I'm not actually using the A4953's in chopping mode to control the current.  I'm just turning them on or off completely at the servo controller's frequency of 20KHz, and I get no whining.]]></description>
            <dc:creator>LoboCNC</dc:creator>
            <category>General</category>
            <pubDate>Mon, 13 Jun 2016 15:25:34 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,654278,673900#msg-673900</guid>
            <title>Re: Servolulu: Pololu-compatible servo motor driver</title>
            <link>https://reprap.org/forum/read.php?1,654278,673900#msg-673900</link>
            <description><![CDATA[ Is there maybe some video of your experiments ? :) would love to see some]]></description>
            <dc:creator>B4Me</dc:creator>
            <category>General</category>
            <pubDate>Mon, 13 Jun 2016 05:37:45 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,654278,673894#msg-673894</guid>
            <title>Re: Servolulu: Pololu-compatible servo motor driver</title>
            <link>https://reprap.org/forum/read.php?1,654278,673894#msg-673894</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>LoboCNC</strong><br />How much current are you running through the motor?  The total on resistance of the A4953 is about 1 ohm, so I'd guess that with no connection to the thermal pad, it'll get pretty hot even if you are drawing less than 1amp.</div></blockquote>
Thanks for the hint.<br />
Normally the motor takes less then 150mA, but with problems during movement (e.g. start or hitting a minimum/maximum position) it can take almost 700mA.<br />
1 ohm is quite a lot, so I put on a heat sink (stolen from my stepper driver :D) and it's now quite fine - not more then 39 degrees.<br />
However, unlike TB6612 I am still getting some unwanted "audible" feedback - especially when breaking and stationary. With the same PWM the TB6612 is totally silent. It seems like some sub-harmonic frequency is causing it.<br />
It looks like there is not much documentation/experience discussion on the web about the A4953.<br />
@LoboCNC: Did you already test it with your chip? Did you experience any sound feedback?]]></description>
            <dc:creator>rklauco</dc:creator>
            <category>General</category>
            <pubDate>Mon, 13 Jun 2016 05:24:57 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,654278,672153#msg-672153</guid>
            <title>Re: Servolulu: Pololu-compatible servo motor driver</title>
            <link>https://reprap.org/forum/read.php?1,654278,672153#msg-672153</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>rklauco</strong><br />
LoboCNC: Do you have experience with A4953? Mine is quite disappointing - I got it yesterday and tested it today and it is quite hot during position hold. Is it due to my board design? (No heat pads or anything similar, but driving only 3.6W 12V motor...)</div></blockquote>
<br />
How much current are you running through the motor?  The total on resistance of the A4953 is about 1 ohm, so I'd guess that with no connection to the thermal pad, it'll get pretty hot even if you are drawing less than 1amp.]]></description>
            <dc:creator>LoboCNC</dc:creator>
            <category>General</category>
            <pubDate>Tue, 07 Jun 2016 18:47:40 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,654278,672087#msg-672087</guid>
            <title>Re: Servolulu: Polulu-compatible servo motor driver</title>
            <link>https://reprap.org/forum/read.php?1,654278,672087#msg-672087</link>
            <description><![CDATA[ LoboCNC: Do you have experience with A4953? Mine is quite disappointing - I got it yesterday and tested it today and it is quite hot during position hold. Is it due to my board design? (No heat pads or anything similar, but driving only 3.6W 12V motor...)]]></description>
            <dc:creator>rklauco</dc:creator>
            <category>General</category>
            <pubDate>Tue, 07 Jun 2016 15:46:20 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,654278,661986#msg-661986</guid>
            <title>Re: Servolulu: Polulu-compatible servo motor driver</title>
            <link>https://reprap.org/forum/read.php?1,654278,661986#msg-661986</link>
            <description><![CDATA[ I agree , though now it is a system on pic. The main thing is to attract attention , to show the benefits that the project was a good worker . Then there will be others.]]></description>
            <dc:creator>pamalofeev</dc:creator>
            <category>General</category>
            <pubDate>Mon, 09 May 2016 13:22:52 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,654278,661931#msg-661931</guid>
            <title>Re: Servolulu: Polulu-compatible servo motor driver</title>
            <link>https://reprap.org/forum/read.php?1,654278,661931#msg-661931</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>pamalofeev</strong><br />
If you overwrite project in C, you did not think to use other mcu? For example stm32f030f4p6.</div></blockquote>
<br />
Yes, it looks like this processor would be a much better choice for writing new code.  (I used the PIC18F2331, a much older processor, because I have access to the PIC-SERVO SC code.)  The control code itself, whether a simple PID loop or a fancier multi-loop architecture is all fairly easy to do.  Doing a good job of the user interface and documenting it is much more work.  And for me, the amount of work required to learn how to use the STM32 processor and development tools would totally eclipse the amount of work in writing the code.<br />
<br />
Ultimately, the choice of processor is not really that important.  The goal is not optimality but to come up with a servo controller solution that is easy for people to use.]]></description>
            <dc:creator>LoboCNC</dc:creator>
            <category>General</category>
            <pubDate>Mon, 09 May 2016 11:09:18 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,654278,661861#msg-661861</guid>
            <title>Re: Servolulu: Polulu-compatible servo motor driver</title>
            <link>https://reprap.org/forum/read.php?1,654278,661861#msg-661861</link>
            <description><![CDATA[ Check <a href="http://elm-chan.org/works/smc/report_e.html" target="_blank"  rel="nofollow">this</a> project. This is a real DC motor servo. He even has the current loop, but not really working on the motor model. I used to be studied for this specialty, a little understand the topic. A good drive will not work with only loop position and PID. Only simple, non-demanding systems, and this is not our case. And I do not propose to abandon the concept of a simple replacement of the stepper motor driver, only propose to review the use of pic18. He did not give the project the possibility to grow.]]></description>
            <dc:creator>pamalofeev</dc:creator>
            <category>General</category>
            <pubDate>Mon, 09 May 2016 07:22:54 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,654278,661770#msg-661770</guid>
            <title>Re: Servolulu: Polulu-compatible servo motor driver</title>
            <link>https://reprap.org/forum/read.php?1,654278,661770#msg-661770</link>
            <description><![CDATA[ I think you misunderstood tge goal here - to huild a brand-new controller bottom up would bee probably too much. That's why the goal here is to provide drop-in replacement for current stepper circuits only. And yes - the code wull probably be similar to Misan's, but I don't think that it is a disadvantage.]]></description>
            <dc:creator>rklauco</dc:creator>
            <category>General</category>
            <pubDate>Mon, 09 May 2016 02:43:24 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,654278,661760#msg-661760</guid>
            <title>Re: Servolulu: Polulu-compatible servo motor driver</title>
            <link>https://reprap.org/forum/read.php?1,654278,661760#msg-661760</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>LoboCNC</strong><br />
The current version of the Servolulu uses PIC-SERVO SC code, and you can view all of the gory details in the <a href="http://jrkerr.com/picsrvsc.pdf" target="_blank"  rel="nofollow">PIC-SERVO SC data sheet</a>.  .</div></blockquote>
<br />
Hmmm... In STEP/DIR mode only position loop.. Thus, this system is not much different from mysan servo, except that used a more expensive controller. The only plus - the hardware encoder interface.<br />
If you overwrite project in C, you did not think to use other mcu? For example stm32f030f4p6. On aliexpress cost ten mcu such as a PIC18F2331. Also it has a hardware encoder interface, and it is a 32-bit processor.]]></description>
            <dc:creator>pamalofeev</dc:creator>
            <category>General</category>
            <pubDate>Mon, 09 May 2016 01:49:07 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,654278,661705#msg-661705</guid>
            <title>Re: Servolulu: Polulu-compatible servo motor driver</title>
            <link>https://reprap.org/forum/read.php?1,654278,661705#msg-661705</link>
            <description><![CDATA[ Wow, just now I noticed the chip you are using to drive the motor - A4953. That's a fantastic idea - looks way better than the old L298 or even the one I'm using now - TB6612FNG. The TB is a dual H bridge, but for the pin compatibility 1 H bridge is better.]]></description>
            <dc:creator>rklauco</dc:creator>
            <category>General</category>
            <pubDate>Sun, 08 May 2016 16:56:06 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,654278,661665#msg-661665</guid>
            <title>Re: Servolulu: Polulu-compatible servo motor driver</title>
            <link>https://reprap.org/forum/read.php?1,654278,661665#msg-661665</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>pamalofeev</strong><br />
<b>LoboCNC</b>,<br />
I like that there are more attempts to do good dc servo reprap. You can show your servo Operation diagram, which will be open source? Just like  <a href="http://elm-chan.org/works/smc/rcc/zblock3.png" target="_blank"  rel="nofollow">here</a>. Or tell which loops will be used?</div></blockquote>
<br />
The current version of the Servolulu uses PIC-SERVO SC code, and you can view all of the gory details in the <a href="http://jrkerr.com/picsrvsc.pdf" target="_blank"  rel="nofollow">PIC-SERVO SC data sheet</a>.  The PID servo controller is described in Section 4.3, and the various operating modes are described in Section 4.4.  <br />
<br />
What I'm planning for an open-source version of Servolulu code is to duplicate just the PID controller section with Step &amp; Direction inputs and then give it a simpler ASCII communication interface for setup with any simple terminal program.  I'll also write it in C rather than assembly so that other people might have a hope of hacking on it.]]></description>
            <dc:creator>LoboCNC</dc:creator>
            <category>General</category>
            <pubDate>Sun, 08 May 2016 15:12:58 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,654278,661637#msg-661637</guid>
            <title>Re: Servolulu: Polulu-compatible servo motor driver</title>
            <link>https://reprap.org/forum/read.php?1,654278,661637#msg-661637</link>
            <description><![CDATA[ <b>LoboCNC</b>,<br />
I like that there are more attempts to do good dc servo reprap. You can show your servo Operation diagram, which will be open source? Just like  <a href="http://elm-chan.org/works/smc/rcc/zblock3.png" target="_blank"  rel="nofollow">here</a>. Or tell which loops will be used?]]></description>
            <dc:creator>pamalofeev</dc:creator>
            <category>General</category>
            <pubDate>Sun, 08 May 2016 13:04:52 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,654278,661618#msg-661618</guid>
            <title>Re: Servolulu: Polulu-compatible servo motor driver</title>
            <link>https://reprap.org/forum/read.php?1,654278,661618#msg-661618</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>rklauco</strong><br />
But the gearing is quite serious with the little motor (so is the torque), so 12 impulses per revolution should be plenty...</div></blockquote>
<br />
Indeed. Some of these micro-motors have up to 1000:1 gearing, so 12000 pulses is close to 1/64 microstepping with a typical 1.8 deg stepper, which is way overkill for our application. The torque you can get from these is rather nice (see the above ultralight extruder) and you can temporarily boost the speed with higher voltage for retractions.]]></description>
            <dc:creator>ipcalit</dc:creator>
            <category>General</category>
            <pubDate>Sun, 08 May 2016 12:15:17 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,654278,661606#msg-661606</guid>
            <title>Re: Servolulu: Polulu-compatible servo motor driver</title>
            <link>https://reprap.org/forum/read.php?1,654278,661606#msg-661606</link>
            <description><![CDATA[ But the gearing is quite serious with the little motor (so is the torque), so 12 impulses per revolution should be plenty...]]></description>
            <dc:creator>rklauco</dc:creator>
            <category>General</category>
            <pubDate>Sun, 08 May 2016 11:45:47 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,654278,661603#msg-661603</guid>
            <title>Re: Servolulu: Polulu-compatible servo motor driver</title>
            <link>https://reprap.org/forum/read.php?1,654278,661603#msg-661603</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>ipcalit</strong><br />
Would Servolulu work with one of these magnetic encoders from Pololu? <br />
<br />
Magnetic Encoder Pair Kit for Micro Metal Gearmotors, 12 CPR, 2.7-18V (HPCB compatible) [<a href="https://www.pololu.com/product/3081" target="_blank"  rel="nofollow">www.pololu.com</a>]<br />
<br />
It would be great for this ultralight extruder [<a href="http://forums.reprap.org/read.php?1,661444" target="_blank"  rel="nofollow">forums.reprap.org</a>]</div></blockquote>
<br />
Cant see any reasons they shouldnt work, but your resolution are only 12 pulses per revolution, and then your gearing]]></description>
            <dc:creator>B4Me</dc:creator>
            <category>General</category>
            <pubDate>Sun, 08 May 2016 11:41:30 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,654278,661591#msg-661591</guid>
            <title>Re: Servolulu: Polulu-compatible servo motor driver</title>
            <link>https://reprap.org/forum/read.php?1,654278,661591#msg-661591</link>
            <description><![CDATA[ Would Servolulu work with one of these magnetic encoders from Pololu? <br />
<br />
Magnetic Encoder Pair Kit for Micro Metal Gearmotors, 12 CPR, 2.7-18V (HPCB compatible) [<a href="https://www.pololu.com/product/3081" target="_blank"  rel="nofollow">www.pololu.com</a>]<br />
<br />
It would be great for this ultralight extruder [<a href="http://forums.reprap.org/read.php?1,661444" target="_blank"  rel="nofollow">forums.reprap.org</a>]]]></description>
            <dc:creator>ipcalit</dc:creator>
            <category>General</category>
            <pubDate>Sun, 08 May 2016 10:56:53 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,654278,659994#msg-659994</guid>
            <title>Re: Servolulu: Polulu-compatible servo motor driver</title>
            <link>https://reprap.org/forum/read.php?1,654278,659994#msg-659994</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>LoboCNC</strong><br />
rklauko: Great to see someone else working on servo control, but interleaving progress on your controller with the Servolulu development in the same thread is getting a little confusing.  Perhaps you could start your own topic.</div></blockquote>
Sorry for spamming your thread. I started <a href="http://forums.reprap.org/read.php?1,659992" target="_blank"  rel="nofollow">a new one</a> and I'll refrain from further posts here. Good luck with your project.]]></description>
            <dc:creator>rklauco</dc:creator>
            <category>General</category>
            <pubDate>Wed, 04 May 2016 02:23:13 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,654278,659923#msg-659923</guid>
            <title>Re: Servolulu: Polulu-compatible servo motor driver</title>
            <link>https://reprap.org/forum/read.php?1,654278,659923#msg-659923</link>
            <description><![CDATA[ rklauko: Great to see someone else working on servo control, but interleaving progress on your controller with the Servolulu development in the same thread is getting a little confusing.  Perhaps you could start your own topic.]]></description>
            <dc:creator>LoboCNC</dc:creator>
            <category>General</category>
            <pubDate>Tue, 03 May 2016 19:03:08 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,654278,659919#msg-659919</guid>
            <title>Re: Servolulu: Polulu-compatible servo motor driver</title>
            <link>https://reprap.org/forum/read.php?1,654278,659919#msg-659919</link>
            <description><![CDATA[ Well, I had a little time tonight, so I played with the closed loop.<br />
And I have to say it's fantastic.<br />
I created a simple code that does "homing" in the beginning.<br />
I verify if the encoder direction is consistent with motor direction - if it's not, I'll adjust the motor direction. This was a frequent problem for me as I undid and put together the printer and by accident connected the motor cable the other way.<br />
Next, I slowly move to minimal position I can find - and I am checking here the encoder input to see if the carriage is still moving.<br />
As soon as it stops, I kill the motor and consider current position as minimum (I also reset the encoder value to 0).<br />
Next I will verify the maximum using the minimal speed in the opposite direction.<br />
And as soon as I have it, I'll return back to 0 position.<br />
Funny thing here is - I no longer need minimum and maximum switches - I can get the info from the feedback loop :)<br />
I'm starting to love the system. Have to talk to Repetier firmware guys if it's possible to implement some feedback communication to their code directly.<br />
But even if not, this will be very nice this already works OK.<br />
And, did I mention it's extremely quiet? The only think I can hear is the linear bearings. And I'll try to print them as a next step to see, if that can help further.]]></description>
            <dc:creator>rklauco</dc:creator>
            <category>General</category>
            <pubDate>Tue, 03 May 2016 18:44:51 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,654278,659816#msg-659816</guid>
            <title>Re: Servolulu: Polulu-compatible servo motor driver</title>
            <link>https://reprap.org/forum/read.php?1,654278,659816#msg-659816</link>
            <description><![CDATA[ If you have a volume order (24+), you can contact me directly and use tray packaged components. Tubes, however - no can do, I'm afraid.]]></description>
            <dc:creator>pcbng_jh</dc:creator>
            <category>General</category>
            <pubDate>Tue, 03 May 2016 12:24:28 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,654278,659815#msg-659815</guid>
            <title>Re: Servolulu: Polulu-compatible servo motor driver</title>
            <link>https://reprap.org/forum/read.php?1,654278,659815#msg-659815</link>
            <description><![CDATA[ Jonathan (pcbng_jh), <br />
I started with the project but am having difficulty finding any compatible chips on cut tape... (required per the PCB NG guidelines).<br />
I'll keep looking otherwise I think we may have to find another IC.. (maybe ATiny85?) but always difficult to find cut-tape and not whole rolls (2000+ units).<br />
<br />
Jon]]></description>
            <dc:creator>jonnycowboy</dc:creator>
            <category>General</category>
            <pubDate>Tue, 03 May 2016 12:21:07 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,654278,659613#msg-659613</guid>
            <title>Re: Servolulu: Polulu-compatible servo motor driver</title>
            <link>https://reprap.org/forum/read.php?1,654278,659613#msg-659613</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>o_lampe</strong><br />
Dumb question:<br />
What makes a <i>DC motor</i> a <i>DC <u>Servo</u> motor</i>? Is it just the encoder or number of poles or???</div></blockquote>
A servo is a closed loop system. This means that there is a feedback on the actual position that is then used to correct positioning to reach the intended position. This is usually done via a PID control. This can be used to stabilize RPMs as well.<br />
Sometimes you don't even need a specific encoder, with brushless motors it is possible to use the inactive coils for measurements. Many gimbals use this method.]]></description>
            <dc:creator>Srek</dc:creator>
            <category>General</category>
            <pubDate>Tue, 03 May 2016 03:17:01 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,654278,659612#msg-659612</guid>
            <title>Re: Servolulu: Polulu-compatible servo motor driver</title>
            <link>https://reprap.org/forum/read.php?1,654278,659612#msg-659612</link>
            <description><![CDATA[ Cant say how much i LOVE this project, I initially stopped my simular project, as I thought it wouldnt be any good using the drop-in module.. step+dir -&gt; dc motor<br />
And the plan was to make a new controller board with dc in the heart, and a STM32xxxxxx as the mcu..<br />
But it seems to be good enough just to use this approach instead ! :)]]></description>
            <dc:creator>B4Me</dc:creator>
            <category>General</category>
            <pubDate>Tue, 03 May 2016 03:14:58 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,654278,659610#msg-659610</guid>
            <title>Re: Servolulu: Polulu-compatible servo motor driver</title>
            <link>https://reprap.org/forum/read.php?1,654278,659610#msg-659610</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>o_lampe</strong><br />Dumb question:<br />
What makes a <i>DC motor</i> a <i>DC <u>Servo</u> motor</i>? Is it just the encoder or number of poles or???</div></blockquote>
Basicaly normal motor with some sort of feedback control (even potenciometer and comparator works OK in RC servos...).]]></description>
            <dc:creator>rklauco</dc:creator>
            <category>General</category>
            <pubDate>Tue, 03 May 2016 03:05:50 -0400</pubDate>
        </item>
    </channel>
</rss>
