Skip to content

bluecube/line_follower

Repository files navigation

Line follower v2

This is a robot I made to tinker with and to compete in the Robotic Day competition. (Actually the original goal was Robotic Day 2016, but stuff got delayed :) )

The design is an attempt to make a line follower with minimum effort on the hardware side and maximum versatility on the software side.

The robot body consists of a 8cm x 10cm double sided PCB, two geared N20 DC encoder motors with Pololu wheels and magnetic encoders and a few 3D printed bits. The most important electronic components are ESP32 development board for computing power and line sensor inspired by Ondřej Staněk's PocketBot, as a bonus the robot also carries an IR range sensor and MPU 6050 breakout board (accelerometer and gyro).

This repository should contain everything necessary to build and run the robot in the competition. Let me know if you decide to build it!

Render of the robot

Currently in the middle of a rework. See v1 for the most useable version so far.

Changes for version 2:

  • Motors with encoders
    • Previous version had problems with unpredictable acceleration, since the motors are fast and relatively under-torqued for the robot.
  • Bluetooth support with ESP32
  • Removable front armor, allowing the robot to take place in sumo competitions as well
  • Visible light line sensor, hopefully simplifying debugging
  • Whole deck is a (stop) button now
    • improvement over the hard to press wobbly button from v1.
  • Enough space on the deck to place race start number sticker.