Shop OBEX P1 Docs P2 Docs Learn Events
PS/2 Mouse sample code with serial terminal support? - Page 2 — Parallax Forums

PS/2 Mouse sample code with serial terminal support?

2»

Comments

  • BotdocterBotdocter Posts: 271
    edited 2010-04-21 22:12
    I tested the code, but still nothing.

    I think it has nothing to do with the code since this last one didn't work either.
    I checked, re-checked and re-re-checked every connection. they all seem right.

    What mouse chip will work best? I have a mouse with a adns-2610 chip but ist's a USB mouse. Allthough that chip should be compatible with the propeller.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    1 Parallax Propeller Robot Control Board
    1 Memsic MX2125 accelerometer/ tilt
    1 Parallax Ping))) ultrasonic sensor

    a few motors and a whole lot of chaos!
  • SapiehaSapieha Posts: 2,964
    edited 2010-04-21 22:20
    Hi Botdocter.

    I have one Mouse that work on PC - But not on Propeller.

    That can be Yours problem

    Regards.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Nothing is impossible, there are only different degrees of difficulty.
    For every stupid question there is at least one intelligent answer.
    Don't guess - ask instead.
    If you don't ask you won't know.
    If your gonna construct something, make it·as simple as·possible yet as versatile as posible.


    Sapieha
  • BotdocterBotdocter Posts: 271
    edited 2010-04-21 22:58
    I heard some chips detect if you're using usb or ps/2. Is that the case with the adns chips? Or do you think i should try it anyway?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    1 Parallax Propeller Robot Control Board
    1 Memsic MX2125 accelerometer/ tilt
    1 Parallax Ping))) ultrasonic sensor

    a few motors and a whole lot of chaos!
  • AribaAriba Posts: 2,690
    edited 2010-04-22 08:56
    The adns-2610 is only an optical sensor with an SPI interface. There must be also a microcontroller in the mouse which reads the sensor and does the PS/2 and/or USB protocol.

    You really need a mouse that supports PS/2 fo sure, otherwise you never can know if the problem is the mouse, the connection or the software.
    Mice that support PS/2 and USB often comes with a mechanical adapter from USB to PS/2. I have 1 USB mouse that supports also PS/2 but 2 mice which do not.

    Andy
  • StefanL38StefanL38 Posts: 2,292
    edited 2010-04-23 18:26
    how about ordering THIS mouse ?
    For beeing REALLY sure that it is PS/2

    I want to emphasize again. A pure USB-mouse will NOT work with the standard mouse-object.
    A USB/PS/2-combi-mouse only MIGHT work

    the link above is a PURE propeller-chip PS/2.mouse

    best regards

    Stefan
  • BotdocterBotdocter Posts: 271
    edited 2010-04-23 20:05
    I looked at it but since i live in the netherlands it will cost me more shipping than the actual price.

    I have another option open. One of the members offered me a sensor module with a optical mousechip and 2 ir line tracking sensors. It comes with propellercode. He is now looking into shipping costs for me.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    1 Parallax Propeller Robot Control Board
    1 Memsic MX2125 accelerometer/ tilt
    1 Parallax Ping))) ultrasonic sensor

    a few motors and a whole lot of chaos!
  • nomadnomad Posts: 276
    edited 2010-04-29 07:11
    hi botdocter,

    your mouse problem,

    if you make this with the PRCB and take pins P0 ......

    have you connected the gnd (ground) to Pin0 (B) on the servoSockets

    and i think on the pins are +3.3Volt not 5.0volt and the mouse (i think must have 5volts)

    excuse my stupid answer,,but...

    regards nomad
Sign In or Register to comment.