Editing Beginners Setup for Arduino and Processing

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
 
= Introduction =
 
= Introduction =
  
This writeup is specifically for the Westport High School [[Westport High School Page]] but should be useful for other beginners as well.
+
This writeup is specificlly for the Westport High School [[Westport High School Page]] but should be useful for other beginners as well.
  
 
'''This is an unfinished draft, but should be useful for a start.'''
 
'''This is an unfinished draft, but should be useful for a start.'''
Line 12: Line 12:
  
 
* Arduino board.  You need at least one. There are many. Some distinctions are:
 
* Arduino board.  You need at least one. There are many. Some distinctions are:
**'''USB or older style Serial'''
 
**'''Price'''
 
**'''Kit or prebuilt'''
 
**'''Memory'''
 
**'''Compatible with Shields''' Shields are hardware extensions for the Arduino.  Really nice to have.  We will have a writeup on them soon.
 
**'''Easily pluggable to a ProtoBoard''' This may conflict with compatible with shields, it would be nice to have it be both, we will work on it.
 
**'''Speed''' more speed is usually better than less.
 
**'''Voltage''' Most of our other circuity will probably be 5 v so 5 v is fine. the 3.3v parts are useful if used with other 3.3 v parts.  Despite the different voltages there are ways to connect them together.
 
**'''Processor''' two processors are the 168 and the 368, typically the 368 is more capable, but very little more expense lean towards it.
 
 
  
 +
**USB or older style Serial
 +
**Price
 +
**Kit or prebuilt
 +
**Memory
 +
**Compatible with Shields
 +
**Easily plugable to a ProtoBoard.
  
 
* Connection between PC and Arduino -- Mr H. will bring some, but you should get one to go with your Arduino.   
 
* Connection between PC and Arduino -- Mr H. will bring some, but you should get one to go with your Arduino.   
Line 31: Line 27:
  
  
For some information on what boards are available see:  [http://arduino.cc/en/Main/Buy Buy an Arduino board]  We will also discuss this during our meetings and probably place a group order.
+
* a Protoboard -- Mr H. will bring some and the components used with them. See [[Solderless protoboard]]
 
 
This [http://www.sparkfun.com/commerce/product_info.php?products_id=9284 Arduino Starter Kit] is a pretty good setup for most people if the price ( $60.00 ) does not put you offAt the other end is [http://moderndevice.com/index.shtml Bare Bones Board] a kit, no cables or other goodies but $13. 
 
 
 
  
* a Protoboard -- Mr H. will bring some and the components used with them. See  [[Solderless protoboard]]
+
* Misc. electronic components Leds, displays, sensors, motors and so on. -- Mr H. will have a bunch, we will get more as we need them.
  
* Misc. electronic components LEDs, displays, sensors, motors and so on. -- Mr H. will have a bunch, we will get more as we need them.
 
  
 
= PC Setup =
 
= PC Setup =
  
This can be a Windows machine, a Mac, or Linux.  I only have a Windows PC so you may have to modify some of these directions for other operating systems.  For Windows you will need to unzip some files.  If you do not know how to do this try the following:
+
== Arduino ==
 
 
*[http://wiki.answers.com/Q/How_do_you_unzip_a_file How do you unzip a file?]
 
*[http://customize.org/help/How_To_Unzip_A_File Customize Help How To Unzip A File]
 
*[http://consumerdocs.installshield.com/selfservice/viewContent.do?externalId=Q108326&sliceId=1 Q108326: How Do I Unzip a File in Windows XP?]
 
*[http://netsquirrel.com/articles/zip.html How to Unzip a File]
 
 
 
== Arduino Software ==
 
  
 
The software you need will allow you to write programs for the Arduino and move them from the PC to the Arduino.
 
The software you need will allow you to write programs for the Arduino and move them from the PC to the Arduino.
Line 55: Line 40:
 
Go to [http://arduino.cc/en/Main/Software Arduino Download the Arduino Software] and pick the right version of the software for your PC.  Then go to [http://arduino.cc/en/Guide/HomePage  Guide to Getting Started with Arduino] and follow the directions for set up.  Note that you can do most of this without having an Arduino Board.  After you get the board you may need to go back and do a bit more setup.
 
Go to [http://arduino.cc/en/Main/Software Arduino Download the Arduino Software] and pick the right version of the software for your PC.  Then go to [http://arduino.cc/en/Guide/HomePage  Guide to Getting Started with Arduino] and follow the directions for set up.  Note that you can do most of this without having an Arduino Board.  After you get the board you may need to go back and do a bit more setup.
  
For the first time through the important part is to get the environment running and see if you can open some of the examples.  You could also try to write a short program and save it.  See if you can compile a program.  You cannot upload it without having a an Arduino and cable.
+
For the first time through the important part is to get the enviroment running and see if you can open some of the examples.  You could also try to write a short program and save it.  See if you can compile a program.  You cannot upload it without having a an Arduino and cable.
  
  
 
A note on saving files: Your files are saved in the so-called sketchbook.  "sketchbook" is not the name of the directory the actual name can be set by you using Files->Preferences->Sketchbook Location.  Because we will probably be moving between computers it is probably useful to make this a location on your flash drive.  I would recommend something like F:/MyRobotics/Arduino/.  Each sketch will get its own directory under this location.  Test your setup: try writing a new program, save it, close the Arduino software, reopen the program using the File->Sketchbook menu choice.  Look at your flash drive to make sure the file end up where it should be.
 
A note on saving files: Your files are saved in the so-called sketchbook.  "sketchbook" is not the name of the directory the actual name can be set by you using Files->Preferences->Sketchbook Location.  Because we will probably be moving between computers it is probably useful to make this a location on your flash drive.  I would recommend something like F:/MyRobotics/Arduino/.  Each sketch will get its own directory under this location.  Test your setup: try writing a new program, save it, close the Arduino software, reopen the program using the File->Sketchbook menu choice.  Look at your flash drive to make sure the file end up where it should be.
 
== Processing Software ==
 
 
Processing is the language for the PC side of PC <-> Arduino communications.  Down load it from [http://processing.org/download/ Download Processing].  Like the Arduino language you will need to unzip it for installation.  It will run from the location it is unzipped to.  The file to run is:  processing.exe.  After installing, run it.  To get started with it see: [http://processing.org/learning/gettingstarted/  Getting Started. Welcome to Processing!]
 
 
 
A note on saving files: As with the Arduino Software your files are saved in the so-called sketchbook. "sketchbook" is not the name of the directory the actual name can be set by you using Files->Preferences->Sketchbook Location. Because we will probably be moving between computers it is probably useful to make this a location on your flash drive. I would recommend something like F:/MyRobotics/Processing/. Each sketch will get its own directory under this location. Test your setup: try writing a new program, save it, close the Arduino software, reopen the program using the File->Sketchbook menu choice. Look at your flash drive to make sure the file ended up where it should be.
 
  
  
== For More Info ==
 
  
[[Microcontrollers for Beginners]]  Includes some links for starter kits for the Arduino and other links too.
+
[http://arduino.cc/en/Main/Buy Buy an Arduino board]
[[Arduino Links]] A lot of links.
 
  
[[category:Microcontroller]][[category:Arduino]]
+
== Processing ==

Please note that all contributions to OpenCircuits may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see OpenCircuits:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)