i want to make a robot which detect walls and chooses the correct path.
robot's micro controller and complier will be Atmega32L , codevision.
four IR sensor will be wall detectors.
here is the circuit of IR sensor
**broken link removed**
my problems:
1.the range of IR sensor is too short it can only detect thing closer than 20 cm (if i use 5mm photodiode LED receiver )
how can i increase the range up to 1Meter
or its better to use ultrasonic sensor as distance meter???
(if yes could you tell me how can i use this sensor with atmega 32 and can i use 2 sensors on one atmega 32??)
2.what is the best xtal's frequence for atmega32 in order to run the program quickly??
3.how can i drive 2 motors, control the speed of them and change the rotation orientation easily??(lm298??? if yes could you learn me how?)
sorry for my bad english
thanks for your guidance
robot's micro controller and complier will be Atmega32L , codevision.
four IR sensor will be wall detectors.
here is the circuit of IR sensor
**broken link removed**
my problems:
1.the range of IR sensor is too short it can only detect thing closer than 20 cm (if i use 5mm photodiode LED receiver )
how can i increase the range up to 1Meter
or its better to use ultrasonic sensor as distance meter???
(if yes could you tell me how can i use this sensor with atmega 32 and can i use 2 sensors on one atmega 32??)
2.what is the best xtal's frequence for atmega32 in order to run the program quickly??
3.how can i drive 2 motors, control the speed of them and change the rotation orientation easily??(lm298??? if yes could you learn me how?)
sorry for my bad english
thanks for your guidance
Last edited: