The invention relates to a dual-direct-current motor micromouse
system based on STM32 control, and belongs to the field of micro-robots. The dual-direct-current motor micromouse
system comprises a master control
chip, a detection module, an H-bridge drive module, a direct-current
micromotor, a magnetic type
encoder, a UART interface, a
gyroscope, a human-computer interface, a
power module, a PCB and the like. The detection module comprises six sets of
infrared sensors and is used for detecting the wall distance and maze wall information. The
gyroscope is used for correcting the posture of a micromouse in the turning process. Forward and reverse rotation, acceleration and deceleration of the direct-current motor are achieved through the H-bridge drive circuit. The rotating speed and locating information of the motor are obtained and fed back through the magnetic type
encoder on the direct-current
micromotor. The UART interface can be externally connected with a
serial port or a
Bluetooth module. The human-computer interface displays different work
modes. The dual-direct-current motor micromouse
system has the advantages that strong externally-mounted resources are provided by the master control
chip, and the direct-current
micromotor is used as a drive unit to improve the
operating speed of the system. The system is small in size and light, time for completing tasks by the micromouse is lowered, operating stability of the micromouse is improved, and high practicality is achieved.