Step 9: Callibrating and Programming

Step 9: Callibrating and Programming

This step describes how to callibrate your ArduIMU senors (accelerometer, gyroscope and magnetometer) and save these calibrated values to the EPROM memory of the Arduino (Atmel chip). It also describes how to upload Arduino code to the ArduIMU.

Calibrating IMU Sensors and Writing to EPROM

Documentation in progress… (contact Seb for details)

Uploading Arduino Code to ArduIMU

1) Download and install the latest version of Arduino


2) Download Arduino sketch that reads and sends data

Seb’s GitHub >>

Comment in/out as required in FlexSensors.cpp:

void FlexSensors::read() {
channel[0] = analogRead(A0);
channel[1] = analogRead(A1);
channel[2] = analogRead(A2);
channel[3] = analogRead(A3);
//channel[4] = analogRead(A6);
//channel[5] = analogRead(A7);

3) Program the ArduIMU

– open “ArduIMU_Glove” sketch in Arduino
– connect ArduIMU to computer with FTDI cable
– select “dev/tty” from Tools –> Serial Port menu
– ArduIMU does not show up in the list of Arduino boards to select from, but I find it works to program when you select “Arduino Pro or Pro Mini (5V, 16MHz) w/ATmega 328” from Tools –> Board menu
– upload sketch

PLEASE NOTE: this design is no longer supported in either hardware or software and you are strongly advised against building this glove at present. Please join our mailing list for updates on a future DIY design.


Creative Commons License
The DIY ArduIMU gloves design by is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

3 Comments so far

  1. The Gloves Project on June 2nd, 2013

    […] Glover GUI >> Uploading code to ArduIMU >> ArduIMU Making-of >> […]

  2. Adrian on July 28th, 2013

    Hey Seb, Can u please e-mail me the documentation for “Calibrating IMU and saving it to EPROM”.

  3. The Gloves Project on November 7th, 2014

    […] Glover documentation >> Programming ArduIMU >> […]

Leave a Reply