diff --git a/README.md b/README.md index b1a22159681c7c9d85c61a38606ba05475eb5c8c..c039d79256284ca83b81f9677b96f91eeaf43899 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