LineFollower-Kwark
konrad1s·LineFollower-Kwark·Hardware/main_pcb/schemat.kicad_pcb
About the LineFollower-Kwark PCB
LineFollower-Kwark is an open source STM32 PCB design by konrad1s, published on GitHub under the MIT license. It is a 4-layer board measuring 139.7 × 41.3 mm, with 70 components from 22 distinct parts.
Its main chip is the STM32F722RETx, from the STM32 family. Other key parts include the LM1117MP-3.3 and TB6612FNG. By type, the board carries 20 capacitors, 15 resistors, 12 diodes, 10 connectors, 4 ICs and 1 crystal.
It belongs with the robotics & motion and sensors designs in this gallery.
From the project
Fast LineFollower Robot project. Build on STM32 F7 microcontroller with custom PCB. Software, Hardware and QT Application.
The LineFollower Robot is an autonomous robot designed to follow a predefined path marked by a black or white line. This project serves a quite advanced solution including hardware project, embedded software and PC QT application.
A short video demo is available on YouTube.
Example - one of the first - linefollower run:
The core functionality is implemented through an event-driven state machine. The primary signal is the LFSIGADCDATAUPDATED, which is raised whenever new ADC data is available. Currently every 5ms, however increasing this frequency can lead to better control results.

Main components on the LineFollower-Kwark
LineFollower-Kwark bill of materials (BOM)
70 components, 22 distinct parts.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | LM1117MP-3.3 | SOT-223-3_TabPin2 | U1 |
| 1 | STM32F722RETx | LQFP-64_10x10mm_P0.5mm | U2 |
| 2 | TB6612FNG | SSOP-24_5.3x8.2mm_P0.65mm | U3, U4 |
| 1 | QT325G-26.000MAHQ-T | XTAL_QT325G-26.000MAHQ-T | Y1 |
| 1 | Battery | PinSocket_1x02_P2.54mm_Vertical | J1 |
| 1 | Conn_01x04_Socket | PinSocket_1x04_P2.54mm_Vertical | J2 |
| 1 | SENSOR_CONN | GCT_FFC2B28-16-G | J3 |
| 1 | FTSH-105-01-F-DV-P-TR | SAMTEC_FTSH-105-01-F-DV-P-TR | J4 |
| 1 | Conn_Encoder1 | PinHeader_2x03_P2.54mm_Vertical_SMD | J6 |
| 2 | Conn_Moto1_A | PinHeader_1x01_P2.54mm_Vertical | J9, J12 |
| 2 | Conn_Moto1_B | PinHeader_1x01_P2.54mm_Vertical | J10, J13 |
| 1 | Conn_Encoder2 | PinHeader_2x03_P2.54mm_Vertical_SMD | J11 |
| 6 | — | @HOLE0, @HOLE1, @HOLE2, @HOLE3, @HOLE8, @HOLE9 | |
| 1 | JS202011SCQN | SW_JS202011SCQN | S1 |
| 12 | LED | LED_0603_1608Metric_Pad1.05x0.95mm_HandSolder | D1, D2, D3, D4, D5, D6, D7, D8 +4 |
| 1 | L | L_0603_1608Metric_Pad1.05x0.95mm_HandSolder | L1 |
| 4 | 10uF | CAP_293D-B_VSS | C1, C7, C14, C16 |
| 13 | 100nF | C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C2, C4, C6, C9, C10, C11, C12, C13 +5 |
| 2 | 18pF | C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C3, C5 |
| 1 | 4.7uF | C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C8 |
Show 2 more
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 2 | 10k | R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R1, R2 |
| 13 | R | R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R3, R4, R5, R6, R7, R8, R9, R10 +5 |
LineFollower-Kwark design files
The KiCad project lives in the konrad1s/LineFollower-Kwark repository on GitHub; these links point at the commit this page was built from.
LineFollower-Kwark: common questions
What microcontroller does the LineFollower-Kwark use?
The LineFollower-Kwark is built around the STM32F722RETx, from the STM32 family.
How big is the LineFollower-Kwark PCB?
The LineFollower-Kwark measures 139.7 × 41.3 mm, has 4 copper layers and is 1.6 mm thick.
How many components are on the LineFollower-Kwark?
70 components, from 22 distinct parts. The full bill of materials is listed on this page.
Where can I download the LineFollower-Kwark design files?
From the konrad1s/LineFollower-Kwark repository on GitHub, which has the KiCad layout and the schematic; the links under Design files point to each one.
Can I use the LineFollower-Kwark design in my own project?
Yes, under the terms of its MIT license, which konrad1s chose for the repository.
Can I test firmware for the LineFollower-Kwark without the hardware?
Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug STM32 firmware against it before you order a PCB.
Similar boards
STM32
LumenPnP Motherboard
opulo-inc
149 × 95 mm296 parts4LCC-BY-SA-4.03.7kSTM32
AxxSolder
AxxAxx
39 × 82.5 mm122 parts2LGPL-3.01.7kSTM32
AIOC
skuep
21 × 31.5 mm47 parts2LMIT1.4kSTM32
Ferris
pierrechevalier83
208.8 × 86.8 mm102 parts2LSHL-2.11.3kSTM32
176 pin board
rusefi
61.8 × 73.2 mm76 parts2LGPL-3.01.2kSTM32
Brain board STM32F407
rusefi
61.8 × 73.2 mm69 parts2LGPL-3.01.2k