-
Notifications
You must be signed in to change notification settings - Fork 1
Getting the Arduino software set up
Getting the Arduino software set up:
- Download Arduino IDE from http://arduino.cc/hu/Main/Software (should be version 1 or higher)
- Connect your Arduino board to your PC through the USB connector
- If the driver is installed automatically, just continue. If not, select the folder called "Driver" inside the Arduino IDE folder
- Download the latest headtracker-software from http://code.google.com/p/open-headtracker/
- Open Arduino IDE (the program), Select file -> Open, find the headtracker software downloaded and open the file DIY_headtracker.ino
- You should now have a window looking pretty much like this:
- Go to tools -> Board and select "Arduino Nano w/Atmega328
- Go to tools -> Serial port -> Select the com-port used by Arduino (you should remember the port-number for later use in the GUI).
- Press the left-arrow in Arduino IDE to upload, or select file -> Upload, or press Ctrl + u.
- Hopefully it starts to upload the firmware. It should flash the LED's quickly for a while, and stop when the upload/programming is complete.
Calibration Before your headtracker can be used for accurate head tracking, you must first calibrate it. Calibration is done through thecalibration button (or menu option) in the GUI. After you connect the GUI to your headtracker, press the “Calibrate” button and follow the on-screen prompts and pictures.
Hopefully that's it, and you are ready to go.
Some known limitations: • The sensorboard must be orientated with the components up. • Nothing in the GUI is "idiot proof". It will accept more or less everything and just do it.
Here’s a shot of the two pieces of hardware as they appear out of the package:
Assembled hardware - just missing connections to RC-transmitter. It’s not visible in this picture, but there’s a wire jumper on the bottom of the Arduino that connects the Arduino ground to the sensor board’s ground.
Graphical user interface
- GUI showing advanced settings too:
Headtracker sensor plots, raw, filtered etc: