Step 19: Installing the Software

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.
<p>hi bruce, im new here at instructables and hoping you can help me out, im a beginner at programing so i dont know much about the python, i was wondering if i can change the command that the rfid is doing, meaning, instead of opening a web i will instruct it to play different video located locally at my pc, hope you can help me with this one, thanks x </p>
<p>Hi Jorette. It's definitely possible. I'll do a little research and then reply with some instructions on how to do it.</p>
<p>I love the combination of Python and the Arduino. So I have created a collection about it. I have added your instructable, you can see the collection at: &gt;&gt; <a href="https://www.instructables.com/id/Arduino-and-Python-and-perhaps-a-Rasberry-Pi/"> https://www.instructables.com/id/Arduino-and-Pytho...</a></p>
I b lov'n your project! Nice ible!
This is so cool! And I love that it exists mostly to be a fun gizmo - just for the joy of it. Voted for it!
Nice artistic flare <br>
Wow, fantastic project Bruce. You put a lot of details into the steps, which is great. The box is a thing of beauty!
Thanks! I had a lot of fun with this one. I was surprised how long it took to document it compared to making it! :-)
This is pretty awesome, voting for you!

About This Instructable




More by talk2bruce:Raspberry Pi Internet Monitor Laser Cut Raspberry Pi LCD Case Raspberry Pi Motion Sensitive Camera 
Add instructable to: