AshishA26 / STM32-LaneKeeper

🚘 Lane Keeping robot using an STM32, PlatformIO, and I2C communication protocol.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

STM32-LaneKeeper

A robot that autonomously navigates and lane keeps a course. It uses 4 color sensors on the bottom of the vehicle and is currently programmed to stay between the 2 red lines (which acts as a lane), and stop at the dark green (which acts as a parking spot).

Programmed in PlatformIO using an STM32, a custom PID control loop for DC motors, and I2C communication protocol.

Some very short demos below (click on each one to visit the full video): Link to youtube video Link to youtube video

Images

The STM32-LaneKeeper: LaneKeeper1

The underside of the robot: LaneKeeper3

The demo track I created for this project: TrackPic

For more images, please see the images folder of this repo.

Demos

2 different demos of the PID control loop in action attempting to match the speed of both wheels to the actual desired speed. The first is when the vehicle was placed on the ground, the second was while the vehicle was in the air. MotorsOnGround MotorsInAir

Schematics

  • Coming soon!

About

🚘 Lane Keeping robot using an STM32, PlatformIO, and I2C communication protocol.


Languages

Language:C++ 97.1%Language:Processing 2.2%Language:C 0.6%Language:CMake 0.2%