Hi all,
I'm trying to make a BLE HID based air mouse using ESP32 and MPU6050 3-axis gyro & accelerometer, i am using this code for ble hid mouse and this mpu6050 driver.
So far i am able to move the mouse cursor using only the gyro values ( in Degrees per second, from the driver ) and (as expected) there is no accuracy at all.
I want to know how should i use the accelerometer values , or any tips on improving the accuracy.
thank you
Bluetooth air mouse using MPU6050 and ESP32
Re: Bluetooth air mouse using MPU6050 and ESP32
It all depends how your mouse should react on moves. For example you can use only gyro to set cursor absolute position, which requires to change mouse report map just a bit, or you can use relative positioning and combine gyro + accel to calculate relative value sent as cursor move.
Re: Bluetooth air mouse using MPU6050 and ESP32
Hi @chegewara and other ppl,
Im cloning this proyect:
https://github.com/n1rml/esp32_airmouse
From the autor of this post.
But when i move the cursor a little bit faster than normal i get something like stuck movement of the mouse, like It cannot read fast values from the mpu6050 or something like this...
@Jeff Rowberg told me that i dont need the dmp process and i just need to use raw inputs from gyro on two axes to make It relative movement but im very noob to implement on this proyect...
Can hoy help me please?
Thanks in advance!!
I
Im cloning this proyect:
https://github.com/n1rml/esp32_airmouse
From the autor of this post.
But when i move the cursor a little bit faster than normal i get something like stuck movement of the mouse, like It cannot read fast values from the mpu6050 or something like this...
@Jeff Rowberg told me that i dont need the dmp process and i just need to use raw inputs from gyro on two axes to make It relative movement but im very noob to implement on this proyect...
Can hoy help me please?
Thanks in advance!!
I
Who is online
Users browsing this forum: No registered users and 89 guests