Control board for the line follower racing car project designed at A Industriosa.
-
Check the 3D printed chassis designs at https://gitlab.com/punkto/line_follower_3d_designs
-
For the firmware refer to https://github.com/hmightypirate/AllMyCircuits
Designed to control a line follower racing car based on differential drive, this board includes an STM32F103 microcontroller coupled with a TB6612FNG dual channel motor driver and a U3V12F9 step-up regulator to power two Pololu micro metal gearmotors at stable 9V. The board provides headers to connect the motors using the magnetic encoder boards mounted on them.
To detect the position of the line, a QTR-8A array featuring 8 Fairchild QRE1113 reflectance sensors is connected to the right angle header mounted on the front.
2 LEDs, 3 push buttons and a buzzer are provided to configure the board and give feedback while the car is on the track.
There is also a UART header that can be used to program the microcontroller and to establish a communication link through cable or Bluetooth if an HC-05 adapter is used.
To expand the capabilities of the board, I2C and SPI buses are available on a header so that other hardware (like an IMU or a slave microcontroller) can be added at any time.
This board solves the problem with the regulator found in the previous version. By replacing the AMS1117-3.3 with a MP2307DN, the board can easily handle the regulation from the 8.4V provided by the battery when fully charged to the 3.3V required by the electronics.
Item | Description | Quantity |
---|---|---|
Bluepill | STM32F103 microcontroller board | 1 |
MP2307DN | 3.3V Step-down voltage regulator. Can be found with the name Mini-360 in chinese stores. | 1 |
U3V12F9 | 9V Step-up regulator board from Pololu | 1 |
Buzzer | Passive buzzer board | 1 |
TB6612FNG | 2 Channel motor driver board | 1 |
5 mm LED | 5mm LEDs of different colors | 2 |
Push button | Through hole push buttons | 3 |
100Ω Resistor | Through hole resistors | 5 |
47kΩ Resistor | Through hole resistors | 1 |
20kΩ Resistor | Through hole resistors | 1 |
40x1 Female socket 2.54mm pitch | Female socket to plug, the bluepill, the motor driver and the Bluetooth module to the board | 1 |
40x1 Male pin 2.54mm pitch | Male pin strip to plug the motors, the battery, the expansion boards and the jumper to the board | 1 |
40x1 Right angle male pin 2.54mm pitch | Male pin strip to connect the reflectance sensor array to the board | 1 |
33uF Capacitor | Electrolytic capacitor to connect to the output of the step up regulator | 1 |
This work was inspired by the great job done in the micromouse maze solving robot Bulebule by Bulebots: