PMW3360 Sensor Breakout Board
Breakout board for the PixArt PMW3360DM-T2QU optical motion sensor, with an on-board 1.9 V regulator and level translation for 3.3 V and 5 V controllers.
Specifications
| Parameter | Value |
|---|---|
| Sensor | PixArt PMW3360DM-T2QU |
| Interface | SPI, mode 3, 2 MHz maximum |
| Logic level | Follows VCC |
| Motion output | MOT, active low |
| Resolution | Up to 12000 CPI, in steps of 100 |
| Tracking speed | 250 ips (typical) |
| Acceleration | 50 g (maximum) |
| Lens to surface distance | 2.2–2.6 mm (2.4 mm typical), measured from the lens reference plane |
| Mounting holes | 2 × 2.2 mm (M2), 24 mm apart |
Hardware versions
The version is identified by the marking printed on the board.
| Parameter | V1.0 | V1.1 | V1.2 |
|---|---|---|---|
| Marking | REV1.0 | KYCS-PMW3360 V1.1 | KYCS-PMW3360 V1.2 |
| Board size | 26 × 29 mm | 21.5 × 28 mm | 21.5 × 28 mm |
| Supply voltage (as printed) | 2–5.5 V | 2–5.5 V | 2.5–5.5 V |
| Regulator | TLV70019 | TLV70019 | VRH1902 |
| Level translators | 5 × SN74LVC1T45 | 3 × TXS0102 | 2 × SN74LVC2T45, 2 × SN74LVC1T45 |
RES level translation | No | Yes | Yes |
JP1 solder jumper | Yes | Yes | No |
Revision history
V1.2
- Level translators changed from TXS0102 to SN74LVC1T45 and SN74LVC2T45. This fixes the V1.1 known issue.
JP1removed. The pull-up resistor onMISis permanently connected on the sensor side.- Additional decoupling capacitors.
- Regulator changed from TLV70019 to VRH1902.
- Minimum supply voltage marking changed from 2 V to 2.5 V.
V1.1
- Board size reduced from 26 × 29 mm to 21.5 × 28 mm. Mounting hole spacing is unchanged.
- Level translators changed from SN74LVC1T45 to TXS0102.
- Level translation added to
RES.
Known issue: some V1.1 boards return unreliable sensor readings, observed with a 3.3 V controller. The cursor does not move or moves erratically.
V1.0
- Initial release.
Pinout
Pin 1 is the pin marked VCC. The direction is given as seen from the board.
| Pin | Marking | Direction | Function |
|---|---|---|---|
| 1 | VCC | Power | Supply voltage |
| 2 | MIS | Output | SPI data from the sensor (MISO) |
| 3 | MOS | Input | SPI data to the sensor (MOSI) |
| 4 | SCL | Input | SPI clock. Not an I²C SCL signal. |
| 5 | SS | Input | Chip select, active low |
| 6 | MOT | Output | Motion interrupt, active low |
| 7 | GND | Power | Ground |
| 8 | RES | Input | Reset, active low. Optional. |
Reset pin
RES is not required for operation and may remain unconnected.
| Version | Behavior |
|---|---|
| V1.0 | Connected directly to the sensor without level translation. Must remain unconnected. A 5 V signal exceeds the maximum rating of the sensor. |
| V1.1, V1.2 | Level translated. May be connected to a controller output. |
A reset erases the firmware inside the sensor (SROM). The controller must upload it again, for example by restarting.
Installation
Supply voltage
VCC must match the logic voltage of the controller. With a 3.3 V controller, such as an RP2040 board, VCC must be connected to 3V3. A 5 V supply puts 5 V on the controller inputs and can damage the controller.
Procedure
- The USB cable must be disconnected before wires are connected or changed.
JP1is set according to the board version.- The board is wired according to the table for the controller.
- All connections, in particular the
VCCvoltage, must be verified before power is applied. - The pin assignment in the firmware must match the wiring.
JP1 solder jumper
| Version | Setting |
|---|---|
| V1.0 | Bridged with solder |
| V1.1 | Open |
| V1.2 | Not present |
Wiring: 5 V controllers
| Board pin | Pro Micro (5 V version) | Elite-C |
|---|---|---|
VCC | VCC (not RAW) | VCC |
MIS | 14 | B3 |
MOS | 16 | B2 |
SCL | 15 | B1 |
SS | 10 | B6 |
MOT | 7 | E6 |
GND | GND | GND |
RES | Not connected | Not connected |
Wiring: 3.3 V controllers (RP2040)
| Board pin | Seeed XIAO RP2040 | 0xCB Gemini |
|---|---|---|
VCC | 3V3 | 3V3 |
MIS | D9 | 4 |
MOS | D10 | 3 |
SCL | D8 | 2 |
SS | D3 | 29 |
MOT | D2 | 28 |
GND | GND | GND |
RES | Not connected | Not connected |
Troubleshooting
| Symptom | Possible causes |
|---|---|
| Sensor is not detected, initialization fails | Missing or loose connection on VCC, GND, MIS or SS. MIS and MOS swapped. Firmware pin assignment differs from the wiring. |
| Sensor is detected, cursor does not move | Lens to surface distance outside 2.2–2.6 mm. |
Cursor stops after a signal on RES | The sensor firmware was erased. A controller restart is required. |
| Cursor does not move or moves erratically on V1.1 | Known issue of V1.1. |