CS-212
Lab 4 Pre-Lab
Spring 2011

The purpose of this prelab is to get your PC set up for working with the Arduino and more importantly the AT Mega328 used on the Arduino. The Arduino is an Open Source educational development system intended to be used to teach art and humanities students how to create artful and useful systems without having to understand the details of the hardware. The Arduino software development IDE implements a varient of the C++ language (and thus C) with a rich set of libraries that hide all (or most of) of the details of the hardware. In this course we will be using the Arduino as a breakout board for the ATmega328, mostly because because the board has a built-in USB interface for downloading your programs into the ATmega328 (this eliminates setting up messy and hard to find serial ports on PCs).

  1. Arduino IDE Follow the instructions here to download and install the Arduino Development tool software development environment.
  2. WinAVR Go to here and download the latest version of WinAVR and install it on your PC. This will install both WinAVR and a program called AVRDUDE; which you will need for downloading programs you create in AVRStudio4 into the Arduino.
  3. Atmel Studio 4 Go to here and register yourself with Atmel and download and install Register to download AVR Studio 4.18 (build 684).
  4. Terminal EmulatorIf your OS does not already include a terminal emulator like Hyperterminal (Win XP) that will emulate a VT100 terminal download one from the list of Terminal Emulators here or come and talk to me and I'll loan you my thumb drive.