top of page
Recent Posts

Don't fall off the edge

In this challenge we had to make a robot that would roam around the table and would stop at the edge and would then turn around and continue on until the next edge and it would repeat.

Psuedocode:

1.Start loop

2. Run motors

3. Wait for colour sensor to sense black

4. Reverse for 1 rotation

5. Turn for 90 degrees

6. Repeat loop until told to stop

This is what the code actually looks like.

Making this robot was actually quite fun because we worked with a different design than the regular rubber wheel design. We gave this robot tank treads, even though it was pretty loud when it was running, it was totally worth it. Here's it running.

We didn't really run into any problem in this process, the building and coding all went pretty smoothly. This was also all review for me as I have worked with colour sensors before. For the next challenge I want to update the robots design to the wheels aren't rubbing together and perhaps make it a little less front heavy.


bottom of page