3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

xmas-box: Arduino/ioBridge internet controlled Christmas lights and music show

Step 4IoBridge Configuration

ioBridge Configuration
«
  • DSC_0018.JPG
  • ioBridge.gif
The ioBridge configuration is a breeze! All you have to do is Serial.print the current track number being played to the ioBridge Serial Board. The serial board will hold the track number and have it available to be retrieved by the Data Feed API in JSON format (LastSerialOutput).
I also created a series of widgets with predefined xmas-box commands for a one-click input.

Here is the syntax to communicate with the xmas-box through serial communication.  The semi-colon indicates the end of the command.

Next track
n;
Put on queue
q(1-99);
Put on queue with specific light mode
q(1-99)m(1-8);
Change light mode
xxxm(1-7);
Turn all lights on/off
xxxm8{1/0);
Turn individual channel on/off
xxxm9(1-8)(1/0);

« Previous StepDownload PDFView All StepsNext Step »
1 comment
Dec 27, 2010. 7:24 AMphorensyc says:
How do you serial.print the current track being played to the iobridge serial board? I have never used any of this hardware before, so I'm not sure where to begin.

Can you provide more detail on how to set up the iobridge web interface, or provide a link that explains how to create widgets? Where are the commands provided above entered? Is this code stored in the iobridge web interface?

Thanks in advance for any additional info.

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
9
Followers
4
Author:noelportugal(My blog)