Society of Robots - Robot Forum
Electronics => Electronics => Topic started by: m4nti on September 28, 2009, 02:12:14 PM
-
OK So my cousin says we're gonna need an ADC to get output from the IR sensor. We'll be using an ATmega8 controller.
Do we rly need the ADC? I can't find it anywhere in the robot tutorial, but we're not rly following the tutorial step by step so I might have skipped something.
How would that work then? Would I (as the programmer) just receive a value from the sensor and work with it? Cheers.
-
What sort of an IR sensor is it? If it gives digital output, as in a TSOP based system, then there is no need to go the ADC way. However, if it is a simple IR Transmitter / Receiver system based on a voltage divider, then there is a need for ADC. As far as ADC is concerned, there is an excellent tutorial in AVR freaks.