Jittery Pen Servo

51 views
Skip to first unread message

Mark920

unread,
Dec 22, 2010, 7:20:33 AM12/22/10
to EggBotUser
When I first plug in the power and usb to the eggbott the pen servo
starts jittering until I command pen up with inkscape extensions

Is this normal

Windell H. Oskay

unread,
Dec 22, 2010, 7:23:31 AM12/22/10
to eggbo...@googlegroups.com

No, not normal. It should be reasonably quiet. This may mean that you haven't centered the servo well in its range of travel, or it could be a bad connection.

Mark920

unread,
Dec 22, 2010, 7:25:50 AM12/22/10
to EggBotUser
hmmm, worked hard to center it. will check connection to ebb

mf

Mark920

unread,
Dec 22, 2010, 7:32:40 AM12/22/10
to EggBotUser
so starting with nothing connected...

plug in usb no jitter

plug in power jitters

tried unplugging servo cord and resetting it, no effect

unplugged power a few times and sometimes jitter sometimes not.


bruce shapiro

unread,
Dec 22, 2010, 9:29:23 AM12/22/10
to eggbo...@googlegroups.com
By "jittery," do you mean the servo horn (white plastic arm) is
moving visibly? Or do you mean you hear the servo's motor
buzz? Sometimes my servos buzz at rest (position hunting?)-- I
consider this normal.

Bruce

Mark Forss

unread,
Dec 22, 2010, 10:06:06 AM12/22/10
to eggbo...@googlegroups.com

It's physically moving quite a bit

> --
> You received this message because you are subscribed to the Google Groups "EggBotUser" group.
> To post to this group, send email to eggbo...@googlegroups.com.
> To unsubscribe from this group, send email to eggbotuser+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/eggbotuser?hl=en.
>

Brian Schmalz

unread,
Dec 22, 2010, 8:33:18 PM12/22/10
to eggbo...@googlegroups.com
Mark,

I'm attaching a test version of the current development version of the EggBotBoard firmware. It is version 2.1.0c. The main thing that I changed for you is that the servo is no longer initialized at boot time. Instead, the servo only begins to receive commands when the first SP command is sent (like when you do something from Inkscape). Thus you should have no more jitter problems.

If you feel so inclined, could you test this out for me to see if it eliminates your servo jittering problem, and yet still works well for you in all other ways?

For instructions on how to update your EBB, please see http://wiki.evilmadscience.com/Updating_EBB_firmware and let me know if you have any trouble or questions.

*Brian
 
Home www.schmalzhaus.com
Work www.logicpd.com
EBF_EBBv13_and_above.hex

Dan Newman

unread,
Dec 22, 2010, 8:45:21 PM12/22/10
to eggbo...@googlegroups.com

On 22 Dec 2010 , at 5:33 PM, Brian Schmalz wrote:

> Mark,
>
> I'm attaching a test version of the current development version of the EggBotBoard firmware. It is version 2.1.0c. The main thing that I changed for you is that the servo is no longer initialized at boot time. Instead, the servo only begins to receive commands when the first SP command is sent (like when you do something from Inkscape). Thus you should have no more jitter problems.
>
> If you feel so inclined, could you test this out for me to see if it eliminates your servo jittering problem, and yet still works well for you in all other ways?
>
> For instructions on how to update your EBB, please see http://wiki.evilmadscience.com/Updating_EBB_firmware and let me know if you have any trouble or questions

And Mark, if you're like me and very leery of upgrading firmware, then
know that upgrading the EBB firmware is quite painless and safe.
Heck, it even went smoothly and *flawlessly* for me from a Mac. (Mac
users often have unpleasant experiences doing this: often firmware
upgrades if they work at all from a Mac are painful and fraught with
peril.)

Dan

Mark920

unread,
Dec 23, 2010, 8:33:58 AM12/23/10
to EggBotUser
Brian

Thank you very, very much!

As soon as I get thru the holidays I will update this and advise
results..

Merry Christmas,

Mark

Mark920

unread,
Dec 23, 2010, 8:41:53 AM12/23/10
to EggBotUser
Brian

