Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to control and Ardunio by writing bytes to it in the same way I would use the serial monitor on my laptop. How could one accomplish this?

share|improve this question
You want to control an Arduino from a USB port? You use the serial port on your laptop to control it right now? – izx May 18 '12 at 10:09
I want to use a script on an ubuntu computer to control it through USB. – charles horvath May 18 '12 at 14:33
+1 for "Ardunio". Made me chuckle :) – NlightNFotis Aug 23 '12 at 9:18

You can by using pySerial.

This will allow a console based python script (or a python GUI program even) to listen/talk to you Arduino.

That's the route I took to make my generic Arduino DIY CNC machine. If your interested you can check it out at:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.