H2 is a 250g, 13 x 18cm line-following robot. It uses an Arduino UNO (though I personally use a clone), a DRV8833 H-bridge, and 200 RPM DC motors. It employs three infrared sensors to follow white or black lines using a four-state conditional algorithm (centered, smooth turn, sharp turn, and lost) with smooth transitions between states, memory, and an LED indicator. It works well at low speeds, but to reach its full potential it requires manual adjustments and pre-calculations that I haven't yet implemented in the code.
Youtube video of the line follower:
https://youtu.be/Mmyuy7dJdA0?si=KJlt16CRo21BB0r7