Difference between revisions of "Bluetooth Headtracker"

From Robert-Depot
Jump to: navigation, search
(Enclosure)
(Software)
Line 18: Line 18:
  
 
=Software=
 
=Software=
This project uses the [http://www.varesano.net/projects/hardware/FreeIMU FreeIMU] library to read the motion sensors and calculate sensor-fused orientation. I've attached a copy of the FreeIMU_quaternion code here.
+
This project uses the [http://www.varesano.net/projects/hardware/FreeIMU FreeIMU] library to read the motion sensors and calculate sensor-fused orientation.  
  
Be sure to set the baud rate in the program to the max baud for the Arduino Pro Mini, 38400 bps. You should only need to upload this once.
+
==Arduino==
 +
We are using the straight FreeIMU_quaternion example from FreeIMU v0.4. This reads the attached sensors, calculates the AHRS quaternion, and transmits via serial print.
 +
I've attached a copy of the FreeIMU_quaternion code here with the baud rate set to 38400, the max rate for the Arduino Pro Mini.  
 +
 
 +
You should only need to upload this to your arduino once.
  
 
[[:File:FreeIMU_quaternion.zip]]
 
[[:File:FreeIMU_quaternion.zip]]

Revision as of 14:00, 14 January 2015

16281491925_66cc3868bf.jpg

Hardware

Built with simple, ready to order parts from common suppliers. Purchase 1 each of the following:

One of the following, needed to program the arduino. (One use only! Borrow from a friend?)

You can also choose to leave the LiPo charger out of the enclosure for small space savings.

Software

This project uses the FreeIMU library to read the motion sensors and calculate sensor-fused orientation.

Arduino

We are using the straight FreeIMU_quaternion example from FreeIMU v0.4. This reads the attached sensors, calculates the AHRS quaternion, and transmits via serial print. I've attached a copy of the FreeIMU_quaternion code here with the baud rate set to 38400, the max rate for the Arduino Pro Mini.

You should only need to upload this to your arduino once.

File:FreeIMU_quaternion.zip

Enclosure

16255567716_410f1b46dc_z_d.jpg

Solidworks Files - File:btht_solidworks.zip

STL Files - File:btht_enclosure_stl.zip

Applications

Processing

Python

Supercollider

Reference

other intertial Measmurement Units

Head-tracking with the MPU6050

Example with Arduino Nano

GY-80=

GY-86

61laK%2BDIwfL._SL1500_.jpg

IMUs for position