top of page
Recent Posts
Search

Bumperbot

  • Writer: Rory Johnston
    Rory Johnston
  • Apr 25, 2016
  • 1 min read

Pseudocode:

1. Start loop

1. Start motors

2. Sense for touch with touch sensors

3. Stop moving when touched

4. Move back for 1 motor rotation

5. Turn for n rotations

6. End loop after infinite iterations or until stopped

In this challenge we had to make a robot that could move a round the room until it hit an object and then it turns and repeats until we stop it. It was a relatively easy challenge as we have dealt with touch sensors before so it was quite easy. We only had one hiccup and that was that the robot was built with two touch sensors and it was hard to program it to sense both. We worked it out by using two loops that played ant the same time. You can see it here.

Here is a video of it running the program.

I learned how to use two sensors in challenge and that's about it the rest was basic programming that we have already done. In the next challenge I want to get better at doing the psuedocode first because I always make the actual code first.


 
 
 

Recent Posts

See All
Final Project

In this challenge we had to come up with our own challenge. I first decided that I would make a working pendulum clock that was on a...

 
 
 
Challenge 13 design brief

In this final challenge we are supposed to make our own challenge to complete in the upcoming weeks. I decided that I am going to try and...

 
 
 

Comentarios


© 2023 by PlayPlay. Proudly created with Wix.com

bottom of page