# LineFollower Kwark

**URL:** https://forum.pololu.com/t/linefollower-kwark/27192
**Category:** Share your projects
**Created:** [November 20, 2024, 8:59pm UTC](https://forum.pololu.com/t/linefollower-kwark/27192 "2024-11-20T20:59:02Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![konrad516](https://forum.pololu.com/letter_avatar_proxy/v4/letter/k/a88e57/32.png) [@konrad516](https://forum.pololu.com/u/konrad516)
#### Post date: [November 20, 2024, 8:59pm UTC](https://forum.pololu.com/t/linefollower-kwark/27192/1 "2024-11-20T20:59:02Z")

</div>

Hello,

I’d like to share my linefollower project that I’ve recently built. The entire project, including software, hardware, and PC application, is available on my [GitHub](https://github.com/konrad1s/LineFollower-Kwark).

**Electronics & Components:**

- **Microcontroller:** STM32F722
- **Sensors:** 12 KTIR0711 infrared sensors.
- **Motors:** 2 **Pololu** DC motors HPCB 10:1
- **Motor Drivers:** 2 **Pololu** TB6612FNG drivers (paralleled channels)  
**Encoders:** 2 AMS AS5040 magnetic rotary encoders to measure motor speed
- **Communication:** Bluetooth module to communcite with the PC application
- **Power Supply:** 7.4V LiPo battery

You can check the youtube demostraction video: [https://www.youtube.com/watch?v=Kh0NfI-lTgY](https://www.youtube.com/watch?v=Kh0NfI-lTgY)

 ![IMG_0223.jpg.5dd7598ea5d53fe431346fe43137f1dd](https://forum.pololu.com/uploads/default/original/2X/7/74e2377db47779c071f51f5ea64f76e3e72669d6.jpeg)

**PCBs:**

 ![mainBoard](https://forum.pololu.com/uploads/default/original/2X/b/b5b97d1dc284279af74c1aa8497d2bd1d52271c9.jpeg)  
 ![sensorBoardTop](https://forum.pololu.com/uploads/default/original/2X/9/982b00d66465ce2e931b48f9e181cdf00c28a087.jpeg)  
 ![encoderBoard](https://forum.pololu.com/uploads/default/original/2X/c/c2a5b83dc8b8baf7d33f111c6bad9d883d7e09f1.jpeg)

**Software:**

- **Firmware:** Written in C, the firmware uses event-driven state machine and PID algorithms for motor control.
- **Bootloader:** Enables wireless firmware updates via Bluetooth.
- **PC Application:** Developed using QT (C++), the PC app provides a graphical interface to control, configure, and monitor the robot.

---

<div class="post-metadata">

### Author: ![BrandonM](https://forum.pololu.com/user_avatar/forum.pololu.com/brandonm/32/609_2.png) [@BrandonM](https://forum.pololu.com/u/BrandonM)
#### Post date: [November 21, 2024, 9:14pm UTC](https://forum.pololu.com/t/linefollower-kwark/27192/2 "2024-11-21T21:14:52Z")

</div>

Hello.

That’s awesome! I don’t think I have ever seen a full GUI like that for a line follower; I love it! The robot has a very snappy reactions, too.

Well done all around, and thank you for sharing!

Brandon
