• Home
  • Arno - Learn Arduino!
    • Arno Sketches
    • Arno Shield
    • Arno Add-Ons >
      • Arno Motion
      • Arno DigitalRGB
  • LeOlympia
    • LeOlympia Instructions
  • Order
  • SODA Datalogger
    • SODA Tutorials >
      • About the HE 1.0
      • HE 1.0: Getting Started
      • HE 1.0: Power Management
      • HE 1.0: Simple datalogging
      • HE 1.0: communicate() Method
      • HE 1.0: High Resolution ADC
      • HE Tutorial: Thermocouples
      • HE Tutorial: Multiple Temperature Sensors on a Bus
    • SODA Library
    • SODA Datalogger Applications
  • Projects
  • Contact
  • Forum
  • SMD Reflow
  • Blog

The Motion Add-On

3 Axis Accelerometer and Gyro

Picture

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.
Click Here to Order

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.

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
Download File

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
Download File

Picture
Pins for Motion Add-On

The Add-On on an Arno

Picture