Skip to content
Snippets Groups Projects
Select Git revision
  • 6309ddd0b75fd694955237804af2b2a08cd6c335
  • master default protected
2 results

gamingmouse

Name Last commit Last update
code
kicad
BOM.xlsx
CHANGELOG.md
README.md
TODO.md

Vibora rapida muerta

Participants:

Carl Österberg (grade 4), Otto Kalliorinne (4), Alba Gallego (grade 4)

Introduction

We plan to make a gaming mouse using the shell of an old RZ01-0201 gaming mouse.

Intended features:

  • movement
  • right and left mouseclick (mouse1/2)
  • sidebuttons (mouse4/5)
  • dpi buttons (2)
  • if time allows:
    • scrollwheel with button (mouse3)!!!!

Components we intend to use

  • Reuse of old side and dpi buttons (separate board with 5-pin cable to nucleo).
  • 2 D2F switches.
  • Scrollcomponent and scrollwheel button.
  • Custom nucleo board with MCU STM32F411RETx.
  • PixArt PMW3389 sensor
  • Shell of RZ01-0201

Software specs

  • Code language = Rust
  • Reliable communication

https://github.com/stm32-rs/stm32f4xx-hal

Pin connections

All the connections can be seen in the kicad project files, for debugging, crystal, mouse buttons etc etc.

The important connections are those that are going to be processed explicitly in the mouse driver code.

Buttons
  • PC6(36) = mouse2
  • PC7(37) = mouse1
  • PB12(33)
  • PB13(34)
  • PB14(35)
  • PB15(36)
Sensor
  • PA15(50) = NCS
  • PC10(51) = SLCK
  • PC11(52) = MISO
  • PC12(53) = MOSI