How nero-gif/linefollower works
This repository contains successive line-following robot projects, their KiCad hardware designs, and a utility that registers KiCad libraries. The main runtime workflow reads line sensors, estimates line position, computes steering correction, and drives motors; the sampled v3 firmware shows these layers in one file. Separate branches represent other firmware versions, sensor/ESC experiments, CAD artifacts, and library registration. The README is empty, so capabilities and relationships beyond the sampled files are not inferred; unsampled project directories are represented only at their exact tree paths.
Main entry points: code/main.py v1.5 controller · code/main.py v3 PID controller · kicad_lib_importer.py Library importer · mrdkapojebana.py Sensor test
Components 17
Robot firmware
- v1.5 controller
LF_1.5 - 25inter/code/main.py - v3 PID controller
LF_3.0 - 26inter/code/main.py - Sensor test
LF_3.0 - 26inter/code/mrdkapojebana.py - ESC test
LF_3.0 - 26inter/code/ESC testing.py - v4 firmware
LF_4.0 - 26nat/Code/robo2026_line_follower/robo2026_line_follower.ino - Motor and sensor tests
LF_4.0 - 26nat/Code
Hardware designs
- v3 PCB design
LF_3.0 - 26inter/KiCad/LinefollowerESPv3 - v4 PCB design
LF_3.0 - 26inter/KiCad/LinefollowerV4 - Custom PCB
LF_3.0 - 26inter/KiCad/customPCB - Modular PCB
LF_4.0 - 26nat/KiCad/LF_CB_modular_v1
KiCad libraries
- Teensy libraries
KiCad_libs/teensy_library - Library importer
KiCad_libs/kicad_lib_importer.py
Other components
- Robot operator
- Line sensors
- Drive motors
- ESC hardware
- KiCad configuration
Connections 11
- Robot operator → v1.5 controller: runs
LF_1.5 - 25inter/code/main.py - Robot operator → v3 PID controller: runs
LF_3.0 - 26inter/code/main.py - Robot operator → v4 firmware: runs
- Line sensors → v1.5 controller: provides readings
LF_1.5 - 25inter/code/main.py - Line sensors → v3 PID controller: provides readings
LF_3.0 - 26inter/code/main.py - v3 PID controller → Drive motors: sets PWM
LF_3.0 - 26inter/code/main.py - v1.5 controller → Drive motors: sets motor pins
LF_1.5 - 25inter/code/main.py - Sensor test → Line sensors: measures discharge
LF_3.0 - 26inter/code/mrdkapojebana.py - ESC test → ESC hardware: sets PWM
LF_3.0 - 26inter/code/ESC testing.py - Library importer → Teensy libraries: scans libraries
KiCad_libs/kicad_lib_importer.py - Library importer → KiCad configuration: updates tables
KiCad_libs/kicad_lib_importer.py