Announcements

November 24, 2007
Reading for November 27th, are now posted. Enjoy!

October 2, 2007
To upload your thoughtless acts, create a new assignment page like any other lab. You'll see "Thoughtless Acts" listed as one of the assignment options.

May 24, 2008
This site has been archived and is no longer editable. Stay tuned for the next version, coming in the fall!


Revision of Lab 4 from Wed, 09/26/2007 - 18:14

Project Members: 
n8agrin

Assignment

Use force resistive and photocells sensors as input and use variable LEDs
(build on the pulse width modulation exercise from Week 3) as output;
consider multiple force sensors and photocells?

Instructions:

Programming
Create
an interesting visualization on your computer that could be influenced
by the input from the sensors you have (pot, photocell, FSR, or
combination of them). You can use Processing (or any other language you
like) in writing the program. Post your results on the course website.

Mechanical
Create a mechanical construction for
your FSR that distributes or focuses physical force that is applied.
Think about everyday objects (toothpaste tube, entrance mat,
paintbrush, pipette, etc.) and how you measure the pressure or force
applied to them.

Description

I
attempted several different mappings of two pots to various behaviors
of the LEDs. In some cases, the pot controlled the rate of blinking, in
others the hue of the color displayed by the diffuser.

Components Used

  • 1 red, 1 blue, 1 green led
  • 3 220-ohm resistors
  • 1 diffuser
  • 2 potentiometers
  • 7 lengths of wire
  • 1 breadboard
  • 1 arduino board

Code

 

 

 


Powered by Drupal - Design by Artinet