I have taken my cheap 24mhz logic analyzer out of the box. It was first time after 3 years from buying that thing. I realized that it can do amazing things! After two deep evenings of researching of optical mouse sensor without reasonable protocol description from datasheet I got some results.
❤2
Some batch of bits running to&from mcu and sensor while sensor is connected to native Mrs. Mouse mcu. Yes, it's called "sniffing" in our world.
Software used is Saleae Logic. It's a good looking and responsive tool for sniffing and decoding low-level protocols. Here I have two-wire serial communication with 8-bit packets going in and out. First 8 bits going from mcu is an register's address. Second 8 bits is an answer from sensor.
This record contains 3 packets, first - for product id 1 (address 0x00), second - for product id 2 (address 0x01) and third (address 0x02) is a state (moving or not).
Software used is Saleae Logic. It's a good looking and responsive tool for sniffing and decoding low-level protocols. Here I have two-wire serial communication with 8-bit packets going in and out. First 8 bits going from mcu is an register's address. Second 8 bits is an answer from sensor.
This record contains 3 packets, first - for product id 1 (address 0x00), second - for product id 2 (address 0x01) and third (address 0x02) is a state (moving or not).
❤1
This media is not supported in your browser
VIEW IN TELEGRAM
After writing some lines of Arduino code I've transformed 2.4Mhz dongle mouse to working bluetooth monster! (without clicks, just for fun now 👌)
❤6
After past night and day builds I've got this fancy proto-mouse.
- lipo battery with type-c charger
- OLED display for status
- buzzer feedback (also haptic in a plans)
- left, right and navigation buttons (+1 functional button)
- "in-hand" sensor (knows when you hold mouse in a hand)
- IR transmitter (needs IR receiver for recording signals) for turning your TV and PS off
- IMU sensor for air-mouse (for use with TV-sticks, etc.), also gestures in plans
- bright white LED for in-dark searchings
- 16 RGB LEDs at bottom because I can (cool, ha?)
- Bluetooth connection (this MCU doesn't support USB, will fix this later)
And yes, it doesn't have wheel right now (I don't have a space for it on this prototype-board). Also it needs a shell, will design it this week I guess.
- lipo battery with type-c charger
- OLED display for status
- buzzer feedback (also haptic in a plans)
- left, right and navigation buttons (+1 functional button)
- "in-hand" sensor (knows when you hold mouse in a hand)
- IR transmitter (needs IR receiver for recording signals) for turning your TV and PS off
- IMU sensor for air-mouse (for use with TV-sticks, etc.), also gestures in plans
- bright white LED for in-dark searchings
- 16 RGB LEDs at bottom because I can (cool, ha?)
- Bluetooth connection (this MCU doesn't support USB, will fix this later)
And yes, it doesn't have wheel right now (I don't have a space for it on this prototype-board). Also it needs a shell, will design it this week I guess.
❤5