Software Set Up

Version 16 (J. Simmons, 06/13/2017 01:58 am)

1 1 J. Simmons
h1. Software Set Up
2 1 J. Simmons
3 2 J. Simmons
{{>toc}}
4 2 J. Simmons
5 2 J. Simmons
h2. Introduction
6 2 J. Simmons
7 15 J. Simmons
These instructions cover the software set up of a newly built Holoseat controller.  There are three pieces of software required to configure and use the Holoseat: the Arduino IDE, the Holoseat controller firmware, and the desktop configuration app.  
8 1 J. Simmons
9 6 J. Simmons
Note, these steps are for Windows (tested on Windows 7).  The process is similar on other platforms, but the desktop configuration app only runs on Windows for v0.3.  Future versions will support other platforms.
10 6 J. Simmons
11 3 J. Simmons
h2. 1. Download required Software
12 1 J. Simmons
13 5 J. Simmons
# Download the following files
14 6 J. Simmons
## "Arduino IDE":https://www.arduino.cc/en/Main/Software (v1.6.4+)
15 7 J. Simmons
## "Adafruit Windows Drivers":https://github.com/adafruit/Adafruit_Windows_Drivers/releases/download/1.0.0.0/adafruit_drivers.exe
16 13 J. Simmons
## "Firmware source code":http://opendesignengine.net/dmsf_files/624?download=
17 13 J. Simmons
## "Desktop configuration app executable":http://opendesignengine.net/dmsf_files/623?download=
18 5 J. Simmons
# Unzip Holoseat files (see figure)
19 5 J. Simmons
## Create a new folder under Documents\ named Holoseat
20 5 J. Simmons
## Unzip the firmware source code to Documents\Holoseat
21 5 J. Simmons
## Unzip the desktop configuration app to Documents\Holoseat
22 2 J. Simmons
23 5 J. Simmons
!HoloseatDir.png!
24 1 J. Simmons
25 1 J. Simmons
h2. 2. Install Arduino IDE
26 6 J. Simmons
27 6 J. Simmons
# Run the Arduino IDE installer
28 6 J. Simmons
# Configure the Arduino IDE to work with the Feather board
29 1 J. Simmons
Complete details are available at learn.adafruit.com: "General details":https://learn.adafruit.com/adafruit-arduino-ide-setup/arduino-1-dot-6-x-ide | "Feather specific details":https://learn.adafruit.com/adafruit-feather-32u4-basic-proto/using-with-arduino-ide
30 7 J. Simmons
## Launch the Arduino IDE 
31 15 J. Simmons
## Open the Arduino IDE Preferences by selecting *File>Preferences* from the menu
32 7 J. Simmons
## Add @https://adafruit.github.io/arduino-board-index/package_adafruit_index.json@ to the *Additional Boards Manager URLs* field
33 7 J. Simmons
## Click the *OK* button to save the new preferences
34 7 J. Simmons
## Launch the Boards Manager by selecting *Tools>Board>Board Manager* from the menu
35 7 J. Simmons
## Select _Contributed_ from the *Type* select box
36 7 J. Simmons
## Select _Adafruit AVR Boards by Adafruit_ in the list of contributed boards then click the *Install* button
37 15 J. Simmons
## Click the *Close* button, then exit out of the Arduino IDE (you may optionally relaunch the Arduino IDE and verify the list of boards under *Tools>Board* includes the Adafruit Feather)
38 8 J. Simmons
## *ON WINDOWS ONLY* Install the Windows Adafruit Drivers (optional: only select the _Feather 32u4_ to minimize the number of drivers installed)
39 8 J. Simmons
!InstallFeatherDriver.png!
40 15 J. Simmons
# Copy the Arduino libraries to the Holoseat libs directory
41 9 J. Simmons
## Launch the Arduino IDE
42 9 J. Simmons
## Open the Arduino IDE Preferences by selecting File>Preferences from the menu
43 9 J. Simmons
## Note the Sketchbook location (typically Documents\Arduino)
44 9 J. Simmons
## Close the Arduino IDE Preferences and exit the Arduino IDE
45 9 J. Simmons
## Copy Documents\Holoseat\Firmware\libs\Bounce2 to the libraries folder in the sketchbook folder (typically Documents\Arduino\libraries)
46 9 J. Simmons
!LibrariesFolder.png!
47 2 J. Simmons
48 2 J. Simmons
h2. 3. Install Firmware on Holoseat Controller
49 2 J. Simmons
50 10 J. Simmons
# Launch the Arduino IDE
51 10 J. Simmons
# Plug the Holoseat controller into a USB port
52 15 J. Simmons
# Set the board type to _Adafruit Feather 32u4_ by selecting *Tools>Board>Adafruit Feather 32u4* in the menu
53 15 J. Simmons
# Set the port the Feather is connected to by selecting *Tools>Port>COM# (Adafruit Feather 32u4)* in the menu where # is an integer (see figure)
54 10 J. Simmons
!SelectComPort.png!
55 15 J. Simmons
# Open the Holoseat firmware in the Arduino by selecting *File>Open* and navigating to Documents\Holoseat\Firmware\holoseat_firmware\holoseat_firmware.ino
56 11 J. Simmons
# Confirm the firmware compiles by clicking the *Verify* button (with the check mark icon)
57 11 J. Simmons
# Flash the Holoseat controller with the firmware by clicking the *Upload* button (with the right facing arrow icon)
58 2 J. Simmons
59 2 J. Simmons
h2. 4. Install Desktop Configuration App
60 2 J. Simmons
61 14 J. Simmons
The desktop configuration app does not currently require any installation steps.  You can run it directly from Documents\Holoseat\HoloseatConfigurationUtility
62 16 J. Simmons
63 16 J. Simmons
TODO