Difference between revisions of "CSC231 Lab 4"

From dftwiki3
Jump to: navigation, search
(Wiki Page)
(Wiki Page)
Line 31: Line 31:
 
* Study the  "A quick tutorial on the basic elements of a wiki page", and look at its code by editing it (don't modify anything)
 
* Study the  "A quick tutorial on the basic elements of a wiki page", and look at its code by editing it (don't modify anything)
 
* Create a new page starting with the '''231a-xx''' link you will find on the portal page.
 
* Create a new page starting with the '''231a-xx''' link you will find on the portal page.
 +
* If you feel confortable having your name and/or picture on the wiki page, add it/them.  Remember that these pages are linked to my Smith Web sites, available to Web spiders and bots, and accessible (for reading) to anybody on the Web.
 
* Define several sections:
 
* Define several sections:
 
** A project section
 
** A project section

Revision as of 14:22, 25 September 2008

UnderConstruction.gif


CSC 231 Lab # 4

ArduinoStamp.jpg

© D. Thiebaut, 2008


Arduino

You will find information on how to setup the Arduino software on a Mac and on a Linux box [[CSC231 Links and Resources | here]. These represent the step I took to install the software on my machines. I didn't document installing under Windows as the Web has very good coverage of these steps.

Setup

  • Boot your PC with the Ubuntu LiveCD which you will have received.
  • Go to the /root folder, find the Arduino software and star the IDE
  • Connect the USB cable to the computer, and the Arduino to the USB cable

Tutorials

Follow the very nice tutorial pages from the page located at http://ladyada.net/learn/arduino/ :

  • Lesson 1: Skip the first part, and go to the Startup! Section.
  • Lesson 2. Do the whole lesson. Save to your memory stick whenever you are asked to save your sketch. Do the exercises at the end (and turn the lights off for Exercise 3!)
  • Lesson 4. Do the whole lesson, and stop when you get to the Pythagorean party section. Just for kicks, check the section labeled Introduction to types, part 2, do you recognize anything? :-)

Wiki Page

  • Go to the Student Wiki-Page portal for the class: http://tango.csc.smith.edu/classwiki/index.php/CSC231_Page
  • Study the "A quick tutorial on the basic elements of a wiki page", and look at its code by editing it (don't modify anything)
  • Create a new page starting with the 231a-xx link you will find on the portal page.
  • If you feel confortable having your name and/or picture on the wiki page, add it/them. Remember that these pages are linked to my Smith Web sites, available to Web spiders and bots, and accessible (for reading) to anybody on the Web.
  • Define several sections:
    • A project section
      • A project ideas subsection
    • A demos and examples section
    • A resource section, where you will collect links to sites you discover, and which contain good/useful/interesting information relating to this project.
    • Any other sections, subsections, pictures, description you feel will enhance the information and navigation on your project page.
  • In the resource section, create links to the tutorials/lessons you just went through
  • In the demos and examples section, copy/paste the code of the sketches you have created In the Arduino part of the lab.
  • Add a picture of the Decemilia Arduino to your page (be efficient; don't upload a picture if it already exists in this mediawiki site!!!)

Lab Report

The lab report is the wiki page you just created, plus a list of project ideas in the project sections.

The report is due a week after the lab, next Friday

I would like you to do some research and think of ideas of simple projects you can build around the Arduino. The idea is to use the input/output ports of the Arduino chip and write an assembly language program that will monitor the inputs and control the outputs so that your project "does something interesting." :-)