Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.electronics.design > #483369

Re: Servo current spike

From rickman <gnuarm@gmail.com>
Newsgroups sci.electronics.design
Subject Re: Servo current spike
Date 2017-10-28 14:57 -0400
Organization A noiseless patient Spider
Message-ID <ot2juq$fp6$1@dont-email.me> (permalink)
References (7 earlier) <20171028-132845.802.0@Peabody.ssl.astraweb.com> <ot27s5$gg7$1@dont-email.me> <20171028-163645.955.0@Peabody.ssl.astraweb.com> <ot2cq9$ms8$1@dont-email.me> <20171028-184442.695.0@Peabody.ssl.astraweb.com>

Show all headers | View raw


Peabody wrote on 10/28/2017 2:44 PM:
> rickman says...
>
>  > This helps a lot.  I can see the servo does have a
>  > control line from the nano.  Does the servo surge on
>  > power up regardless of the state of this control line?
>
> I've tried tying it low, or high, or waiting until the Nano
> is sending PWM before powering the servo, but none of that
> makes any difference.
>
>  >> If it was the 5V regulator, the circuit wouldn't work
>  >> with an alkaline battery.  But it does.  Therefore the
>  >> problem must be the 9V supply when anything other than
>  >> alkaline is used.
>
>  > Not if the 5 volt supply is not LDO.
>
> The regulator is the 5V version of the AMS1117.
>
>  > Since you have not responded to my requests for a scope
>  > trace I assume you don't have one?
>
> The problem is that the 9V power wall wart I'm using is the
> one I normally power my scope with.  I guess I could
> temporarily power the scope with a 9V battery, but I think
> it's pretty clear what's going on.
>
>  > Everyone was thinking the problem had to do with the
>  > nano resetting because of the power droop.  But you are
>  > saying the 5 volt rail is cut off because the 9 volt
>  > rail is drooping too much.  So, no, the diode and cap
>  > fix won't fix anything.  It will keep the nano from
>  > rebooting, but it won't matter because the PSU will keep
>  > cycling.
>
> Indeed.  I just finished the diode test with a 330 ufd cap.
> With the 9V battery it all works fine.  With the 9V wall
> wart both the Nano and the power module LEDs begin cycling
> as soon as I connect the servo.  So the diode/cap doesn't
> even keep the Nano from rebooting.  The power module must be
> off longer than the 330 ufd will bridge.

None of this is unexpected now that I understand everything you are saying. 
The PSU likely is holding off power a lot longer than the 22 ms you see in 
your servo surge.  Otherwise the nano would stay up.


>  > Also, I think JL is right in that you could probably
>  > replace the servo with an LED.  Motion detectors don't
>  > actually see motion.  They see variations in intensity
>  > caused by motion through a bug eye lens.  Shine a
>  > bright, point source light on them and they trigger.
>  > But a pipe cleaner waiving in front of the lens has a
>  > certain "geek" appeal.
>
> That part of the project was another guy's responsibility.
> I just did the opamp stuff.  I will ask him if he ever
> considered using an LED.  But I have to say, waving the pipe
> cleaner is pretty cool.  I mean, what's the fun in just
> turning on an LED?  We really should have several more
> Rube Goldberg steps before getting to the pipe cleaner.  :-)

The other thing is you can power the servo with a separate PSU.  That's not 
a bad idea regardless.  I'm not even sure why you are using the 5 volt PSU 
when there are tons of 5 volt wall warts in the world.  I guess you wanted 
to be power independent just in case.

-- 

Rick C

