Skip to content
Snippets Groups Projects
Commit 55d971ff authored by Otto Kalliorinne's avatar Otto Kalliorinne
Browse files

Update README.md

parent 1ffa7767
No related branches found
No related tags found
No related merge requests found
...@@ -5,41 +5,40 @@ Carl Österberg (grade 4), Otto Kalliorinne (4), Alba Gallego (grade 4) ...@@ -5,41 +5,40 @@ Carl Österberg (grade 4), Otto Kalliorinne (4), Alba Gallego (grade 4)
### Introduction ### Introduction
We plan to make a gaming mouse using the shell of an old RZ01-0201 gaming mouse. We plan to make a gaming mouse using the shell of an old RZ01-0201 gaming mouse.
### Intended features: ### Features:
* movement * cursor movement(obviously)
* right and left mouseclick (mouse1/2) * right and left mouseclick (mouse1/2)
* sidebuttons (mouse4/5) * sidebuttons (mouse4/5)
* dpi buttons (2) * dpi buttons (2)
* if time allows: * if time allows:
* scrollwheel with button (mouse3)!!!! * scrollwheel with button (mouse3)!!!!
### Components we intend to use ### Components:
* Reuse of old side and dpi buttons (separate board with 5-pin cable to nucleo). * Reuse of old side and dpi buttons (separate board with 5-pin cable to nucleo).
* 2 D2F switches. * 2 D2F switches.
* Scrollcomponent and scrollwheel button. * Custom nucleo board with MCU STM32F401RE
* Custom nucleo board with MCU STM32F411RETx.
* PixArt PMW3389 sensor * PixArt PMW3389 sensor
* Shell of RZ01-0201 * Shell of RZ01-0201
* The rest of the components used is found in the Kicad project file, together with the PCB cutout and design.
### Software specs ### Software specs
* Code language = Rust * USB mouse driver written in Rust using RTIC
* Reliable communication
* *
https://github.com/stm32-rs/stm32f4xx-hal https://github.com/stm32-rs/stm32f4xx-hal
### Pin connections ### Pin connections
All the connections can be seen in the kicad project files, for debugging, crystal, mouse buttons etc etc. All the connections can be seen in the kicad project files, for st-link, crystal, mouse buttons etc etc.
The important connections are those that are going to be processed explicitly in the mouse driver code. The important connections are those that are going to be processed explicitly in the mouse driver code.
##### Buttons ##### Buttons
* PC6(36) = mouse2 * PC6(36) = mouse2
* PC7(37) = mouse1 * PC7(37) = mouse1
* PB12(33) * PB12(33) = dpi2
* PB13(34) * PB13(34) = dpi1
* PB14(35) * PB14(35) = mb4
* PB15(36) * PB15(36) = mb5
##### Sensor ##### Sensor connected using SPI2 on
* PA15(50) = NCS * PA15(50) = NCS
* PC10(51) = SLCK * PC10(51) = SLCK
* PC11(52) = MISO * PC11(52) = MISO
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment