Using the iRobot Create’s Command Module with Linux using avr microcontroller

iRobotSince iRobot hasn’t provided linux users with a way to use the command module, I had to figure it out myself.
Don’t be intimidated, its not hard at all, really. All you need to do is run a couple of scripts.
Lets get started, shall we?

Step 1 Get the goods

For this tutorial, I’m assuming you have an apt-based package manager. (i.e. you use a Debian derivative, or an Ubuntu derivative) Simply because apt = good.
If you don’t, I assume that there are the same packages for yum, but I can’t test that. (Fedora doesn’t like me)
Now, you must run a long and complicated thingymabober:

sudo apt-get install avrdude avr-libc gcc-avrsudo apt-get remove brltty

And yes, removing that package is safe. (Tip from here) If it gives you an error saying its not installed, you’re good, don’t worry.

Step 2 Write/Get a Program

Heres the part where you write your program. But to test it out, lets use a demo program.
The command module comes with a CD, and on it, there are 3 demo programs.To test, use the input program. Copy the folder “input” to somewhere on your computer, such as /home/user/avr/input.
For more Detail: Using the iRobot Create’s Command Module with Linux using avr microcontroller


About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top