Skip to content

Use a AT Mega32U4 (Arduino Leonardo Micro) 3 buttons and HMC or QMC5883L magnetometer as USB mouse.

License

Notifications You must be signed in to change notification settings

no-go/MagnetoMouse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MagnetoMouse

Use a AT Mega32U4 (Arduino Leonardo Micro) 3 buttons and HMC or QMC5883L magnetometer as USB mouse.

  • use earth magnetic field
  • independed of the gravitation constant of the universe (?)
  • left and right mouse button (press = set PIN 9 or PIN 7 to GND)
  • press middle button and change angle up/down makes cursor keyes up/down pressing (press = PIN 8 to GND)

Wiring magnetometer (I2C):

  • VCC to VCC
  • GND to GND
  • SCL to PIN 3
  • SDA to PIN 2

Not very spectaculius stuff

About

Use a AT Mega32U4 (Arduino Leonardo Micro) 3 buttons and HMC or QMC5883L magnetometer as USB mouse.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages