RideData with Arduino
To record from an IMU with RideData you need:
Once you have that you need the Arduino IDE or code edtior on your computer. With it installed you plug the Arduino into the USB port on your computer, move a couple folders around then copy and paste code into the code editor and click "upload".
If you have never programmed before it can feel daunting but you will have started learning the art of code by the end of it, even if you don't actually type any code it's a great first step.
With the Arduino Uno, IMU sensor and Bluetooth shield unboxed it should look like this:
The Arduino is on the right, the Bluetooth shield in the center and IMU sensor on the left. You'll connect all three of these together.
Carefully put the Bluetooth shield's metal teeth into the holes on the top of the Arduino. It can really only go one way, make sure the middle teeth line up and push the shield and Uno together.
After that you'll plug the IMU sensor into the J2 port on the Bluetooth shield, the one at the front.
With the Arduino Uno, Bluetooth Shield and IMU all connected together download the Arduino IDE code editor. Keep track of what folder you installed it to, you'll need to open it. Also download this code from github. click "download zip" in the upper part of the screen on the right and unzip the contents to a new folder called "ridedata", in your downloads folder or somewhere you remember.
With the Code editor installed on your computer, find the folder you installed it to and open it.
With the main "Arduino" folder open, (for example at C:\arduino) look for a folder called 'libraries' NOT 'lib' but actual 'libraries'.
Open that folder and find the folder from the zip you downloaded from github earlier, open the 'libraries' folder in that unzipped folder and you'll find two more folders (I know... I know... folder overload!!). Paste those two folders 'Bluetooth_shield_V2_demo_code-master' and 'IMU_10DOF-master' from the 'ridedata\libraries' folder into the 'libraries' folder in the Arduino folder.
So it should look like for example: c:\arduino\libraries\IMU_10DOF-master and c:\arduino\libraries\Bluetooth_shield_V2_demo_code-master
That was the hardest part of it all I promise.
Finally you can load code onto the Arduino. Plug the Arduino Uno into an open USB on your computer, then open the Arduino IDE program you downloaded in Step 2. You should open it AFTER moving the folders around so it gets an accurate load.
With the Arduino IDE open you'll see something that looks like this:
Open the "ride_data.ino" file in the Arduino IDE and click "upload", the "right arrow" that is the second icon from the left on the Arduino IDE toolbar. If you have any problems, go to "Tools > Board" and make sure Arduino/Genuino Uno is selected and try uploading again.
Once you have the Arduino Uno setup with the code you can unplug it from your computer and power it with a USB battery to sync it up with the RideData app.
With it plugged in and lights flashing on it, open the RideData app and select + to start a new ride. Then tap the menu icon in the top left of the app to open the menu and select settings.
From the Settings screen tap the "Bluetooth+Phone" option then tap save. It will take you to a new screen where you can sync up your IMU sensor with the app. Once that is done, exit the app completely and reopen it and start a new ride. You only have to get it synced up the first time. You can switch it back to record without the IMU if you'd like and simply select bluetooth again when you want to record with the bluetooth IMU again.
That's it, attach the Arduino to your motorcycle and go ride. The app works best if you start it and let it run in the background. Once you stop recording you can view the data back by tapping 'view data' in the side menu from the main screen then from the menu on that screen you can select the map or what data to plot on the graph.