{"id":24689778,"url":"https://github.com/siderakb/pmw3360-pcb","last_synced_at":"2025-10-08T18:31:02.994Z","repository":{"id":61391210,"uuid":"526946432","full_name":"siderakb/pmw3360-pcb","owner":"siderakb","description":"PMW3360 optical mouse sensor breakout board, support both 3.3V and 1.8V logic","archived":false,"fork":false,"pushed_at":"2024-05-28T11:31:37.000Z","size":1243,"stargazers_count":129,"open_issues_count":0,"forks_count":9,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-01-19T22:15:38.932Z","etag":null,"topics":["kicad","oshw","pcb","pmw3360","qmk"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cern-ohl-p-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/siderakb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-CERN-OHL-P","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-08-20T14:15:13.000Z","updated_at":"2025-01-15T19:04:25.000Z","dependencies_parsed_at":"2023-12-15T15:58:48.470Z","dependency_job_id":"6b2a6b74-9448-4120-a93f-a74214b89990","html_url":"https://github.com/siderakb/pmw3360-pcb","commit_stats":null,"previous_names":["siderakb/pmw3360-pcb"],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siderakb%2Fpmw3360-pcb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siderakb%2Fpmw3360-pcb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siderakb%2Fpmw3360-pcb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siderakb%2Fpmw3360-pcb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/siderakb","download_url":"https://codeload.github.com/siderakb/pmw3360-pcb/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235741452,"owners_count":19038188,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["kicad","oshw","pcb","pmw3360","qmk"],"created_at":"2025-01-26T18:17:02.247Z","updated_at":"2025-10-08T18:30:57.636Z","avatar_url":"https://github.com/siderakb.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PMW3360 PCB\n\n[![license](https://img.shields.io/badge/License-CERN--OHL--P_v2-limegreen)](https://github.com/siderakb/pmw3360-pcb/blob/main/LICENSE-CERN-OHL-P)\n[![kicad](https://img.shields.io/badge/KiCad-v7-orange)](https://kicanvas.org/?github=https%3A%2F%2Fgithub.com%2Fsiderakb%2Fpmw3360-pcb%2Ftree%2Fmain%2Fpmw3360_pcb_pinheader)\n\n| 2.54mm Pin Header                                                                                     | 0.5mm FFC/FPC                                                                                         |\n| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- |\n| \u003ca href=\"https://i.imgur.com/dnOzjEC.jpg\"\u003e\u003cimg src=\"https://i.imgur.com/dnOzjEC.jpg\" width=\"300\"\u003e\u003c/a\u003e | \u003ca href=\"https://i.imgur.com/n6hp9wy.jpg\"\u003e\u003cimg src=\"https://i.imgur.com/n6hp9wy.jpg\" width=\"300\"\u003e\u003c/a\u003e |\n\n[PixArt PMW3360DM-T2QU](https://www.pixart.com/products-detail/10/PMW3360DM-T2QU) optical mouse sensor breakout board, can be operated with either a 1.8V or 3.3V voltage level.  \nAlso look at [PMW3610 PCB](https://github.com/siderakb/pmw3610-pcb).\n\n[Demo video 1](https://youtu.be/orrze81mV_8?t=312), [Demo video 2](https://youtu.be/CSA7Ih7nAls?si=umx-Psb8-lRDeviu)\n\n## PCB\n\nOnline preview available [here](https://kicanvas.org/?github=https%3A%2F%2Fgithub.com%2Fsiderakb%2Fpmw3360-pcb%2Ftree%2Fmain%2Fpmw3360_pcb_pinheader), powered by [KiCanvas](https://github.com/theacodes/kicanvas).\n\n![Schematic](https://i.imgur.com/PXqMESW.jpg)\n\n### BOM\n\n| Ref  | Value         | Footprint             |\n| ---- | ------------- | --------------------- |\n| C1   | 4.7uF/10V     | SMD 0603              |\n| C2   | 100nF         | SMD 0603              |\n| C3   | 1uF           | SMD 0603              |\n| C4\\* | 1uF           | SMD 0603              |\n| C5\\* | *DNI*         | SMD 0603              |\n| R1\\* | *DNI* or 10kΩ | SMD 0603              |\n| R2   | 10kΩ          | SMD 0603              |\n| R3   | 39Ω           | SMD 0603              |\n| R4\\* | *DNI*         | SMD 0603              |\n| U1   | PMW3360       | PMW3360DM-T2QU 16 Pin |\n| U2\\* | TLV74318PDBVR | SOT-23-5              |\n| J1\\* | 8 Pin         |                       |\n\n- *DNI*: don't install.\n- SMD 0603 (Imperial) aka 1608 Metric.\n- PMW3360 needs to be used with LM19-LSI lens.\n- `R1` is optional/additional RESET pull up resistor, RESET pin of PMW3360 has a built in weak pull up circuit.\n- `J1` connector have the following options:\n    - 2.54mm pin header: [`pmw3360_pcb_pinheader/`](/pmw3360_pcb_pinheader/)\n    - 0.5mm FFC/FPC: [`pmw3360_pcb_ffc/`](/pmw3360_pcb_ffc/)\n    - JST GH 1.25mm: [`pmw3360_pcb_jst/`](/pmw3360_pcb_jst/)\n- `U2` LDO regulator have the following options:\n\n|  Ref  | Default       | Alt.           | Alt.        |\n| :---: | ------------- | -------------- | ----------- |\n|  U2   | TLV74318PDBVR | RT9193-18GB    | TPS73601DBV |\n|  C4   | 1uF           | 1uF            | 4.7uF       |\n|  C5   | *DNI*         | 22nF or larger | 56.2k**Ω**  |\n|  R4   | *DNI*         | *DNI*          | 28kΩ        |\n| Note  | Fixed 1.8V    | Fixed 1.8V     | Adj. 1.8V   |\n\n### PCB Dimensions \u0026 Characteristics\n\nPlease refer to:\n- 2.54mm pin header: [`pmw3360_pcb_pinheader/`](/pmw3360_pcb_pinheader/)\n- 0.5mm FFC/FPC: [`pmw3360_pcb_ffc/`](/pmw3360_pcb_ffc/)\n- JST GH 1.25mm: [`pmw3360_pcb_jst/`](/pmw3360_pcb_jst/)\n\n\u003e PCB sizes vary among different connector editions.\n\n## Power\n\n### Voltage-Level Config\n\n3 configs available:\n\n|          |   3.3V    |    1.8 with LDO     |         1.8V without LDO          |\n| -------- | :-------: | :-----------------: | :-------------------------------: |\n| VIN Typ. |   3.3V    | (VDD + 0.2V) ~ 5.5V |               1.8V                |\n| VIN Max. |   3.6V    |        5.5V         |               2.1V                |\n| JP1      | `[1-2 3]` |      `[1 2-3]`      |             `[1-2-3]`             |\n| Note     |           |                     | `U2`, `R4`, `C3~5` can be omitted |\n\n### Jumper\n\n| JP1 Config |                     | Description                  |\n| :--------: | ------------------- | ---------------------------- |\n| `[1-2 3]`  | 2 and 1 close, 3 NC | VIO = VIN                    |\n| `[1 2-3]`  | 2 and 3 close, 1 NC | VIO = VDD (i.e. LDO output)  |\n| `[1-2-3]`  | 1, 2 and 3 close    | VIO = VDD = VIN (LDO bypass) |\n\n### Operating Voltage Range\n\n- **VDD**: 1.8 ~ 2.1V (i.e. LDO Vout)\n- **VIO**: VDD ~ 3.6V (i.e. VDDIO)\n- **VIN**: Depends on [Voltage-Level config](#voltage-level-config)\n\n## Firmware Examples\n\n- QMK\n    - [RP2040](/firmware/qmk/pmw3360_rp2040/)\n    - [Pro Micro](/firmware/qmk/pmw3360_promicro/)\n- [nRF Connect SDK (NCS)](/firmware/nordic/)\n\nPre-Build firmware can be found in [Releases](https://github.com/siderakb/pmw3360-pcb/releases/tag/fw_v0.1.0).\n\n## License\n\n- KiCad files (e.g. schematics, PCBs, footprints and symbols): [CERN-OHL-P v2](/LICENSE-CERN-OHL-P).\n- `firmware/qmk/`: [GPL v2](/LICENSE-QMK).\n- `firmware/nordic/`: [Nordic-5-Clause](/LICENSE-Nordic).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiderakb%2Fpmw3360-pcb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsiderakb%2Fpmw3360-pcb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiderakb%2Fpmw3360-pcb/lists"}