MR. VAN IS UNABLE TO GET THE CAR TO WORK PROPERLY WITH OUR ARDUINO SOFTWARE. BECAUSE OF THIS, I ASK YOU GUYS TO COMPLETE THE PROJECTS THROUGH THE APP ON YOUR PHONE CALLED "ElegooKit". IT IS BLOCK CODING, SO IT SHOULDN'T BE TOO HARD, BUT EXPECT TO WRITE YOUR CODE PROPERLY WHEN MR. VAN SORTS THIS ALL OUT!
For all of the the car projects, you are welcome to work with a partner - however, this will be taken into consideration when marking. My expectations are higher. You will need to build the car before you start these projects.
Below is an image of the maze that your robot must escape from:
Previously, you learned how to use an H-bridge to make two DC motors spin, and this allowed us to simulate the drivetrain of a robot. With this, it allowed for the robot to go forward, backwards, left, and right.
Your task is to program your robot to:
Move forward 2 units
Turn left
Move forward 2 units
Turn right
Move forward 1 unit
Turn right
Move forward 4 units
Stop
It is up to you to determine how much a "unit" is. I don't have an actual maze that your robot can go through unfortunately ☹️
Code that has the robot move forward, turn left, and turn right:
Total:
Extension: when the robot reaches the end of the maze, it stops and reverses back along the same path
Total:
90%
90%
10%
100%
When you are ready to submit your project, submit your code and pictures of your project to Google Classroom under Project 9.
YOU MUST SHOW ME YOUR PROJECT BEFORE YOU SUBMIT IT!