The Motion Add-On
3 Axis Accelerometer and Gyro
What Does the Arno Motion Do?
It adds an Accelerometer and Gyro to your Arno or other Arduino project. We've been playing with quadcopters for a few years and are amazed at the improvement in sensors. When the MPU-6050 came out, we started using it for quadcopters.
The problem is that you had to build your own board or use a 3.3V I2C system. Neither of these is a good option to get a project up and running quickly with Arduino.
The Arno Motion works on 5V power and I2C. We've also modified existing code to let you use Software I2C to communicate with the board. This let's us add it to an Arno and opens up some project options for other applications.
The problem is that you had to build your own board or use a 3.3V I2C system. Neither of these is a good option to get a project up and running quickly with Arduino.
The Arno Motion works on 5V power and I2C. We've also modified existing code to let you use Software I2C to communicate with the board. This let's us add it to an Arno and opens up some project options for other applications.
How to Use the Motion Add-On
Get the Soft I2C Library:
There are a few libraries out there that work well with the MPU-6050. To work with the Arno we'll be using software I2C.
For starting out we chose the one with a post in the Arduino Playground, SoftI2CMaster. Click here to go to the page and follow the Installation instructions. When you get to GitHub use the Download ZIP button on bottom right of the page.
To install place in the libraries folder in Arduino.
If you are using an Arduino other than the Arno, you can still use this option or you can use Wire and i2cdevlib or other examples.
For starting out we chose the one with a post in the Arduino Playground, SoftI2CMaster. Click here to go to the page and follow the Installation instructions. When you get to GitHub use the Download ZIP button on bottom right of the page.
To install place in the libraries folder in Arduino.
If you are using an Arduino other than the Arno, you can still use this option or you can use Wire and i2cdevlib or other examples.
Starter Example - Raw Data:
The first example will check operation of the board to make sure you are getting raw data. It's based on Krodal's example for the MPU-6050 adapted to work with SoftI2CMaster. The Arno Motion example link is here:

mpu6050_softi2c_starter.ino | |
File Size: | 12 kb |
File Type: | ino |
Starter Example - Cube Demo:
This is a graphical representation of x&y data on your computer using a processing sketch. This is fun to watch and a simple way to try out integrating Arduino with Processing.
Download Processing here: link
We've modified sketches from a variety of sources and have a simple sketch for each side (Arduino and Processing). It uses simple math on the Processing side to transform the gyro and accel data to
What you'll get is a "cube" on your screen that moves with the movement of the Add-On. The zip file contains the processing sketch and the Arduino sketch

motionprocessingcubedemo.zip | |
File Size: | 30 kb |
File Type: | zip |
The Add-On on an Arno
