Chapter 20 - Module A Wrap Up & Assignment #2

Assignment #2:
 
We built our 1st robot successfully last week; now, we will program the necessary firmware to turn the robot into a path-following robot perfect for a warehouse application.

So your assignment, I will need you to (i) complete some of the "Todo" discussed in the previous chapters, (ii) complete the robot from the skeleton PID control system code found in Chapter 19.
On top of that, you will be tasked to perform some improvements/upgrades as listed below:

  • (Must Do) Chapter 16: Motor direction & speed (RPM) control functions.
  • (Optional) Chapter 17: Old McDonald Tune through the co-processor. (2 codes, I2C master & i2C Slave code).
  • (Optional) Chapter 18: Proximity Sentry Alarm
  • (Must Do) Complete the line following robot by supplying the Stepper motor IPC API to the PID controller - Chapter 19.
  • (Good to Do) Add in a feature so that when the line following robot reaches the end of the path (assuming non-close-loop path), it will perform a 360° turn & continue to travel in the opposite direction.
  • (Optional) Additional safety features are required when using this robot in a warehouse situation. Obstacle avoidance (Human) might be a nice feature to have.
  • (Optional) Maybe give an early warning to said obstacle (Human) to get out of the way.
  • (Pro-Optional) Is it possible to program the robot to handle paths that cross each other?



 How & when to submit your assignment?

Upload a video of your completed Line following robot to  YouTube & the source code to your robot onto your  Github repository.
Please remember to state your name & the program you are attending when sending the links to us via  email: tomato@tomatocube.com

We will have a discussion on Assignment #2 before the next workshop.

Check your assignment due date from the following link:
 Ongoing C3 CoreModule Robotic Kit workshop