View Full Version : problems in testing ir sensors.... pls help..!!!!!

01-17-2009, 03:46 PM
hi guys i want to test my ir sensors which i m using for my MICROMOUSE..

I have the circuit ready having THREE IR receivers and transmitters..

plz someone let me know how do i test it using atmega32...

i need sample code to test it..

the sensor OUTPUT IS ANALOG....and i need to use ADC of atmega32..

01-17-2009, 09:51 PM
why not take out some time and write your own code.....ask for help if code is not working or you are not able to understand any point.....

read the datasheet for details on adc. you just have to set 2 registors according to your need. that's all. you can see the output using leds.....