Spectacle Inertia Board Hookup Guide
Example Project
Let's make a simple project using the Spectacle Audio Board and the Spectacle Inertia Board! We'll set it up so that a sound is played whenever the Inertia Board is moved.
Connect the boards
To follow this tutorial, you'll need this hardware:
Note that you will need three of the TRRS cables!
First, plug one end of one of the TRRS cables into the "Direct" jack on the Director Board.
Next, take the other TRRS cable and plug it into the "Program" jack on the Director Board.
Take the other end of this cable and plug it into the audio jack of the phone, tablet, or computer that you'll be using to program the system.
Plug the other end of that cable into the "In" jack on your Audio Board.
Plug the speaker into the Audio Out port on the Audio Board.
Take another one of the TRRS cables and plug one end into the "Out" port on the Audio Board...
...and plug the other end of that cable into the "In" port on the Inertia Board.
Finally, plug the Micro B end of the power adapter into the Director Board and the other end of the adapter into the wall. You should see one solid light and one blinking light on the Inertia Board and the Audio Board. On the Director Board, you'll see one solid light and one light which blinks one time, then pauses, then repeats. This shows that power is present and the boards are up and running.
Setting up the board configuration
When you first visit the Spectacle configuration website, you'll be presented with a screen that looks like this. Your project name will differ, however, as Spectacle assigns a new name to each project. To continue, we're going to have to add our Audio Board to the project.
Click on the "Add a Board" button, as highlighted above, to bring up a list of available boards.
In the list, click anywhere in the "Audio" box to add an Audio Board to our project.
You'll be returned to the main project page, but this time, an Audio Board will appear in the list on the page. Repeat these two steps to add an Inertia Board to the project.
Here you can see both boards in the list in place. Next we'll need to add actions to the boards.
You can see highlighted above the clapboard icons which, when clicked, will take you to the "Actions" page, where you can assign an action to your board. Let's start by assigning an action to the Audio Board.
An empty page will come up. There are no currently assigned actions, so we'll need to assign some. Click the "Add an Action" button at the bottom of the page.
As you can see, the Audio Board only has one action. Click on "Play Sound" to add this action to your Audio Board.
Here are the various settings for the "Play Sound" action. Copy the settings as I've entered them into you project.
Click on the "Go Back" button at the bottom of the page to return to the main page, then click on the clapboard icon for the Inertia Board to add an action. When the empty list pops up, click the "Add an Action" button at the bottom to bring up the list of actions for the Inertia Board.
Here's the list of actions for the Inertia Board. We want to detect when motion occurs, so click the first option, "Sense All Motion".
Here's the options page for the sense motion action. Note the choices I've made and duplicate them for your project, then click "Go Back".
Congratulations! Your project is completed. Now let's upload it to the Director Board.
Installing a project on the Director Board
Now that you've created your Spectacle program it's time to upload it to the Director Board. If you followed the instructions above, your uploading device is connected to the board and ready to go, so all you need to do is touch the "Install Script" button at the bottom of the page. That will bring up the page seen below.
Make sure the volume on your device is turned all the way up, and that no other audio source (music, video, etc) is playing in the background. Then press and hold the "RST" button on the Director Board, press and hold the "PROG" button, then release the "RST" button.
This will put the Director Board into program mode. You'll see the light on the board blink three times, pause, then repeat. This is your visual indicator that the board is in program mode. Once you've established that the board is in program mode, you can begin programming by touching the "Install" button on the Spectacle app screen. The button will gray out during the programming process, which should only last for a few seconds. Once programming is done, you'll see the light on the Director Board blink 10 times, pause, then repeat. That's your cue that the program was uploaded successfully.
Press the "RST" button again to reset the system and begin the program!
If you have any troubles, visit the troubleshooting page for help resolving your issues.