Shop OBEX P1 Docs P2 Docs Learn Events
Other uses for Optical technology? — Parallax Forums

Other uses for Optical technology?

ArchiverArchiver Posts: 46,084
edited 2001-12-24 09:24 in General Discussion
Say, has anyone thought of hacking an optical mouse for other purposes, such
as measurement? I picked one up for under $20- and to me that means it's in
the right price range for hacking.....

Chris

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2001-12-23 16:57
    One of my "back burner projects" is to try to couple a mouse to an cross
    slide vise. I can read the mouse with a PAK-VI (see
    http://www.al-williams.com/awce/pak6mou.htm). Then for a first project
    you could have LCD readouts on the vise position. The logical conclusion
    of that would be to use some cheap motors to drive the wheels and the
    mouse position would "close the loop". A dremel tool and some software
    and you could drill PCB holes easily.

    Regards,

    Al Williams
    AWC
    *NEW KIT: Need a 5V power supply?
    http://www.al-williams.com/awce/ps1.htm


    >
    Original Message
    > From: Chris Loiacono [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=VAdj6xQs9l0w-1irUMJaAKVnIB-nxZtZ31F0-c4iYRH-oaz1BFqjfaqj01OGCpCELdnT6h7jtzBOifyT]chris@m...[/url On Behalf Of
    > Chris Loiacono (E-mail)
    > Sent: Sunday, December 23, 2001 10:29 AM
    > To: Basicstamps Group (E-mail)
    > Subject: [noparse][[/noparse]basicstamps] Other uses for Optical technology?
    >
    >
    > Say, has anyone thought of hacking an optical mouse for other
    > purposes, such as measurement? I picked one up for under $20-
    > and to me that means it's in the right price range for hacking.....
    >
    > Chris
    >
    >
    > 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 2001-12-23 16:58
    Office Depot has a Chinese made optical mouse for 9.95.

    Original Message
    From: "Chris Loiacono (E-mail)" <chris01@t...>
    To: "Basicstamps Group (E-mail)" <basicstamps@yahoogroups.com>
    Sent: Sunday, December 23, 2001 10:29 AM
    Subject: [noparse][[/noparse]basicstamps] Other uses for Optical technology?


    > Say, has anyone thought of hacking an optical mouse for other purposes,
    such
    > as measurement? I picked one up for under $20- and to me that means it's
    in
    > the right price range for hacking.....
    >
    > Chris
    >
    >
    > 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 2001-12-23 17:32
    Yes. Some mice send 3 byte packets and some send 4 byte packets.
    However, I thought you had to "ask" a 4 byte mouse to send special
    packets -- maybe some new ones won't send 3 byte packets?

    Read http://www.genesyslogic.com/pdf/gl310mc2d_r10.pdf

    The PAK-VI should be able to read the mouse in raw mode, right? Then you
    just have to decode the packets coming out. I know Mouse Systems and
    Logitech used to have their own modes, but I think pretty much all mice
    now look like an MS mouse.

    Al Williams
    AWC
    * Easy RS-232 Prototyping
    http://www.al-williams.com/awce/rs1.htm

    >
    Original Message
    > From: John Leung [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=ftiMdU27FXHznjsORTy5uuwzlq5ePtTINKsMmSi2qbccO85oH70v6g4fexq-O_7W9CB4Ob9K3yrBV6HCVsDoB15m]jleung00@n...[/url
    > Sent: Monday, December 24, 2001 3:24 AM
    > To: basicstamps@yahoogroups.com
    > Subject: Re: [noparse][[/noparse]basicstamps] Other uses for Optical technology?
    >
    >
    > Dear All
    >
    > I have some information about this project that may help. I
    > did try to use a BS2, a PAKVI, and a serial LCD for a
    > simulated drawing action. There were two mouse available, one
    > was a simple old fashion Logitech mouse with a roll-ball
    > underneath, and the other was a more "high-tech" Microsoft
    > optical mouse.
    >
    > My code works for the old mouse, but not the new optical mouse.
    >
    > Is there any difference, I mean in terms of the communication
    > protocol between the old one and the new optical mouse?
    >
    > John
    >
    >
    >
    >
    Original Message
    > From: "Al Williams" <alw@a...>
    > To: <basicstamps@yahoogroups.com>
    > Sent: Sunday, December 23, 2001 8:57 AM
    > Subject: RE: [noparse][[/noparse]basicstamps] Other uses for Optical technology?
    >
    >
    > > One of my "back burner projects" is to try to couple a mouse to an
    > > cross slide vise. I can read the mouse with a PAK-VI (see
    > > http://www.al-williams.com/awce/pak6mou.htm). Then for a
    > first project
    > > you could have LCD readouts on the vise position. The logical
    > > conclusion of that would be to use some cheap motors to drive the
    > > wheels and the mouse position would "close the loop". A dremel tool
    > > and some software and you could drill PCB holes easily.
    > >
    > > Regards,
    > >
    > > Al Williams
    > > AWC
    > > *NEW KIT: Need a 5V power supply?
    > > http://www.al-williams.com/awce/ps1.htm
    > >
    > >
    > > >
    Original Message
    > > > From: Chris Loiacono [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=d7jts7YlKKFfZCG_jEhpqdULX1so-KI7qH5nDV3i-Ma0C_1qtbL58OFzW2kHrklj5_xswl0O2Ei0flbo]chris@m...[/url On
    > Behalf Of Chris
    > > > Loiacono (E-mail)
    > > > Sent: Sunday, December 23, 2001 10:29 AM
    > > > To: Basicstamps Group (E-mail)
    > > > Subject: [noparse][[/noparse]basicstamps] Other uses for Optical technology?
    > > >
    > > >
    > > > Say, has anyone thought of hacking an optical mouse for other
    > > > purposes, such as measurement? I picked one up for under
    > $20- and to
    > > > me that means it's in the right price range for hacking.....
    > > >
    > > > Chris
    > > >
    > > >
    > > > 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/
    > >
    > >
    > >
    >
    >
    > 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 2001-12-23 18:12
    One of the machine shop places in Houston sells some small, inexpensive
    digital readouts for small lathes and mills. They have some sort of data
    port for an external display as well. A 12" one is about a $100.

    Original Message

    > One of my "back burner projects" is to try to couple a mouse to an cross
    > slide vise. I can read the mouse with a PAK-VI (see
    > http://www.al-williams.com/awce/pak6mou.htm). Then for a first project
    > you could have LCD readouts on the vise position. The logical conclusion
    > of that would be to use some cheap motors to drive the wheels and the
    > mouse position would "close the loop". A dremel tool and some software
    > and you could drill PCB holes easily.
  • ArchiverArchiver Posts: 46,084
    edited 2001-12-23 18:28
    I had to cut out some odd-shaped boards, and used a similar cross-slide vise
    to make the boards and a small fixture to hold them while imaging the
    copper. I can just imagine how simple this would make this type of project.
    Drilling also would be super!!!
    At times, I'll proto a small plastic part, such as a box or case on the same
    device. A readout would be super here also. I have to be honest and admit
    that I haven't read up n the PAK's, but I intend to now....

    Chris


    >
    Original Message
    > From: Al Williams [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=JHB9NoN03hXpqVcY3yLFMA_fJ0FUYgfeZmn4GL8yv2rsUzHLBWbvzhwvdenGmatU1fSYZ5zo_bqohcEL]alw@a...[/url
    > Sent: Sunday, December 23, 2001 11:57 AM
    > To: basicstamps@yahoogroups.com
    > Subject: RE: [noparse][[/noparse]basicstamps] Other uses for Optical technology?
    >
    >
    > One of my "back burner projects" is to try to couple a mouse
    > to an cross
    > slide vise. I can read the mouse with a PAK-VI (see
    > http://www.al-williams.com/awce/pak6mou.htm). Then for a first project
    > you could have LCD readouts on the vise position. The logical
    > conclusion
    > of that would be to use some cheap motors to drive the wheels and the
    > mouse position would "close the loop". A dremel tool and some software
    > and you could drill PCB holes easily.
    >
    > Regards,
    >
    > Al Williams
    > AWC
    > *NEW KIT: Need a 5V power supply?
    > http://www.al-williams.com/awce/ps1.htm
    >
    >
    > >
    Original Message
    > > From: Chris Loiacono [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=XHWKcEYbEkfNhr70sqYaNnJeG8nryRsVGOmDIRah_7ZPz7yPcF75aXaAT7wEcLzFX1lRPHmqYZY]chris@m...[/url On Behalf Of
    > > Chris Loiacono (E-mail)
    > > Sent: Sunday, December 23, 2001 10:29 AM
    > > To: Basicstamps Group (E-mail)
    > > Subject: [noparse][[/noparse]basicstamps] Other uses for Optical technology?
    > >
    > >
    > > Say, has anyone thought of hacking an optical mouse for other
    > > purposes, such as measurement? I picked one up for under $20-
    > > and to me that means it's in the right price range for hacking.....
    > >
    > > Chris
    > >
    > >
    > > 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/
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2001-12-23 18:32
    I'm in Houston (well -- League City). Who is that?

    Al Williams
    AWC
    * Floating point math for the Stamp, PIC, SX, or any microcontroller
    http://www.al-williams.com/awce/pak1.htm

    >
    Original Message
    > From: Rodent [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=HEMXx-qGQcALtCbtF2gXIBA7N8ZqEcwHBLZ-ntuAHXsWIwTs5Wc_RcV5ZnuqC8cHxpExJa3BNS3X1A]daweasel@s...[/url
    > Sent: Sunday, December 23, 2001 12:12 PM
    > To: basicstamps@yahoogroups.com
    > Subject: Re: [noparse][[/noparse]basicstamps] Other uses for Optical technology?
    >
    >
    > One of the machine shop places in Houston sells some small,
    > inexpensive digital readouts for small lathes and mills. They
    > have some sort of data port for an external display as well.
    > A 12" one is about a $100.
    >
    >
    Original Message
    >
    > > One of my "back burner projects" is to try to couple a mouse to an
    > > cross slide vise. I can read the mouse with a PAK-VI (see
    > > http://www.al-williams.com/awce/pak6mou.htm). Then for a
    > first project
    > > you could have LCD readouts on the vise position. The logical
    > > conclusion of that would be to use some cheap motors to drive the
    > > wheels and the mouse position would "close the loop". A dremel tool
    > > and some software and you could drill PCB holes easily.
    >
    >
    >
    >
    > 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 2001-12-23 18:38
    Wholesale Tool -- www.wttool.com

    8100 Pinemont Dr., Houston, 77040 -- (713) 895-7777

    The 12" vertical-reading one is order # 1289-0455 for $89. The 12"
    horizontal reading one is order # 1289-0435 and is $76. The remote display
    is order # 1289-0440 and is $105.

    If you don't mind, see if you can get a spec sheet you can fax to me. Hard
    to tell how they mount, etc... by a small photo.

    Original Message

    > I'm in Houston (well -- League City). Who is that?

    > >
    Original Message

    > > One of the machine shop places in Houston sells some small,
    > > inexpensive digital readouts for small lathes and mills. They
    > > have some sort of data port for an external display as well.
    > > A 12" one is about a $100.
    > >
    > >
    Original Message
    > >
    > > > One of my "back burner projects" is to try to couple a mouse to an
    > > > cross slide vise. I can read the mouse with a PAK-VI (see
    > > > http://www.al-williams.com/awce/pak6mou.htm). Then for a
    > > first project
    > > > you could have LCD readouts on the vise position. The logical
    > > > conclusion of that would be to use some cheap motors to drive the
    > > > wheels and the mouse position would "close the loop". A dremel tool
    > > > and some software and you could drill PCB holes easily.
  • ArchiverArchiver Posts: 46,084
    edited 2001-12-24 01:22
    My old Kensington optical mouse had the agilent imaging sensor in
    it. The cable was very low quality and I eventually had to replace
    it with a new mouse, but I salvaged the optical sensor part. I
    tried interfacing it to my AVR, and was able to measure pulses, but
    I don't really know how to get it working properly.

    http://literature.agilent.com/litweb/pdf/5988-4073EN.pdf

    Unfortunately I'm not really sure how to process the signal, but if
    I figure something out, I'll try to get it running on the stamp and
    post it.


    --- In basicstamps@y..., "Chris Loiacono (E-mail)" <chris01@t...>
    wrote:
    > Say, has anyone thought of hacking an optical mouse for other
    purposes, such
    > as measurement? I picked one up for under $20- and to me that
    means it's in
    > the right price range for hacking.....
    >
    > Chris
  • ArchiverArchiver Posts: 46,084
    edited 2001-12-24 09:24
    Dear All

    I have some information about this project that may help. I did try to use a
    BS2, a PAKVI, and a serial LCD for a simulated drawing action. There were
    two mouse available, one was a simple old fashion Logitech mouse with a
    roll-ball underneath, and the other was a more "high-tech" Microsoft optical
    mouse.

    My code works for the old mouse, but not the new optical mouse.

    Is there any difference, I mean in terms of the communication protocol
    between the old one and the new optical mouse?

    John



    Original Message
    From: "Al Williams" <alw@a...>
    To: <basicstamps@yahoogroups.com>
    Sent: Sunday, December 23, 2001 8:57 AM
    Subject: RE: [noparse][[/noparse]basicstamps] Other uses for Optical technology?


    > One of my "back burner projects" is to try to couple a mouse to an cross
    > slide vise. I can read the mouse with a PAK-VI (see
    > http://www.al-williams.com/awce/pak6mou.htm). Then for a first project
    > you could have LCD readouts on the vise position. The logical conclusion
    > of that would be to use some cheap motors to drive the wheels and the
    > mouse position would "close the loop". A dremel tool and some software
    > and you could drill PCB holes easily.
    >
    > Regards,
    >
    > Al Williams
    > AWC
    > *NEW KIT: Need a 5V power supply?
    > http://www.al-williams.com/awce/ps1.htm
    >
    >
    > >
    Original Message
    > > From: Chris Loiacono [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=udsxur2gxnZspjGxOHitohtrL4i4S6Vujb6OobH0C_fZr6RdcCr9haKCabHr59sMj4HTnYVGvK9TkqoTJw]chris@m...[/url On Behalf Of
    > > Chris Loiacono (E-mail)
    > > Sent: Sunday, December 23, 2001 10:29 AM
    > > To: Basicstamps Group (E-mail)
    > > Subject: [noparse][[/noparse]basicstamps] Other uses for Optical technology?
    > >
    > >
    > > Say, has anyone thought of hacking an optical mouse for other
    > > purposes, such as measurement? I picked one up for under $20-
    > > and to me that means it's in the right price range for hacking.....
    > >
    > > Chris
    > >
    > >
    > > 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/
    >
    >
    >
Sign In or Register to comment.