Show Posts
Pages: [1]
1  Forum 2005-2010 (read only) / Development / Re: my photodiode doesn't seem to detect anything on: November 13, 2010, 10:16:34 pm
here is the spec sheet


Features

IR LED (TSFF5210 - Vishay Semiconductors)
Package type: leaded
Dimensions : ø 5mm
Leads with stand-off
Peak wavelength: [ch955]p = 870 nm
High reliability
High radiant power
High radiant intensity
Angle of half intensity:  = ± 10°
Low forward voltage
Suitable for high pulse current operation
High modulation bandwidth: fc = 24 MHz
Good spectral matching with Si photodetectors

IR Photodiode (BPV10NF - Vishay Semiconductors)
Package type: leaded
Dimensions : ø 5mm
Leads with stand-off
Radiant sensitive area (in mm2): 0.78
High radiant sensitivity
Daylight blocking filter matched with 870 nm to 890 nm emitters
High bandwidth: > 100 MHz at VR = 12 V
Fast response times
Angle of half sensitivity: ± 20°
2  Forum 2005-2010 (read only) / Development / Re: my photodiode doesn't seem to detect anything on: November 13, 2010, 09:22:13 pm


3  Forum 2005-2010 (read only) / Development / Re: my photodiode doesn't seem to detect anything on: November 13, 2010, 06:50:35 pm
Will do as soon as I get back home. How bout a diagram and an actual picture.
4  Forum 2005-2010 (read only) / Development / my photodiode doesn't seem to detect anything on: November 13, 2010, 05:56:35 pm
alright, so I think i have my circuit right but my photodiode still won't detect anything.  I think its in my software because i can't seem to get it to work.  

my circuit is an LED to pin 9 (i can make it blink it works fine)  IR LED to pin 2 ( it works, checked with digital camera)  and a photodiode wired as follows-- 5V+  to - diode on photodiode then from the + diode to a resistor then from the resistor to analog input pin 1.



 int ledPinGreen = 9;
 int sensorPin = A1;
 int sensorState = 0;

void setup() {                
  // initialize the digital pins as an output.
  pinMode(2, OUTPUT);
  pinMode(ledPinGreen, OUTPUT);
  pinMode(sensorPin, INPUT);
}

void loop() {
  
    digitalWrite(2, HIGH);   // set the LED on
    
    sensorState = analogRead(sensorPin);
  
    if (sensorState > 10) {
      digitalWrite(ledPinGreen, HIGH);
    }
      
    else  {
      digitalWrite(ledPinGreen, LOW);
    }  

}

what am i doing wrong???  
5  Forum 2005-2010 (read only) / Troubleshooting / Illuminated BeerPong table on: October 02, 2010, 05:03:26 pm
I am in the process of designing an illuminated beer pong table.  What I want it to do is detect when a cup is on top of a "pixel" or off it and then display a red or green led underneath a piece of frosted plexiglass depending on the above circumstance.  I also want it to "restack" the group of 10 cups once it detects a certian number of empty cups.  My detector is going to be an IR LED and a photodiode.

I can handle the programming just fine but the wiring is kind of a new game to me.  I know I can use a single ground for one set of ten "pixels."  But I have too many connections to pins in my diagram than arduino has pins on the board.

So from what I can conclude I need an always on connection for my IR LED and Photodiode but still be able to take a reading from the photodiode.  And I need two pins per "pixel" for my red and green LED's and I have a common ground for everything.  That brings my total for ONE side to 41 pins.  Arduino only has 54 and I really don't want to use 2 Arduino's( 1 for each side).  

Is there anyway I can reduce the number of pins I need per "pixel" ??? Any help would be greatly appreciated seeing as I am a newb.

sorry for the shitty paint overlay on my nice autocad diagram.
6  Forum 2005-2010 (read only) / News / Re: A Beginner's Guide to making an Arduino Shield PCB on: October 02, 2010, 05:03:15 pm
sweet
Pages: [1]