Skip to content

This is a way to control the mouse pointer and keystrokes in Windows with an arduino (without HID) and using an MPU6050 accelerometer and Python as an interpreter of the arduino signals.

Notifications You must be signed in to change notification settings

JRZ90/Mouse_control_with_Python_Arduino_and_MPU6050

Repository files navigation

This is a way to control the mouse pointer and keystrokes in Windows with an arduino (without HID) and using an MPU6050 accelerometer and Python as an interpreter of the arduino signals. My first idea was put the MPU on a hat for control the computer only with the movements of my head. I think this could be useful for certain people with some kind of movement restrictions.

Requirements

Hardware

  • Arduino board with USB connection, any Arduino compatible board with CH340 chip work just fine
  • MPU6050 accelerometer module

Environment

  • Windows
  • Python 3
  • Arduino

Python libraries

  • PyAutoGUI 0.9.50
  • pyserial 3.4

Arduino libraries (included)

  • I2Cdev
  • MPU6050

Demo video

link to Youtube video

Connections

descarga

About

This is a way to control the mouse pointer and keystrokes in Windows with an arduino (without HID) and using an MPU6050 accelerometer and Python as an interpreter of the arduino signals.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published