Shop OBEX P1 Docs P2 Docs Learn Events
Encoder use & Basic Stamp — Parallax Forums

Encoder use & Basic Stamp

ArchiverArchiver Posts: 46,084
edited 2001-05-21 06:45 in General Discussion
Hi Norm,

If its the one I think you're referring too I found it on the N&V
site. If you have another example of encoder use please let me
know the link to it.

Yahoo wouldn't let me email you, it keep asking me to loggin
so apologies for the late reply.

Do you know of any encoder dedicated IC's do the counting,
and determination of direction?

I'm looking at another encoder app, actually glass scale where
the output signal goes down to 1 uS, I'd like to count it with
an IC or something and output the count to a BS2.

Actually I can slow down the output to about .2 mS if I don't move
it so fast, wonder if the BS2 can XOR fast enough to keep up with
that?

Thanks,

Mark



--- In basicstamps@y..., "norman doty" <normdoty@h...> wrote:
> mark send me your email address and ill send the file back as an
attachment.
>
> stamp app #8
>
> normdoty@h...
>
>
>
> >From: auto106947@h...
> >Reply-To: basicstamps@y...
> >To: basicstamps@y...
> >Subject: [noparse][[/noparse]basicstamps] Grayhill rotary encoder switch & Basic
Stamp
> >Date: Wed, 16 May 2001 02:25:38 -0000
> >
> >Hi all,
> >
> >Seems like I used to remember a Basic Stamp application
> >with a Basic Stamp hooked up to a Grayhill rotary encoder
> >switch.
> >
> >You could turn the switch around and an LCD would display the
> >switch position or something.
> >
> >If anyone knows a link to that or knows how to get these
> >to work with the Stamp please advise.
> >
> >Thanks,
> >
> >Mark
> >
> >
> >
> >
> >Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
> >
> >
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2001-05-19 15:51
    [font=arial,helvetica]Mark:

    Try www.usdigital.com, they have encoder chips that will interface with
    microcontrollers as well as encoders.

    I hope this helps some.

    Regards,

    Randy Abernathy
    Woodworking Machinery Specialist
    4626 Old Stilesboro Road
    Acworth, GA 30101
    Ph/Fax: 770-974-5295
    E-mail: cnc002@aol.com[/font]
  • ArchiverArchiver Posts: 46,084
    edited 2001-05-20 01:44
    Hi Randy,

    Thanks for the tip, I've been aware of US Digital too, but
    the new thing about them, at least to me, is that they're now
    selling IC's. Those LS7083/84's might be great for a cheapo
    stamp to encoder interface.

    I'm thinking about getting one of those newer faster stamps
    with all the pins since the BS2 I have now seems barely able
    to keep up with hand turned Grayhill Series 61 2 bit quadrature
    in a knob select app.

    Right now I'm looking at a Heidenhain ST 1271 Length gage, its
    pretty cool ± 1 µm accuracy(think that's a little less than half
    a tenth"), pins 4 & 12 are Vdd, and 2 & 10 Vss (I don't know how
    anyone can understand that european pictograph pinout diagram) and
    you get nice TTL signals (signal period= 2 µm) outta the other pins.

    http://www.heidenhain.com/Products/DigitalLengthGauge/specto.htm

    Trouble with this thing is that its 500 bucks, it took a little
    convincing to get the boss to let me get my hot little hands on it!

    Mark

    --- In basicstamps@y..., cnc002@a... wrote:
    > Mark:
    >
    > Try www.usdigital.com, they have encoder chips that will interface
    with
    > microcontrollers as well as encoders.
    >
    > I hope this helps some.
    >
    > Regards,
    >
    > Randy Abernathy
    > Woodworking Machinery Specialist
    > 4626 Old Stilesboro Road
    > Acworth, GA 30101
    > Ph/Fax: 770-974-5295
    > E-mail: cnc002@a...
  • ArchiverArchiver Posts: 46,084
    edited 2001-05-20 02:56
    I feel stupid. =] What is a µm?

    Jason

    Original Message
    From: <auto106947@h...>
    To: <basicstamps@yahoogroups.com>
    Sent: Saturday, May 19, 2001 8:44 PM
    Subject: [noparse][[/noparse]basicstamps] Re: Encoder use & Basic Stamp


    Hi Randy,

    Thanks for the tip, I've been aware of US Digital too, but
    the new thing about them, at least to me, is that they're now
    selling IC's. Those LS7083/84's might be great for a cheapo
    stamp to encoder interface.

    I'm thinking about getting one of those newer faster stamps
    with all the pins since the BS2 I have now seems barely able
    to keep up with hand turned Grayhill Series 61 2 bit quadrature
    in a knob select app.

    Right now I'm looking at a Heidenhain ST 1271 Length gage, its
    pretty cool ± 1 µm accuracy(think that's a little less than half
    a tenth"), pins 4 & 12 are Vdd, and 2 & 10 Vss (I don't know how
    anyone can understand that european pictograph pinout diagram) and
    you get nice TTL signals (signal period= 2 µm) outta the other pins.

    http://www.heidenhain.com/Products/DigitalLengthGauge/specto.htm

    Trouble with this thing is that its 500 bucks, it took a little
    convincing to get the boss to let me get my hot little hands on it!

    Mark

    --- In basicstamps@y..., cnc002@a... wrote:
    > Mark:
    >
    > Try www.usdigital.com, they have encoder chips that will interface
    with
    > microcontrollers as well as encoders.
    >
    > I hope this helps some.
    >
    > Regards,
    >
    > Randy Abernathy
    > Woodworking Machinery Specialist
    > 4626 Old Stilesboro Road
    > Acworth, GA 30101
    > Ph/Fax: 770-974-5295
    > E-mail: cnc002@a...




    Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
  • ArchiverArchiver Posts: 46,084
    edited 2001-05-20 04:08
    Hi Jason,

    Don't quote me or buy anything on this info but
    I think .0001" = 2.54µm, I think they call them "microns"
    or millionths of a meter.

    Mark

    --- In basicstamps@y..., "n1iic Jason Greene" <n1iic@q...> wrote:
    > I feel stupid. =] What is a µm?
    >
    > Jason
    >
    >
    Original Message
    > From: <auto106947@h...>
    > To: <basicstamps@y...>
    > Sent: Saturday, May 19, 2001 8:44 PM
    > Subject: [noparse][[/noparse]basicstamps] Re: Encoder use & Basic Stamp
    >
    >
    > Hi Randy,
    >
    > Thanks for the tip, I've been aware of US Digital too, but
    > the new thing about them, at least to me, is that they're now
    > selling IC's. Those LS7083/84's might be great for a cheapo
    > stamp to encoder interface.
    >
    > I'm thinking about getting one of those newer faster stamps
    > with all the pins since the BS2 I have now seems barely able
    > to keep up with hand turned Grayhill Series 61 2 bit quadrature
    > in a knob select app.
    >
    > Right now I'm looking at a Heidenhain ST 1271 Length gage, its
    > pretty cool ± 1 µm accuracy(think that's a little less than half
    > a tenth"), pins 4 & 12 are Vdd, and 2 & 10 Vss (I don't know how
    > anyone can understand that european pictograph pinout diagram) and
    > you get nice TTL signals (signal period= 2 µm) outta the other pins.
    >
    > http://www.heidenhain.com/Products/DigitalLengthGauge/specto.htm
    >
    > Trouble with this thing is that its 500 bucks, it took a little
    > convincing to get the boss to let me get my hot little hands on it!
    >
    > Mark
    >
    > --- In basicstamps@y..., cnc002@a... wrote:
    > > Mark:
    > >
    > > Try www.usdigital.com, they have encoder chips that will interface
    > with
    > > microcontrollers as well as encoders.
    > >
    > > I hope this helps some.
    > >
    > > Regards,
    > >
    > > Randy Abernathy
    > > Woodworking Machinery Specialist
    > > 4626 Old Stilesboro Road
    > > Acworth, GA 30101
    > > Ph/Fax: 770-974-5295
    > > E-mail: cnc002@a...
    >
    >
    >
    >
    > Your use of Yahoo! Groups is subject to
    http://docs.yahoo.com/info/terms/
  • ArchiverArchiver Posts: 46,084
    edited 2001-05-20 16:16
    [font=arial,helvetica]Mark:

    You are quite correct about the BS2, it cannot keep up with the count
    frequency of almost any quadrature encoder of decent resolution. ·If you are
    considering one of the newer and faster versions such as the SX then you may
    have a shot at it. ·The code posted in the Nuts and Volts article, I believe
    it was by Scott Edwards, should still work, maybe with some minor
    modifications. ·The name of the article was SPIN AND GRIN I think. ·I used
    that code with a BS2, with some minor changes since I was interfacing with VB
    6.0 Pro, but it could not keep up with the 100 pulse per revolution FANUC
    pulse generators (these are just FANUC quadrature encoders with a hand turned
    knob mounted on them) unless you turned the knob VERY slowly. ·If you turned
    slow enough, it would count correctly but not suitable for any real life
    applications in this case.

    Regards,

    Randy Abernathy
    Woodworking Machine Specialist
    4626 Old Stilesboro Road NW
    Acworth, GA 30101-4066
    Phone/Fax: 770-974-5295
    E-mail: cnc002@aol.com[/font]
  • ArchiverArchiver Posts: 46,084
    edited 2001-05-20 16:17
    [font=arial,helvetica]In a message dated 5/19/01 9:57:16 PM Eastern Daylight Time, n1iic@qsl.net
    writes:


    I feel stupid. =] What is a µm?

    Jason



    Jason:

    That is a micro meter.

    Regards,

    Randy Abernathy
    Woodworking Machine Specialist
    4626 Old Stilesboro Road NW
    Acworth, GA 30101-4066
    Phone/Fax: 770-974-5295
    E-mail: cnc002@aol.com[/font]
  • ArchiverArchiver Posts: 46,084
    edited 2001-05-21 06:45
    > > I feel stupid. =] What is a µm?

    > > you get nice TTL signals (signal period= 2 µm) outta the other pins.

    1 µm = 10^-6 meters, or 1 millionth of a meter.

    Rob
    _________________________________________________________________
    Get your FREE download of MSN Explorer at http://explorer.msn.com
Sign In or Register to comment.