Loading...

USB Absolute Pointing Device implemented in ATmega8 using Magnetometer

2,911 views

Loading...

Loading...

Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Published on Oct 24, 2011

The ATmega8 microcontroller on the breadboard is reading data from the magnetometer (a digital compass) in my hand and converting it to mouse position.

ATmega8 identifies itself as a USB mouse (actually, a USB absolute pointing device... well, in fact a USB HID - Human Interface Device).

There is NO special software running on the notebook. The mouse position is being fully controlled by the ATmega8.

Those fancy graphics on my notebook are a simple WebGL HTML5 page that I wrote, and those effects run entirely on the GPU (using a fragment shader). For this video, I opened that page in Google Chrome 14 browser and put it in full screen (by pressing F11).

That WebGL page is availble at:
https://bitbucket.org/denilsonsa/atme...

The entire source-code is available here:
https://bitbucket.org/denilsonsa/atme...

Loading...

When autoplay is enabled, a suggested video will automatically play next.

Up next


to add this to Watch Later

Add to

Loading playlists...