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 | + | 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 | ||
+ | **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 33: | Line 29: | ||
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. | 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]] | ||
− | * | + | * 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 = | ||
Line 47: | Line 42: | ||
*[http://customize.org/help/How_To_Unzip_A_File Customize Help How To 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://consumerdocs.installshield.com/selfservice/viewContent.do?externalId=Q108326&sliceId=1 Q108326: How Do I Unzip a File in Windows XP?] | ||
− | |||
− | == Arduino | + | == Arduino == |
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 49: | ||
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 | + | 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 == | |
− | |||
− | [ | + | Processing is the laguage 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!] |