Instructables

The Arduino Internet Gizmo

FeaturedContest WinnerContest Winner

Step 19: Installing the software

Picture of Installing the software
19 - 2 - pyserial.png
19 - 3 - 7-Zip.png
19 - 4 - Arduino.png
The following software will need to be installed on your computer:  Python, the Python pySerial library, Arduino development software, and a utility called 7-Zip.  I developed the gizmo's software on a computer running Windows 7.  All of this software will run on Windows XP, Windows Vista, and Linux. 
  1. Python is used to run the program that will monitor the USB port for data from the Arduino in the gizmo.  I used Python version 2.7.2 for this program. Any version of Python 2.7.x should work fine.  I have not tested the Arduino Internet Gizmo on Python 3.2.x.
    1. To install Python 2.7.x, download the Python 2.7.x Windows installer software from http://www.python.org/download/
    2. After the download is complete, run the installer.  The installer asks where you want to install Python - I had it install it at c:\Python27.  All of the following instructions assume that's where it's installed.  You can install it in a different folder, but you will need to adjust the instructions accordingly.
  2. pySerial is a library for Python that allows it communicate over a serial communication link like USB.  Install pySerial as follows:
    1. Download pySerial from http://pypi.python.org/pypi/pyserial - click on pyserial-2.6.tar.gz to download the library. 
    2. Download and install 7-Zip from http://www.7-zip.org/.  This software is required to open the pyserial tar.gz file. 
    3. Run 7-Zip (Start -> All Programs -> 7-Zip -> 7-Zip File Manager). 
    4. Open the pyserial-2.6.tar.gz file with 7-Zip (File -> Open). 
    5. Double click the "dist" folder.
    6. Single click on the "pyserial-2.6.tar" file and click the "Extract" button at the top of the window.  When asked where to put the file, specify c:\Python27\Lib\site-packages\pyserial-2.6
    7. Exit from 7-Zip
  3. Now that you have downloaded pySerial, install it:
    1. Open a command window (Start -> All Programs -> Accessories -> Command Prompt) and type into the command line: cd c:\Python27\Lib\site-packages-\pyserial-2.6 
    2. Install pySerial by typing this command: c:\Python27\python.exe setup.py install
  4. Download and run the Arduino development software installer from http://arduino.cc/en/Main/Software.
Now download the Arduino Internet Gizmo program files attached to this step:
  1. Download the "arduino-internet-gizmo v1.py" file to "c:\Python27" folder.
  2. Download the "arduino_internet_gizmo_v1.ino" to a folder of your choice.
 
Remove these adsRemove these ads by Signing Up
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!