This is my spin-off of LG's magic remote but for computers. The current version is a proof of concept which uses arduino uno and a MPU 6050. The MCU provides sensor updates via serial bus to pc which is then interpreted by the python program.
- Horrendously slow and inefficent.
- The program uses threads to asynchronously fetch and execute sensor data, but since calls to
pyautogui
are slow this fills up the the message queue pretty quickly ballooning the memory usage.
- The program uses threads to asynchronously fetch and execute sensor data, but since calls to
- Significant yaw drift causes mouse pointer to stay locked in a side.
- MPU6050 integrates accelerometer data to figure out current yaw. Small errors in the data accumlates overtime introducing large drifts.
- No pointer acceleration
- Shift to STM32 mcu and take advantage of USB HID.
- Pair MPU6050 with a magnetometer to improve accuracy.
- Implement pointer acceleration and gesture sensing
- Custom PCB!