Skip to content

ashwinvin/magic-mouse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Magic Mouse

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.

Limitations

  • 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.
  • 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

Future Plan!

  • 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!

About

A mouse but its cooler and ergonomic

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published