Author Topic: Sensor ADC?  (Read 1570 times)

0 Members and 1 Guest are viewing this topic.

Offline m4ntiTopic starter

  • Jr. Member
  • **
  • Posts: 27
  • Helpful? 0
Sensor ADC?
« 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.

Offline mayukh

  • Jr. Member
  • **
  • Posts: 8
  • Helpful? 0
Re: Sensor ADC?
« Reply #1 on: September 30, 2009, 10:00:24 AM »
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.
____________________

Regards,
Mayukh.