1

I just un-boxed and set the Create 2 to charge overnight.

How do I program it? Where is the software?

Milan
  • 207
  • 2
  • 10
  • 3
    Do you mean this thing? http://www.irobot.com/About-iRobot/STEM/Create-2.aspx. There are some projects to try here: http://www.irobot.com/About-iRobot/STEM/Create-2/Projects.aspx – Andy Jun 03 '15 at 08:57
  • 2
    @Andy, that is a great answer, don't be shy about posting an actual answer. Comments are helping to improve posts. – Ben Jun 03 '15 at 14:39

2 Answers2

1

You can use a Computer, Arduino, Raspberry Pi or other device that can communicate via serial (using a Create 2 USB cable or build your own) or Bluetooth (if you have a something like the Rootooth or build your own) and program that device to connect and interact with the Create 2. Please checkout the Create 2 Site at iRobot

On the Create 2 site you will also find the Getting Started page that will link you to the Create 2 Open Interface Specification and several example projects.

As Andy mentioned a direct link to the Open Interface Specification is here as well.

Ben
  • 5,855
  • 3
  • 28
  • 48
Chris P.
  • 35
  • 6
0

Looking through the links posted by Andy, here are some simple commands I extracted from iRobot's python script:

if k == 'P':   # Passive
    self.sendCommandASCII('128')

elif k == 'S': # Safe
    self.sendCommandASCII('131')

elif k == 'F': # Full
    self.sendCommandASCII('132')

elif k == 'C': # Clean
    self.sendCommandASCII('135')

elif k == 'D': # Dock
    self.sendCommandASCII('143')

elif k == 'SPACE': # Beep
    self.sendCommandASCII('140 3 1 64 16 141 3')

elif k == 'R': # Reset
    self.sendCommandASCII('7')

They will more then likely have a full command set either provided with the system, or available online - but here are some basic commands.

The connection to the system is made via serial, and it would appear from this script as if ASCII commands are all it takes to get it up and running.

Plug, open a serial terminal, and play.

Matt Clark
  • 151
  • 8