Nice Robotics Course Online
Good information about robotics and the Basic Stamp 2 at http://www.seas.upenn.edu/~robo2005/ , looks to be a 2005 University of Pennsylvania summer course. Big site map in Frames format, lots to look at.
Specific Stamp info is in the Labs section, halfway down on the left menu. This links to 3 labs showing various experiments with switches, pots, phototransistors, ultrasonics, motors & servos.
My favorite·was lab #2, which shows how to use a·phototransistor to replace a photocell in a standard RCTIME format (halfway down the page).·Just using·a· Radio Shack phototransistor, it works really well, over the full spectrum of light including IR (whereas most photocells are most sensitive to yellow-green light). I use it to measure reflectance of objects with a simple IR LED instead of a pulsing 38kHz source/IR receiver package. It gives an analog value of the light level (using RCTIME) which is sometimes more useful than the digital yes/no presence of a 38 kHz signal. It can yield indirect range and heading information for robot navigation.
Just watch the polarity when you hook it up. A photocell doesn't care about polarity, but a phototransistor does.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·"If you build it, they will come."
Specific Stamp info is in the Labs section, halfway down on the left menu. This links to 3 labs showing various experiments with switches, pots, phototransistors, ultrasonics, motors & servos.
My favorite·was lab #2, which shows how to use a·phototransistor to replace a photocell in a standard RCTIME format (halfway down the page).·Just using·a· Radio Shack phototransistor, it works really well, over the full spectrum of light including IR (whereas most photocells are most sensitive to yellow-green light). I use it to measure reflectance of objects with a simple IR LED instead of a pulsing 38kHz source/IR receiver package. It gives an analog value of the light level (using RCTIME) which is sometimes more useful than the digital yes/no presence of a 38 kHz signal. It can yield indirect range and heading information for robot navigation.
Just watch the polarity when you hook it up. A photocell doesn't care about polarity, but a phototransistor does.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·"If you build it, they will come."
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·"If you build it, they will come."
ocw.mit.edu/OcwWeb/web/home/home/index.htm
Greg