I know I need to go review my electronics basics here but I just wanted to check that this circuit isn't going to kill the phototransistor while I play with it for a little longer.
I've built this just to test receiving an infrared signal. The code reads the input of analog pin 2 once in setup() and then again every loop(). If the recorded value in loop() is less than 90% of the setup() value then it lights the LED on the Arduino 2009 to show infrared is being received.
+3.3V
|
|
10K resister -----------> Analog Pin 2
|
|
IR Phototransistor
|
|
Ground
Circuit and code works fine (values around the 500 range) - but I'm a bit concerned that maybe my ignorance about voltage/current dividers means I haven't protected the phototransistor properly???
I was hoping someone wouldn't mind humouring me and confirming or denying my worry.