The post explains a simple obstacle avoiding robot circuit without microcontroller and without using special motor driver circuits or ICs. The idea was requested by Mr. Faiyyaz
Please send me circuit diagram for obstacles avoiding robot without microcontroller
The Circuit Design
Basically it's in the form of a moving vehicle which is able to detect and avoid potential obstacles on its path and change its direction appropriately so that its motion stays uninterrupted, simple!
The operation is thus automatic without any manual or human intervention.
The presented idea of an obstacle avoiding robot without microcontroller as the name suggests does not employ a microcontroller and therefore is extremely simple to build and suitable to any new hobbyist.
While designing the circuit I realized that in order to implement the principle at least a couple of obstacles sensor modules would be required, because using a single module can cause erratic movement of the motor and may not help a smooth diversion or turning of the vehicle towards a free path.
The vehicle motor set up is quite similar to the remote control toy car which I had discussed in one of the earlier posts.
The following diagram represents one of the modules of the system, and therefore two or a pair of such modules would be required across the right and the left sides of the vehicle.
The idea is simple and works without microcontroller and without special motor driver ICs. That means you can make it without any kind of coding and without using any kind of complex motor driver IC.....and the circuit allows you to use any DC motor regardless of its power, so even high power obstacle avoiding vehicles could be made using this circuit which are normally used in malls and similar retail outlets.
Now let's try to understand the above circuit with the help of the following explanation:
How the Circuit Works
The IC 555 is configured as an IR transmitter and is set to generate a constant 38kHz frequency, while the adjoining transistorized circuit is configured as the receiver stage or the IR sensor stage.
Let's assume it's the right side module, and suppose this module happens to be the first to detect an obstacle in the path.
Therefore as soon as an obstacle is detected, the 38kHz frequency generated by the 555 IC is reflected towards the sensor of the adjoining receiver circuit.
The receiver instantly activates the associated transistors such that the final driver transistor is inhibited from conducting.
Now the motor which is controlled by this transistor is supposed to be located on the left side of the vehicle, that is on the opposite side of this module...similarly the motor located on the right side is actually controlled by the left side module.
Consequently, when the above assumed right hand side obstacle detector module activates, it stops the left hand side motor, while the right side motor is allowed to move normally.
This situation results in the vehicle being forced to take a left side diversion...which means now the assumed left module starts getting even more stronger obstacle signals and keeps forcing the vehicle to proceed harder on the ongoing diversion until it has completely avoided the obstacle. The module now stops receiving the obstacle signals and the vehicle begins moving ahead normally on its new path.
While the above diversion is carried out the left side module is forced to become more and more isolated and away from the obstacle so that it does not get an opportunity to interfere in the procedure, and allow a clean and smooth diversion of the vehicle.
Exactly the same procedures are implemented in case the left side module happens to sense the obstacle ahead of the right side module, wherein the vehicle is forced to move harder and harder toward the right side.
We can also see a "disabling" circuit stage in the module which are interconnected across the left and the right side modules. This stage is purposely introduced to ensure that both the modules are never activated together.
Therefore for example if the left side module becomes the first to detect an obstacle, it immediately disables the right side module and initiates the diversion of the vehicle on the right and vice versa.
The sensor IC could be an standard TSOP17XX series
For more info regarding the above sensor IC you can learn how to connect TSOP1738 IC
And the motor should be equipped with gear boxes so that the movement is originally maintained at a controlled level.
Wheel Set Up
The complete set up of the left and right module and the associated electrical connections can be witnessed in the figure below:
A little thinking tells us that the above simple obstacle avoiding robot circuit could also be implemented by using a single module, instead of the two.
However a single module would allow the vehicle to carry out a single sided diversion every time it detects an obstacle, therefore the system could be configured either to take a clockwise diversion or anticlockwise diversion depending on which motor is connected with the circuit for the actions.
The example set up can be visualized in the following image: