Shop OBEX P1 Docs P2 Docs Learn Events
help needed with Basic Stamp — Parallax Forums

help needed with Basic Stamp

ArchiverArchiver Posts: 46,084
edited 2003-06-30 19:15 in General Discussion
hey I need help with my basic stamp project

I HAVE TO MEASURE THE rpm OF A ROTATING MEMBER /ROLLING MEMBER

THEN PROCESS THAT RPM WITH A BASIC STAMP AND USE IT TO DRIVE A
STEPPER MOTOR AT CERTAIN RATIO TO TO rpm OF THE ROLLING MEMBER

PLEASE ADVISE WHAT KIND OF SHAFT ENCODER I SHOULD USE !!!

I HAVE A PARALLAX NX-1000 BOARD WITH BS2P24 BASIC STAMP

PLEASE HELP

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2003-05-29 01:26
    There are many options. Some of this is dependant on the mechanical
    connection available to the rotating part you are measuring. You can use
    the count command on the stamp and count the number of pulses from the
    encoder to get the RPM. The math for the conversion can then be done on the
    stamp and I would use an external stepper motor driver running off the
    commanded speed of the Stamp. You can run the stepping of the motor from
    the stamp but depending on the speed needed and the RPM of the controlling
    member you may not be able to get a smooth enough response. More details
    would help.

    Larry G. Nelson Sr.

    At 09:43 PM 5/28/03 +0000, you wrote:
    >hey I need help with my basic stamp project
    >
    >I HAVE TO MEASURE THE rpm OF A ROTATING MEMBER /ROLLING MEMBER
    >
    >THEN PROCESS THAT RPM WITH A BASIC STAMP AND USE IT TO DRIVE A
    >STEPPER MOTOR AT CERTAIN RATIO TO TO rpm OF THE ROLLING MEMBER
    >
    >PLEASE ADVISE WHAT KIND OF SHAFT ENCODER I SHOULD USE !!!
    >
    >I HAVE A PARALLAX NX-1000 BOARD WITH BS2P24 BASIC STAMP
    >
    >PLEASE HELP
    >
    >
    >
    >
    >
    >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/
  • ArchiverArchiver Posts: 46,084
    edited 2003-06-30 17:08
    Hi ,

    hey i have got a Iwatsu optical encoder with a resolution of 200 cycles per
    revolution , for past one week i have beeb trying to write a code for driving
    stepper motor with input from this encoder but unsucessfully
    as i have a NX-1000 board

    can someone suggest me some webpage/publication where there is better
    description of how stepper motors work and some example codes for a similar
    thing what i'm trying to achieve

    jimmy

    "Larry G. Nelson Sr" <larrysr@m...> wrote:
    There are many options. Some of this is dependant on the mechanical
    connection available to the rotating part you are measuring. You can use
    the count command on the stamp and count the number of pulses from the
    encoder to get the RPM. The math for the conversion can then be done on the
    stamp and I would use an external stepper motor driver running off the
    commanded speed of the Stamp. You can run the stepping of the motor from
    the stamp but depending on the speed needed and the RPM of the controlling
    member you may not be able to get a smooth enough response. More details
    would help.

    Larry G. Nelson Sr.

    At 09:43 PM 5/28/03 +0000, you wrote:
    >hey I need help with my basic stamp project
    >
    >I HAVE TO MEASURE THE rpm OF A ROTATING MEMBER /ROLLING MEMBER
    >
    >THEN PROCESS THAT RPM WITH A BASIC STAMP AND USE IT TO DRIVE A
    >STEPPER MOTOR AT CERTAIN RATIO TO TO rpm OF THE ROLLING MEMBER
    >
    >PLEASE ADVISE WHAT KIND OF SHAFT ENCODER I SHOULD USE !!!
    >
    >I HAVE A PARALLAX NX-1000 BOARD WITH BS2P24 BASIC STAMP
    >
    >PLEASE HELP
    >
    >
    >
    >
    >
    >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/



    SMS using the Yahoo! Messenger;Download latest version.

    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2003-06-30 19:15
    There is a Stamp article #7 or #8 way back that addressed reading quadrature
    encoders. Try the Nut and Volts site, under downloads, nuts and volts
    Original Message
    From: jimmy singh [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=5N8d_yGpnq9LiPjZQkS0zjt1gto-1g3flYY6-LVifgRRkdR2RgT077gYb6QLOGIkSAOJesanD5ht6uWNGKiCfQ]jimmy22502001@y...[/url
    Sent: Monday, June 30, 2003 12:08 PM
    To: basicstamps@yahoogroups.com
    Cc: larrysr@m...
    Subject: Re: [noparse][[/noparse]basicstamps] help needed with Basic Stamp

    Hi ,

    hey i have got a Iwatsu optical encoder with a resolution of 200 cycles
    per revolution , for past one week i have beeb trying to write a code for
    driving stepper motor with input from this encoder but unsucessfully
    as i have a NX-1000 board

    can someone suggest me some webpage/publication where there is better
    description of how stepper motors work and some example codes for a similar
    thing what i'm trying to achieve

    jimmy

    "Larry G. Nelson Sr" <larrysr@m...> wrote:
    There are many options. Some of this is dependant on the mechanical
    connection available to the rotating part you are measuring. You can use
    the count command on the stamp and count the number of pulses from the
    encoder to get the RPM. The math for the conversion can then be done on the
    stamp and I would use an external stepper motor driver running off the
    commanded speed of the Stamp. You can run the stepping of the motor from
    the stamp but depending on the speed needed and the RPM of the controlling
    member you may not be able to get a smooth enough response. More details
    would help.

    Larry G. Nelson Sr.

    At 09:43 PM 5/28/03 +0000, you wrote:
    >hey I need help with my basic stamp project
    >
    >I HAVE TO MEASURE THE rpm OF A ROTATING MEMBER /ROLLING MEMBER
    >
    >THEN PROCESS THAT RPM WITH A BASIC STAMP AND USE IT TO DRIVE A
    >STEPPER MOTOR AT CERTAIN RATIO TO TO rpm OF THE ROLLING MEMBER
    >
    >PLEASE ADVISE WHAT KIND OF SHAFT ENCODER I SHOULD USE !!!
    >
    >I HAVE A PARALLAX NX-1000 BOARD WITH BS2P24 BASIC STAMP
    >
    >PLEASE HELP
    >
    >
    >
    >
    >
    >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/



    SMS using the Yahoo! Messenger;Download latest version.

    [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/



    [noparse][[/noparse]Non-text portions of this message have been removed]
Sign In or Register to comment.