controling the speed and direction of a motor
Archiver
Posts: 46,084
There is an article on this in the FAQ at
http://www.wd5gnr.com/stampfaq.htm.
You have a few choices: an h-bridge will control direction and PWM will
control speed.
Or you can use a modified servo which is handy since you don't need
anything in the way
Of extra circuitry.
Al Williams
AWC
* Floating point A/D
http://www.al-williams.com/pak9.htm
>
Original Message
> From: Digitalcowboy00 [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=nVx9e5ShdB8o6Ap52fdcOpshcCt5Zh-8xhalBujd1h5uEsXv9Ksvpj4-tCV1brYa-N61R0la8acwZjpSRiz-To4]DigitalCowboy00@s...[/url
> Sent: Monday, August 19, 2002 12:55 PM
> To: basicstamps@yahoogroups.com
> Subject: [noparse][[/noparse]basicstamps] controling the speed and direction of a motor
>
>
> Hello all,
> Got a question, can some one tell me how i can use the
> basic stamp to control the speed and direction of two motor.
>
> thanks
> justin
>
> p.s. Any lead in the right direction, is very helpful
>
>
>
>
> [noparse][[/noparse]Non-text portions of this message have been removed]
>
>
> 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.
>
>
> Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
>
>
http://www.wd5gnr.com/stampfaq.htm.
You have a few choices: an h-bridge will control direction and PWM will
control speed.
Or you can use a modified servo which is handy since you don't need
anything in the way
Of extra circuitry.
Al Williams
AWC
* Floating point A/D
http://www.al-williams.com/pak9.htm
>
Original Message
> From: Digitalcowboy00 [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=nVx9e5ShdB8o6Ap52fdcOpshcCt5Zh-8xhalBujd1h5uEsXv9Ksvpj4-tCV1brYa-N61R0la8acwZjpSRiz-To4]DigitalCowboy00@s...[/url
> Sent: Monday, August 19, 2002 12:55 PM
> To: basicstamps@yahoogroups.com
> Subject: [noparse][[/noparse]basicstamps] controling the speed and direction of a motor
>
>
> Hello all,
> Got a question, can some one tell me how i can use the
> basic stamp to control the speed and direction of two motor.
>
> thanks
> justin
>
> p.s. Any lead in the right direction, is very helpful
>
>
>
>
> [noparse][[/noparse]Non-text portions of this message have been removed]
>
>
> 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.
>
>
> Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
>
>
Comments
Got a question, can some one tell me how i can use the basic stamp to
control the speed and direction of two motor.
thanks
justin
p.s. Any lead in the right direction, is very helpful
[noparse][[/noparse]Non-text portions of this message have been removed]
i have this code for a analog output, but it only works with one out, how
can i get it to control 2 outs( such as 2 motors..
here is the code
'{$STAMP BS2sx}
D2Aout CON 0 ' analog out pin
level VAR Byte ' analog level
Main:
FOR level = 0 TO 255 ' increase voltage to LED
PWM D2Aout,level,25
NEXT
PAUSE 100
FOR level = 255 TO 0 ' decrease voltage to LED
PWM D2Aout,level,25
NEXT
GOTO Main ' do it again
END
please help
thanks justin
Original Message
From: Al Williams [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=SrRZkP4ZwWgMhhhCsIvTVHpDx2vAUCSnDLPXZvdj5tH2Fo68j2I7Jy84_dt3vBlws7YvrUajhl-XIotXvg]alw@a...[/url
Sent: Monday, August 19, 2002 9:10 AM
To: basicstamps@yahoogroups.com
Subject: RE: [noparse][[/noparse]basicstamps] controling the speed and direction of a motor
There is an article on this in the FAQ at
http://www.wd5gnr.com/stampfaq.htm.
You have a few choices: an h-bridge will control direction and PWM will
control speed.
Or you can use a modified servo which is handy since you don't need
anything in the way
Of extra circuitry.
Al Williams
AWC
* Floating point A/D
http://www.al-williams.com/pak9.htm
>
Original Message
> From: Digitalcowboy00 [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=6yAUMfpz_pHvtjdLZO-G-sKYrUhlkJEA-p63JEjqJtMk7V6hjdz3SSGeeUaKtRSg-mpltGuvFX9sbZuZDBBg1XhNy3Vk6w]DigitalCowboy00@s...[/url
> Sent: Monday, August 19, 2002 12:55 PM
> To: basicstamps@yahoogroups.com
> Subject: [noparse][[/noparse]basicstamps] controling the speed and direction of a motor
>
>
> Hello all,
> Got a question, can some one tell me how i can use the
> basic stamp to control the speed and direction of two motor.
>
> thanks
> justin
>
> p.s. Any lead in the right direction, is very helpful
>
>
>
>
> [noparse][[/noparse]Non-text portions of this message have been removed]
>
>
> 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.
>
>
> Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
>
>
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.
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/