Close

Time for software!

A project log for Advanced Line Follower Robot

Advanced line following robot, built with ESP32 and 32-bit sensor.

vojtch-glombekVojtěch Glombíček 09/19/2024 at 16:370 Comments

The hardware side is mostly functional by now. We're still going to make a third version with all the issues ironed out, but now we can focus on writing the algorithms to make it into an actual line-follower.

The software stack

The robot is controlled by ESP32-S3, a powerfull microcontroller with WiFi capability.

It can run in standalone mode, with a PID controll loop using data read from the sensor.

The ESP32 also acts as a web-server, and by connecting to it from a browser we can have a big control panel on our computer.

This control panel is connected with the ESP32 via webSocket, so all measured data is transfered in realtime and a lot of the processing can be done on browser side in Javascript

Control panel features

To Do: 

The software for this robot is nowhere near done yet.

Most importantly we need to implement the PID control loop to make it follow a line, but there are other features we want to make.

The displayed map should basically have a scan of the track done by the robot's sensor, along with other visual data.

We also want to make the algorithm more advanced than simply following a line, for example handling intersections etc. 

Discussions