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
Right now I have 3 platforms to use (last one is still in shipping) as an mcu for a mouse.
Left one is ESP32-C3 module (RISC-V single-core, Wi-Fi and Bluetooth 5.0, no USB support) with >30mA BLE-tx.
Right one is Ai-Thinker PB-03 (PHY6252 based, Bluetooth 5.2, no USB support) with ~10mA BLE-tx (only repo I have found about it).
And Seeed XIAO BLE module (nRF52840 based, Bluetooth 5.0, NFC, ZigBee, USB, on-board li-ion charger ic) with 4.8mA peak BLE-tx.
Last one seems best for mouse use-case with native BLE/USB support and low power consumption.
Left one is ESP32-C3 module (RISC-V single-core, Wi-Fi and Bluetooth 5.0, no USB support) with >30mA BLE-tx.
Right one is Ai-Thinker PB-03 (PHY6252 based, Bluetooth 5.2, no USB support) with ~10mA BLE-tx (only repo I have found about it).
And Seeed XIAO BLE module (nRF52840 based, Bluetooth 5.0, NFC, ZigBee, USB, on-board li-ion charger ic) with 4.8mA peak BLE-tx.
Last one seems best for mouse use-case with native BLE/USB support and low power consumption.
👍2❤1
Ordered some high-quality silent switches and smal encoders. Also waiting the PMW3360DM 12000(000)CPI, 250ips, 50g SUPER MEGA GAMING(!!!) sensor for smooth experience and good precision. It has excellent datasheet with all sizes, timings and registers description.
👍5