Saturday 1 June 2013

Making an obstruction avoiding device without microcontroller

Making an obstruction avoiding device without microcontroller

I want to make a toy device which spins to the left whenever there is an obstruction in front of it, without any microcontroller. Can anybody please check whether my approach in building the device is correct or not [let's assume we are driving our device in a bright room with uniform lighting]? Any tips or suggestions for improvement (if it is correct) will also be appreciated.
My approach is to use two DC motors as the rear wheels of the device. Attach an LDR to the front of the device and connect it to the left motor. Now both the motors are connected to a power supply. When the power supply is switched on and no obstruction is in front of the toy, both the motors will be moving at approximately same speed since the LDR will be in exposure to light and its resistance will be negligible, because of which the toy will run straight. Now when there is some obstruction in front of the device, the amount of light falling on the LDR will decrease, which will imply a rise in resistance of the LDR. Thus the velocity of the left motor will decrease, while the velocity of the right motor will be moreorless constant. So the device will spin to the left.
The circuit diagram corresponding to my argument is provided in the link below. I will post the mechanical simulation of the device shortly (within 2 hours from now).

No comments:

Post a Comment