Small DC motor dedicated driver, the chip L293 is an H-bridge integrated circuit, its output current of 1000mA, the highest current 2A, the highest operating voltage of 36V, can drive the inductive load, especially its input can be directly connected with the microcontroller, so that it is convenient to be controlled by the microcontroller. When driving a small DC motor, two motors can be directly controlled and motor forward and reverse can be achieved, enabling this function to simply change the logic level of the input. This module has the characteristics of small size and convenient control. With this module, you'll be free to control your motor and handle the car's problems with ease. The driving schematic is shown in the figure<br><br>The principle of trolley track is that the car is drawn on the black line of white paper "road", because the black line and white paper reflect light coefficient is different, according to the received reflection of light strength to judge the "road" - black line. In this module, the author makes use of the simple and common detection method, infrared detection method.<br>Infrared detection method, that is, the use of infrared in different colors of the surface of the object has different reflective properties, constantly emitting infrared light, when infrared light encountered white obstacles diffuse, reflected light is received by the opposite receiving tube; Send the results of the receiving tube to the microcontroller. The microcontroller processes whether it receives reflected infrared light. Depending on its characteristics, it can be used to find or avoid obstacles in smart cars. Infrared tube white for the transmitter tube, long pin for the positive pole, high potential. Black is the receiving tube, long pin ground, short pin high potential. The circuit diagram is shown in Figure 3-3.
正在翻译中..