View Single Post
  #15   Spotlight this post!  
Unread 21-04-2014, 12:57
Monochron's Avatar
Monochron Monochron is online now
Engineering Mentor
AKA: Brian O'Sullivan
FRC #4561 (TerrorBytes)
Team Role: Engineer
 
Join Date: Feb 2007
Rookie Year: 2002
Location: Research Triangle Park, NC
Posts: 900
Monochron has a reputation beyond reputeMonochron has a reputation beyond reputeMonochron has a reputation beyond reputeMonochron has a reputation beyond reputeMonochron has a reputation beyond reputeMonochron has a reputation beyond reputeMonochron has a reputation beyond reputeMonochron has a reputation beyond reputeMonochron has a reputation beyond reputeMonochron has a reputation beyond reputeMonochron has a reputation beyond repute
Re: Arduino/Raspberry Pi club

We used an Arduino Nano to run a light sensor for position sensing. We mounted an LED on our ball lifting mechanism and the light sensor on a piece of aluminum such that when the LED was in front of the sensor the lifting mechanism was in our "shoot" position.

In order to filter out outside light we pulsed the LED every couple milliseconds and used the light sensor to give us the delta between the two readings. If the delta was large then the LED must be present.
Reply With Quote