Society of Robots - Robot Forum

Software => Software => Topic started by: darkjungle on September 01, 2007, 10:07:41 PM

Title: ir readings
Post by: darkjungle on September 01, 2007, 10:07:41 PM
How to take sample readings from ir sensors.
Also di i need to use a comparator in the sensor circuit if i am going to use ADC?
Title: Re: ir readings
Post by: Tsukubadaisei on September 03, 2007, 02:39:31 AM
They return analog values. One-chip controllers usually have integrated A/D converters. Just connect the output from the sensor in the analog input from the controller and write a program to interact with the data or use a debugger. The best approach to a begginer, for me, is to write a program that will turn a servo proportionally to the sensor output.