Program the Crab Bot

You've built the Crab Bot. Learn how to program the sensors to detect light, and then use variables, if statements, and loops to program the Crab Bot to move away from light, just like a nocturnal crab. You can also learn how to program the Smart Inventor Board's LEDs.
Crab robot cover Crab robot cover

This lesson works with:

Rokit Smart
Arduino
  • arduino
  • computer science
  • Crab
  • programming
  • robotics
  • Rokit Smart
  • sensors

Grade level:

3 - 12+

Approx. time required:

30 - 45 mins
You are offline. Basecamp running in offline mode.