I just opened up a £2.50 wireless optical mouse and it's got a KA8 E4230DB sensor in it. Seems to have roughly the same pinout as other sensors:
_______
LED --| |-- SCK
GND --| |-- SDA
VCC --| |-- not connected
Van --|_______|-- not connected
Van = analog volts - just a capacitor to GND
But looking at the data on SCK/SDIO I get:
// If no movement :
0x00, 0x30, 0x02,0x0Z
// If movement
0x00, 0x30, 0x02,0x8Z, ....bytes with DX/DY data in...
Where Z is 4,5 or 6 depending on the mouse DPI (this must have been set somewhere).
It's around 360kHz bitrate, and sck left high on idle. However if I disconnect the little wireless module I'm really struggling to be able to drive it myself.
It'd be great if I could find a datasheet, but I can't see anything that's even remotely like it :( Shame, it'd be excellent for little robot projects. Even better if I could figure out what to send to read the framebuffer from it.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I just opened up a £2.50 wireless optical mouse and it's got a
KA8 E4230DB
sensor in it. Seems to have roughly the same pinout as other sensors:But looking at the data on SCK/SDIO I get:
Where Z is 4,5 or 6 depending on the mouse DPI (this must have been set somewhere).
It's around 360kHz bitrate, and sck left high on idle. However if I disconnect the little wireless module I'm really struggling to be able to drive it myself.
It'd be great if I could find a datasheet, but I can't see anything that's even remotely like it :( Shame, it'd be excellent for little robot projects. Even better if I could figure out what to send to read the framebuffer from it.