These instructions are for those who ordered a TiltyIMU with the Teensy 3.0 microcontroller, as it ships with the necessary program already on the Teensy. If you’re using a blank Teensy, you’ll need to follow these instructions to connect to the demo software.
1.Download the TiltyIMU demo software:
- Windows (requires 32-bit Java and this serial driver)
- Linux 32 bit (untested)
- Linux 64 bit (untested)
2. Unzip and run the TiltyIMU Demo program
3. Plug in the TiltyIMU board using a USB cable
4. Near the top left you should see a red box that says . Click that and and you should see a dropdown list of available com ports. You are likely looking for one that looks like…
- COM 3 (or some other number) for Windows
- /dev/tty/USBmodem16391 (or some other number) for Mac
5. Click the likely com port or choose the “Attempt To Auto-Connect” option and the program will try to find the TiltyIMU board on its own, though this is an experimental feature.
6. Once connected, the drop down list box will change to and you should see the displayed sensor values start changing within a few seconds. If the comm port is incorrect, the program should automatically disconnect and you can try a different port.
7. Let the Tilty sit stationary until the box in the demo program stops drifting. It may take up to 20 seconds, but the stationary time is necessary for the motion sensor to calibrate itself.
8. That’s it! You can now see the data from the TiltyIMU board right on the computer. If you’d like to change the Tilty’s default orientation, click the “Zero Angles” button underneath the displayed data. That will tell the Tilty to assume its position when the button is clicked is level and facing the computer screen.
The demo program is actually an extremely early version of what I hope release for setting up such projects as self-balancing scooters and aircraft, hence why there is a “Tilty Configuration” tab with nothing in it. I also expect to be doing reasonably frequent updates to the program as I fine tune the code and add features, so check back every so often!
- The TiltyIMU Demo program won’t start.
Make sure you have Java installed, and if you’re using Windows make sure that you have the 32-bit version. If not, get it from the Java downloads page here. If all of that is in order and it still fails to start send me an e-mail about what’s going on.
- The demo program starts but the TiltyIMU won’t connect or show up in the demo program.
This is most likely a problem with the Teensy 3.0 microcontroller, its troubleshooting page can be found here. If you’re using Windows, you can probably jump right to “Serial Driver Installed But Not Used”.
- The TiltyIMU board isn’t sending all the data it should be.
For starters, right now the compass data isn’t displayed in the demo program because I’m still working on a decent method of calibrating it. But if the IMU, altimeter, or voltage sensing data doesn’t seem to be working as it should disconnect and reconnect the TiltyIMU controller’s USB cable to your computer. Then connect to it using the Arduino serial monitor by selecting the Tilty’s com port from the "Tools>Serial Port” menu and clicking the magnifying glass icon in the upper right of the Arduino application. This should open the Arduino serial console and tell the Tilty controller to run the self-test program I use to verify functionality before shipping. It’s not as pretty as the TiltyIMU Demo software, but it can at least verify that everything is working as it should, and can tell you what isn’t if something is wrong.
If the steps here don’t solve your problem, e-mail me at support@TiltyIMU.com.