Accelerometer and Gryo (and Compass)
Assistive Devices Release status: beta [box doku] | |
---|---|
Description | Using an Accelerometer and Gryo (and Compass) as a mouse |
Author(s) | Spanner888 |
Last Version | 0.1 |
Contents
- 1 Installation & construction - Accelerometer and Gryo (and Compass)
Installation & construction - Accelerometer and Gryo (and Compass)
This page describes everything required, how to connect and configure and if known, how to construct.
This should help you to customise this solution to meet individual needs.
Overview
Accelerometer & Gryo () controls mouse movements and buttons
This sub-project uses a gyro (and maybe an accelerometer) to create an air-mouse, or wand to control a computing device. There are commercial devices for this purpose. This sub-project aims to create:- - a smaller, lighter device that can be used by several area of the body, including finger, wrist, arm, head, foot. - be highly configurable and customisable to meet and indivuals needs - relatively cheap and easy to get all of the parts
BOM and expected costs
BOM = Bill of Materials = everything required for this solution.
- BOM TABLE HERE**
Accelerometer MPU-6050/GY521 or similar. Teensy++ 2, Leonardo or similar - device that appears as USB HID mouse
Note that the costs do not include cost of computer, or any shipping costs.
Computer requirements
Need a computer with a supported operating system from the list below and a USB port.
Hardware
USB port and see the BOM above.
Operating system
= NOT TABLE ... linked direct to each from main summary table!!! = Software Download = link/s
Apple
Tested briefly on McBook Pro - you may get prompted to press shift for the new keyboard device (just press the computer keyboard shift key).
Linux
Tested under OpenSuse.
discuss each distribution (base distro &/or gui)?
Windows
XP - should be OK :) Vista - should be OK :) Windows 7 - tested OK ! Windows 8 - should be OK :) +++ any sub-ver - eg home, prof AND any service pack info ???? get table of ALL from wikipedia or somewhere
Software Installation
= description +++ configuration & basic use
At this stage no computer software require to use the system. In future releases there may be a configuration application.
Currently there are two buttons. One is left mouse button other enables and disables the device mouse control.
If you need to program the "device" you will need an Arduino programming environment.
The Arduino site has excellent documentation on installing the Arduino development environment for many different operating systems.
There is also a trouble shooting guide and the excellent support in the forums.
If using a Teensy board, then refer to the Teensy model reference for additional instructions.
The source code is in the Xinchejian AssistiveDevices github
Hardware build and installation
DIY - make it - description..... - eg PCB, BOM (with ~$US - typical range of $ AND RMB if bought in China!!!), schematic, .....
Connecting to computer
= how to connect, PCB, ...... Connections - you do not have to use the same cable and wire colours! I2C - Teensy++ 2
+5v - red Gnd - Brown SCL Pin 0 (D0) Orange SDA Pin 1 (D1) Yellow Int0 D4 Grn eg the MPU-6050/GY521 board.