#  PMW3389 Motion Sensor

High performance laser motion sensor for detecting distance traveled in X or Y plane

- **Seller:** [Joe's Sensors and Sundry](https://lectronz.com/stores/citizenjoe), Scarborough, Ontario, Canada
- **Price:** €24.80 (EUR, before shipping and taxes)
- **Availability:** In stock
- **Categories:** Sensors, Robotics, SPI
- **HS code:** 854239
- **Product page:** https://lectronz.com/products/pmw3389-motion-sensor

## Links

- [Documentation](https://www.pixart.com/products-detail/4/PMW3389DM-T3QU)
- [Code](https://github.com/mrjohnk/PMW3389DM)

## Images

![ PMW3389 Motion Sensor](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MTMxMzYsInB1ciI6ImJsb2JfaWQifX0=--44366fc76c2618c0541b9738e90cd6641a271baf/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJqcGciLCJyZXNpemVfdG9fbGltaXQiOls5NjAsNjQwXSwic2F2ZXIiOnsic3RyaXAiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--970c165836a83091725a1a0fd4f37ce9408da1bf/rn_image_picker_lib_temp_ac49b967-9e50-41ba-84c7-21964d3d4c18.jpg)
![ PMW3389 Motion Sensor](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MTMxNDAsInB1ciI6ImJsb2JfaWQifX0=--558851c2ada7e1e983d234122a6210f9b364770d/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJqcGciLCJyZXNpemVfdG9fbGltaXQiOls5NjAsNjQwXSwic2F2ZXIiOnsic3RyaXAiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--970c165836a83091725a1a0fd4f37ce9408da1bf/rn_image_picker_lib_temp_e2807b52-5b89-49c8-a913-0c93fa6a1724.jpg)
![ PMW3389 Motion Sensor](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MTMxNDQsInB1ciI6ImJsb2JfaWQifX0=--cff301a47325bfc70de2a8e1d8c98fc30ca8eb75/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJqcGciLCJyZXNpemVfdG9fbGltaXQiOls5NjAsNjQwXSwic2F2ZXIiOnsic3RyaXAiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--970c165836a83091725a1a0fd4f37ce9408da1bf/rn_image_picker_lib_temp_69b11900-2fe7-4839-b7cf-12266ba96982.jpg)

## Description

This is an updated version of the module from JACK Enterprises! Now under new management with permission, since he's stopping production. 

This sensor board offers all the needed components to implement the Pixart PMW3389DM-T3QU high end gaming sensor. High speed motion detection up to 400 IPS.

Features:

    On-Board voltage regulator
    Fully assembled and tested
    3.3V or 5V compatible (Vin voltage sets I/O voltage levels. Tolerates 1.8V up to 5.5V)
    Resolution : up to 16,000 CPI (50 CPI step size)
    Lift detection (manual or 2mm-3mm setting)
    Angle snapping
    Speed/Acceleration : 400ips/50g IPS/50g
    Illumination : Integrated IR LED
    Focusing Lens included
    Works with Arduino SPI library
    Efficient Interrupt based operation

Applications:

    Corded gaming laser mice
    Optical trackballs
    Motion input devices
    Robotics

Pinout:

    MI = MISO
    MO = MOSI
    SS = Slave Select / Chip Select
    SC = SPI Clock
    MT = Motion (active low interrupt line)
    RS = Reset
    GD = Ground
    VI = Voltage in up to +5.5V

Dimensions:

    Board Size: 28mm x 21mm
    Screw holes: 24mm between centers
    Screw hole size: 2.44mm (fits 2-56 screw)
    Height: 9.25mm

FAQ:
Teensy wiring:

    VI = 3.3V
    MI = MISO0 -or- DIN
    MO = MOSI0 -or- DOUT
    SC = SCK0 -or- SCK
    SS = CS0 -or- CS
    MT = Pin 0
    GD = GND

