From 55d971fffa6644700c0b6b25c4939d59e2e2e7d1 Mon Sep 17 00:00:00 2001 From: Otto Kalliorinne <ottokalliorinne@gmail.com> Date: Wed, 24 Mar 2021 20:04:55 +0000 Subject: [PATCH] Update README.md --- README.md | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index b1a221596..c039d7925 100644 --- a/README.md +++ b/README.md @@ -5,41 +5,40 @@ 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 +### Features: +* cursor movement(obviously) * right and left mouseclick (mouse1/2) * sidebuttons (mouse4/5) * dpi buttons (2) * if time allows: * 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). * 2 D2F switches. -* Scrollcomponent and scrollwheel button. -* Custom nucleo board with MCU STM32F411RETx. +* Custom nucleo board with MCU STM32F401RE * PixArt PMW3389 sensor * 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 -* Code language = Rust -* Reliable communication +* USB mouse driver written in Rust using RTIC * 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. +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. ##### Buttons * PC6(36) = mouse2 * PC7(37) = mouse1 -* PB12(33) -* PB13(34) -* PB14(35) -* PB15(36) -##### Sensor +* PB12(33) = dpi2 +* PB13(34) = dpi1 +* PB14(35) = mb4 +* PB15(36) = mb5 +##### Sensor connected using SPI2 on * PA15(50) = NCS * PC10(51) = SLCK * PC11(52) = MISO -- GitLab