My favorites | Sign in
Project Logo
                
Search
for
Updated Sep 18, 2009 by john.celenza
SoftwareInstallationUsageInstructions  

Sparky Software Kit 1.0

Author: John Celenza

Project Home: http://code.google.com/p/sparkyrobotcontroller/

Installation Instructions for "iRobot Create" Version

Please see http://www.sparkyjr.com/page/instructions-1 for installation instructions.

Installation Instructions for Make Controller Version

Overview

There are several pieces of software that need to be installed and configured:

  1. Sparky Skype Server -- runs along with Skype and listens for incoming text messages with motor commands
  2. Sparky MakeBoard Controller -- communicates with the Skype Listener, parses abstract motor commands, sends low-level commands to MakeBoard
  3. Sparky Controller Skype Plugin -- runs along with Skype on any Mac OSX 10.4 and greater machine which you want to use drive your robot

Once you have these software packages installed and configured, you are ready to go

Sparky Skype Server

Sparky MakeBoard Controller

Pre-reqs:

  • edit control.hdf to configure the move commands as your wish. By default, these commands are support:
  •   move_straight
      move_straight_slow
      move_left
      move_left_slow
      move_right
      move_right_slow
      move_reverse
      move_reverse_slow
      stop
  • add the check script to your cron scheduler so controld.php starts on system startup:
  • open a Terminal (From Applications->Utilities->Terminal)
  • type "crontab -e" -- this will start the VI editor, if you do not know how to use VI, try looking on Google, or just follow these steps:
  • move to the last line of the file with arrow-keys
  • type "i"
  • paste:
  •  * * * * * php /Sparky/shell_check_sparky.php &> /dev/null
  • type ":wq" (which should appear at the bottom of the screen)

Sparky Controller Skype Plugin

On the machine from which you want to drive your robot:

When you start Skype, start this application second. Then click "Connect", you should see a confirmation that the plugin is connected to your Skype software.

Opertation Instructions

Follow these steps to get your robot running once you have installed all of the software.

On the robot

  1. Make sure you have a working wireless network that the robot can join
  2. Start up your robot
  3. Once booted and network connected, start Skype
  4. After Skype fully loads and logs in, start the Sparky Skype Listener Plugin
  5. Press the "Connect" button on the Skype Listener Plugin, you should see a success message if the plugin could connect to Skype.

That should do it! When someone calls the robot, it'll automatically answer!

On the controller

  1. Start Skype and log in
  2. Start the "Sparky Controller Skype Plugin" and click connect, you should see a success message if the plugin could connect to Skype.
  3. Call your ready robot and start driving!

Sign in to add a comment
Hosted by Google Code