DC Motors, PWM, Cycles
Archiver
Posts: 46,084
Hello,
When using a DC Motor without an R/C circuit (according to the
documentation it does not need an R/C circuit ) what is the cycles set to?
The formula I have to determine cycles is
Charge time (Cycles) = 4 * R * C.
So without an R/C circuit, what should the charge time be?
Thanks.
Carl
When using a DC Motor without an R/C circuit (according to the
documentation it does not need an R/C circuit ) what is the cycles set to?
The formula I have to determine cycles is
Charge time (Cycles) = 4 * R * C.
So without an R/C circuit, what should the charge time be?
Thanks.
Carl
Comments
create an analog output voltage when filtered through an RC circuit (and
buffered with a suitable opamp).
The PWM output is very irregular which is why it doesn't work for
motors, but is good for keeping a capacitor charged to a desired level.
-- Jon Williams
-- Applications Engineer, Parallax
-- Dallas Office
Original Message
From: cdisalvo0023 [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=j5oWb4X5zyBVBwpb-SRtn_OWRRzdfVOEi-g484Gt9xOr0hkffAwdsnaQ-pDIufhuxlHPeBOA0p9dPw45VpG9nwY]cdisalvo0023@y...[/url
Sent: Monday, February 23, 2004 1:35 PM
To: basicstamps@yahoogroups.com
Subject: [noparse][[/noparse]basicstamps] DC Motors, PWM, Cycles
Hello,
When using a DC Motor without an R/C circuit (according to the
documentation it does not need an R/C circuit ) what is the cycles set
to?
The formula I have to determine cycles is
Charge time (Cycles) = 4 * R * C.
So without an R/C circuit, what should the charge time be?
Thanks.
Carl
motor. This seems to work.
Is there another command you would suggest to achieve the same goal
(controlling the speed of a DC Motor).
Thanks.
Carl
--- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...> wrote:
> The PWM instruction is not intended to drive motors; it is intended to
> create an analog output voltage when filtered through an RC circuit (and
> buffered with a suitable opamp).
>
> The PWM output is very irregular which is why it doesn't work for
> motors, but is good for keeping a capacitor charged to a desired level.
>
> -- Jon Williams
> -- Applications Engineer, Parallax
> -- Dallas Office
>
>
>
Original Message
> From: cdisalvo0023 [noparse][[/noparse]mailto:cdisalvo0023@y...]
> Sent: Monday, February 23, 2004 1:35 PM
> To: basicstamps@yahoogroups.com
> Subject: [noparse][[/noparse]basicstamps] DC Motors, PWM, Cycles
>
>
> Hello,
>
> When using a DC Motor without an R/C circuit (according to the
> documentation it does not need an R/C circuit ) what is the cycles set
> to?
>
> The formula I have to determine cycles is
> Charge time (Cycles) = 4 * R * C.
>
> So without an R/C circuit, what should the charge time be?
>
> Thanks.
>
> Carl
instruction, then... which instruction is appropiate to realize a good
DC motor control?
Thanks,
Yerko M.
Mensaje original
De: Jon Williams [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=Nju1x98A0tkQs_ra6U53uF5OiSk6btV37dCaMt9DAfU9TgSRHnwsVNyAKzi_NE-sU1rRli2cORUbH02TuVKXqw]jwilliams@p...[/url
Enviado el: Lunes, 23 de Febrero de 2004 16:57
Para: basicstamps@yahoogroups.com
Asunto: RE: [noparse][[/noparse]basicstamps] DC Motors, PWM, Cycles
The PWM instruction is not intended to drive motors; it is intended to
create an analog output voltage when filtered through an RC circuit (and
buffered with a suitable opamp).
The PWM output is very irregular which is why it doesn't work for
motors, but is good for keeping a capacitor charged to a desired level.
-- Jon Williams
-- Applications Engineer, Parallax
-- Dallas Office
Original Message
From: cdisalvo0023 [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=mshwuXOpPrbYKG2f7OdP2yOssDORaq5RBeVSdNRhGky4o9pyo5piBs-EerU7D_oyPFcg9snshFW4PcTdpM9A]cdisalvo0023@y...[/url
Sent: Monday, February 23, 2004 1:35 PM
To: basicstamps@yahoogroups.com
Subject: [noparse][[/noparse]basicstamps] DC Motors, PWM, Cycles
Hello,
When using a DC Motor without an R/C circuit (according to the
documentation it does not need an R/C circuit ) what is the cycles set
to?
The formula I have to determine cycles is
Charge time (Cycles) = 4 * R * C.
So without an R/C circuit, what should the charge time be?
Thanks.
Carl
To UNSUBSCRIBE, just send mail to:
basicstamps-unsubscribe@yahoogroups.com
from the same email address that you subscribed. Text in the Subject
and Body of the message will be ignored.
Yahoo! Groups Links
direction. Schematics, boards and programs can be found there.
jim
http://www.geocities.com/jimforkin2003/
Original Message
From: Yerko Melgarejo [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=KiYKXevFWmLnWpXxjnYpCowst2XMsR33XNf0Mll0Z8Zim_typBWvlPuVm1l1FbS23VQZ-BZkipdC3O60a17pmqk]yerkomelgarejo@t...[/url
Sent: Monday, February 23, 2004 9:10 PM
To: basicstamps@yahoogroups.com
Subject: RE: [noparse][[/noparse]basicstamps] DC Motors, PWM, Cycles
Hi, i have a similar problem with a DC Motor control using PWM
instruction, then... which instruction is appropiate to realize a good
DC motor control?
Thanks,
Yerko M.
Mensaje original
De: Jon Williams [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=SPSbcEiwnqFD5cOPK_CGza3NPByyXjX6SLMvJ7zYlapESgrXDN7EHAWOSCHbYXJnI4D-H8PZqQze-u-ItKUoxA]jwilliams@p...[/url
Enviado el: Lunes, 23 de Febrero de 2004 16:57
Para: basicstamps@yahoogroups.com
Asunto: RE: [noparse][[/noparse]basicstamps] DC Motors, PWM, Cycles
The PWM instruction is not intended to drive motors; it is intended to
create an analog output voltage when filtered through an RC circuit (and
buffered with a suitable opamp).
The PWM output is very irregular which is why it doesn't work for
motors, but is good for keeping a capacitor charged to a desired level.
-- Jon Williams
-- Applications Engineer, Parallax
-- Dallas Office
Original Message
From: cdisalvo0023 [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=78KpYUs85ZWamivAh1s_0JHP0dssEzQmmnh4vBQW3V_JEihiLEC8T3MXxwUVO534XdNOy257JwRO0LgmW5Sb]cdisalvo0023@y...[/url
Sent: Monday, February 23, 2004 1:35 PM
To: basicstamps@yahoogroups.com
Subject: [noparse][[/noparse]basicstamps] DC Motors, PWM, Cycles
Hello,
When using a DC Motor without an R/C circuit (according to the
documentation it does not need an R/C circuit ) what is the cycles set
to?
The formula I have to determine cycles is
Charge time (Cycles) = 4 * R * C.
So without an R/C circuit, what should the charge time be?
Thanks.
Carl
To UNSUBSCRIBE, just send mail to:
basicstamps-unsubscribe@yahoogroups.com
from the same email address that you subscribed. Text in the Subject
and Body of the message will be ignored.
Yahoo! Groups Links
To UNSUBSCRIBE, just send mail to:
basicstamps-unsubscribe@yahoogroups.com
from the same email address that you subscribed. Text in the Subject and
Body of the message will be ignored.
Yahoo! Groups Links
have two aspects.
POWER available. You can't drive a motor that wants more current than
your supply can provide.
NOISE A dc motor generates a humongous amount of electrical noise
which might cause problems.
In General - PWM is an excellent means of speed control (as long as
it is used properly.)
At 11:09 PM -0300 2/23/04, Yerko Melgarejo wrote:
>Hi, i have a similar problem with a DC Motor control using PWM
>instruction, then... which instruction is appropiate to realize a good
>DC motor control?
--
I never teach my pupils; I only attempt to provide the conditions in
which they can learn.
- Albert Einstein