Spectacle Motion Kit Hookup Guide

Pages
Contributors: SFUptownMaker
Favorited Favorite 2

Example Project

Let's use the Spectacle Motion Board Kit to make a project! We're going to hook up the Button Board and the Motion Board to make a simple project where the motor moves from one position to another and then back when the button on the Button Board is pressed.

Connect the boards

All of the hardware you need for this tutorial is included in the kit.

First, plug one end of one of the TRRS cables into the "Direct" jack on the Director Board.

The direct jack

Next, take the other TRRS cable and plug it into the "Program" jack on the Director Board.

The program jack

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.

Into the phone jack

Then take the other end of that TRRS cable and plug it into the "In" jack on the Button Board.

Plugging into the in jack on the button board

Grab another of the TRRS cables and plug it into the "Out" jack on the Button Board.

Connecting to the out jack on the button board

Plug the other end of that cable into the "In" jack on your Motion Board.

Plugging into the jack on motion board

Now, plug the servo connector onto the Motion Board.

Connecting the servo to the motion board

Finally, plug the Micro B end of the power adapter into the Director board, and the other end into the wall. You should see one solid light and one blinking light on the Motion Board and the Button 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 open the Spectacle app webpage, this is what you'll see. Your project name will differ from mine, as Spectacle assigns a random name to each project.

Blank project page

To continue, we must tell the project which boards we wish to use. Start by clicking the "Add a Board" button at the bottom of the page.

add a board button

This will bring up a list of the available boards. We're going to add our Button Board first of all, so click anywhere in the "Button" box to add it.

Now repeat these two steps, but add a Motion Board this time instead of another Button Board.

List of available boards

You'll now have a screen that looks like this. To continue, we need to add some actions to the boards that tell the Spectacle system what we want the boards to do.

Boards added to project

To add actions, click on the clapboard icons as highlighted above. We're going to do the Button Board first.

Add action buttons highlighted

You'll then see a list of actions assigned to the board which will, of course, be empty. To add an action, click the "Add an Action" button at the bottom of the page as highlighted below.

blank action page, add button highlighted

Here we see the available actions for the Button Board. We're going to select the first one, "Action on Press". Click that entry to select it.

actions for button board

This is the "Trigger on Press" action options screen. I've already entered the data in the fields: button 8 to channel 0. Button 8 is the Button Board's built-in button. Now click the "Go Back" button at the bottom of the page to go back to the main page, so we can add an action to the Motion Board.

trigger on press action options

Back at the main page, you can see that the action we just added to the Button Board shows up listed under that board in the boards list. Click on the Motion Board clapboard icon to bring up the action list for it.

Main page, with an action

Here is the list of possible actions for the Motion Board. We're going to add a "Sweep and Return" action.

actions for the motion board

I've put the settings we want into the "Sweep and Return" page settings. Click "Go Back" to save the changes and return to the main board list.

Settings for the sweep and return action

Congratulations! You've finished the configuration step of the process. Now it's time to move on to loading the project onto your Director Board.

Finished project

Uploading

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.

Upload page

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.