Do the 2 red drive lites normally stay on even though the machine is
not doing anything?

Mine are on almost all the time, even when inkscape not running...

Mark Forss

unread,
Dec 23, 2010, 8:43:29 AM12/23/10
to eggbo...@googlegroups.com

Image of drive lites being on when nothing is being asked of the ebb from inkscape, etc.

DSC01962.JPG

Brian Schmalz

unread,
Dec 23, 2010, 8:45:04 AM12/23/10
to eggbo...@googlegroups.com
Mark,

Those are actually direction LEDs. What they indicate is the current status of the direction inputs to the motor driver chips. I'm not really even sure why I left them on there other than it's a way to see if your system is 'working' and reversing direction. After you've stopped plotting, they just stay on in whatever state they were last on.

If yours are always on after a plot, all that means is that your last move was in a direction such that both motors direction lines were high.

Now that you bring it up, we could actually use them as indicators to people if we wanted to. As long as the motors are not moving, we can turn those LEDs on and off and it won't affect the plot any.

If anybody thinks up a good use for them in the future, we can consider putting it into the firmware.
--
You received this message because you are subscribed to the Google Groups "EggBotUser" group.
To post to this group, send email to eggbo...@googlegroups.com.
To unsubscribe from this group, send email to eggbotuser+unsub...@googlegroups.com.

Mark920

unread,
Dec 23, 2010, 8:48:21 AM12/23/10
to EggBotUser
I get it, thanks. Was not sure if it was an indication of some sort
of problem...

Mark



On Dec 23, 7:45 am, Brian Schmalz <brian_schm...@yahoo.com> wrote:
> Mark,
>
> Those are actually direction LEDs. What they indicate is the current status of the direction inputs to the motor driver chips. I'm not really even sure why I left them on there other than it's a way to see if your system is 'working' and reversing direction. After you've stopped plotting, they just stay on in whatever state they were last on.
>
> If yours are always on after a plot, all that means is that your last move was in a direction such that both motors direction lines were high.
>
> Now that you bring it up, we could actually use them as indicators to people if we wanted to. As long as the motors are not moving, we can turn those LEDs on and off and it won't affect the plot any.
>
> If anybody thinks up a good use for them in the future, we can consider putting it into the firmware.
>
> *Brian
>
>  Homewww.schmalzhaus.com
> Workwww.logicpd.com
>
> From: Mark920 <mforss...@gmail.com>
> To: EggBotUser <eggbo...@googlegroups.com>
> Cc:
> Sent: Thursday, December 23, 2010 7:41:53 AM
> Subject: [EggBot] Re: Jittery Pen Servo
>
> Brian
>
> Do the 2 red drive lites normally stay on even though the machine is
> not doing anything?
>
> Mine are on almost all the time, even when inkscape not running...
>
> --
> You received this message because you are subscribed to the Google Groups "EggBotUser" group.
> To post to this group, send email to eggbo...@googlegroups.com.
> To unsubscribe from this group, send email to eggbotuser+...@googlegroups.com.

Brian Schmalz

unread,
Dec 23, 2010, 8:52:47 AM12/23/10
to eggbo...@googlegroups.com
P.S. - That picture you sent of the EBB with the red and green lights - and the white EBB board itself:

If I didn't know better, I would say that picture was set up to be Christmas colors! How very of the season. Nice!
Sent: Thursday, December 23, 2010 7:43:29 AM
Subject: Re: [EggBot] Jittery Pen Servo
--

Mark920

unread,
Dec 23, 2010, 8:55:32 AM12/23/10
to EggBotUser
That is wonderful...

Now you need to do a automated pcb christmas tree..... ;-)

mf

On Dec 23, 7:52 am, Brian Schmalz <brian_schm...@yahoo.com> wrote:
> P.S. - That picture you sent of the EBB with the red and green lights - and the white EBB board itself:
>
> If I didn't know better, I would say that picture was set up to be Christmas colors! How very of the season. Nice!
>
> *Brian
>
>  Homewww.schmalzhaus.com
> Workwww.logicpd.com
>
Reply all
Reply to author
Forward
0 new messages