Ballo

GOALS: create a robot that uses a color sensor to follow a line
SKILLS: CAD, ESP32, Python, Laser Cutting

This week's design prompt for my Robotics class was to create a line following robot that operates using color sensors. The night after this prompt was announced, my friend became the proud parent of a Sphero and I was really jealous and wanted my own.

Hardware

I designed the robot using Fusion360 and fabricated it mostly through 3D printing with a little bit of laser cutting acrylic.

Color Sensing


The color sensors are aligned vertically and slightly offset from each other. This way, when it detects the white background it knows that it is off the line, but also it is still able to dectect when the line changes colors.

My partner Kilder wrote the majority of the code, but here's what it looks like:


see the code!

Challenges & Future Improvements

  • Designing everything to fit within the ball was hard, but not in the sense that there was not enough space. It was actually the fact that there was too much space above and below the internal robot that made things difficult, and designing it to be stable, but mobile inside was definitely a challenge. My solution to this was to put a wheels above the main robot to fill up space above the robot.
  • Even after all that, when we tested the robot we saw that the center of gravity was too high and instead of wanting to roll vertically, it wanted to roll horizontally. I think we're just gonna let it be a horizontal robot now.