- #1
maxsthekat
- 55
- 0
Hi guys!
I'm a beginning EE students, and haven't taken many courses yet (haven't even covered transistors in my circuits class yet-- we're up to diodes, woo!). For a "for fun" project, I've been messing around with the Arduino microcontroller (http://www.sparkfun.com/commerce/product_info.php?products_id=666) and I've come up with a little project I'd like to do.
Basically, I want to make an IR LED "flashlight" that I'll place in the netting on my backpack. Then, I'm going to take the microcontroller and hook it up to some small dc motors I have and spare lego wheels. I'd like to use a couple of IR sensing elements to determine which motors should be driven, so the "robot" follows me at a certain distance :)
My issue is, I'm not certain which is better to use: an IR photodiode or phototransistor. I'd like to keep this simple, so I was hoping that IR photoresistors were out there, but this doesn't seem to be the case... Ideally, I wanted to just use the Arduino's analog to digital ports to compare voltages (possibly using an op-amp before hand to get a larger voltage) and then having the robot move left or right depending on which resistor had a higher voltage.
So, what do you guys think? What would be the best approach to take? Can I somehow use the output of a phototransistor to feed into an ADC? Or will I have to look into using the "small current approximation" with a photodiode? Or is there some way better and much simpler method I'm completely missing? :)
Any and all insight is greatly appreciated. Thanks for taking the time to read this :)
-Max
I'm a beginning EE students, and haven't taken many courses yet (haven't even covered transistors in my circuits class yet-- we're up to diodes, woo!). For a "for fun" project, I've been messing around with the Arduino microcontroller (http://www.sparkfun.com/commerce/product_info.php?products_id=666) and I've come up with a little project I'd like to do.
Basically, I want to make an IR LED "flashlight" that I'll place in the netting on my backpack. Then, I'm going to take the microcontroller and hook it up to some small dc motors I have and spare lego wheels. I'd like to use a couple of IR sensing elements to determine which motors should be driven, so the "robot" follows me at a certain distance :)
My issue is, I'm not certain which is better to use: an IR photodiode or phototransistor. I'd like to keep this simple, so I was hoping that IR photoresistors were out there, but this doesn't seem to be the case... Ideally, I wanted to just use the Arduino's analog to digital ports to compare voltages (possibly using an op-amp before hand to get a larger voltage) and then having the robot move left or right depending on which resistor had a higher voltage.
So, what do you guys think? What would be the best approach to take? Can I somehow use the output of a phototransistor to feed into an ADC? Or will I have to look into using the "small current approximation" with a photodiode? Or is there some way better and much simpler method I'm completely missing? :)
Any and all insight is greatly appreciated. Thanks for taking the time to read this :)
-Max