Viewed the eclipse at Wintercrest Farms,
on the centerline of totality since 1998

Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Servo current spike Peabody <waybackNO584SPAM44@yahoo.com> - 2017-10-20 17:54 -0500
  Re: Servo current spike tabbypurr@gmail.com - 2017-10-20 16:06 -0700
  Re: Servo current spike "John Smith" <invalid@invalid.invalid> - 2017-10-20 19:18 -0400
  Re: Servo current spike John Larkin <jjlarkin@highland_snip_technology.com> - 2017-10-20 16:42 -0700
  Re: Servo current spike sdy <sdeyoreo@hotmail.com> - 2017-10-20 18:45 -0700
    Re: Servo current spike Peabody <waybackNO584SPAM44@yahoo.com> - 2017-10-20 21:57 -0500
      Re: Servo current spike "John Smith" <invalid@invalid.invalid> - 2017-10-20 23:41 -0400
        Re: Servo current spike "Tim Williams" <tmoranwms@gmail.com> - 2017-10-20 23:32 -0500
      Re: Servo current spike Lasse Langwadt Christensen <langwadt@fonz.dk> - 2017-10-21 06:03 -0700
  Re: Servo current spike Jasen Betts <jasen@xnet.co.nz> - 2017-10-25 08:04 +0000
  Re: Servo current spike sdy <sdeyoreo@hotmail.com> - 2017-10-25 09:04 -0700
    Re: Servo current spike M Philbrook <jamie_ka1lpa@charter.net> - 2017-10-27 18:52 -0400
      Re: Servo current spike Peabody <waybackNO584SPAM44@yahoo.com> - 2017-10-27 19:35 -0500
        Re: Servo current spike rickman <gnuarm@gmail.com> - 2017-10-27 21:06 -0400
          Re: Servo current spike Peabody <waybackNO584SPAM44@yahoo.com> - 2017-10-28 00:17 -0500
            Re: Servo current spike rickman <gnuarm@gmail.com> - 2017-10-28 02:39 -0400
              Re: Servo current spike Peabody <waybackNO584SPAM44@yahoo.com> - 2017-10-28 08:28 -0500
                Re: Servo current spike rickman <gnuarm@gmail.com> - 2017-10-28 11:31 -0400
                Re: Servo current spike Peabody <waybackNO584SPAM44@yahoo.com> - 2017-10-28 11:36 -0500
                Re: Servo current spike rickman <gnuarm@gmail.com> - 2017-10-28 12:55 -0400
                Re: Servo current spike Peabody <waybackNO584SPAM44@yahoo.com> - 2017-10-28 13:44 -0500
                Re: Servo current spike rickman <gnuarm@gmail.com> - 2017-10-28 14:57 -0400
            Re: Servo current spike Jasen Betts <jasen@xnet.co.nz> - 2017-10-28 10:23 +0000
              Re: Servo current spike Peabody <waybackNO584SPAM44@yahoo.com> - 2017-10-28 08:34 -0500
                Re: Servo current spike Jasen Betts <jasen@xnet.co.nz> - 2017-10-28 20:12 +0000
        Re: Servo current spike "John Smith" <invalid@invalid.invalid> - 2017-10-27 21:50 -0400
          Re: Servo current spike Peabody <waybackNO584SPAM44@yahoo.com> - 2017-10-28 00:23 -0500
            Re: Servo current spike "John Smith" <invalid@invalid.invalid> - 2017-10-28 01:32 -0400
            Re: Servo current spike Winfield Hill <hill@rowland.harvard.edu> - 2017-10-28 06:42 -0700
              Re: Servo current spike rickman <gnuarm@gmail.com> - 2017-10-28 11:33 -0400
        Re: Servo current spike tabbypurr@gmail.com - 2017-10-29 02:25 -0700
  Re: Servo current spike sdy <sdeyoreo@hotmail.com> - 2017-10-27 19:12 -0700
    Re: Servo current spike kevin93 <kevin@whitedigs.com> - 2017-10-27 19:30 -0700
    Re: Servo current spike Peabody <waybackNO584SPAM44@yahoo.com> - 2017-10-28 00:26 -0500
  Re: Servo current spike kevin93 <kevin@whitedigs.com> - 2017-10-27 19:19 -0700
    Re: Servo current spike Peabody <waybackNO584SPAM44@yahoo.com> - 2017-10-28 00:33 -0500
      Re: Servo current spike TTman <kraken.sankey@gmail.com> - 2017-10-29 12:54 +0000

csiph-web