Introduction

During this activity, students practice their mBot programming skills by guiding mBot through various parking scenarios, including finding a parking space, parallel parking, and perpendicular parking. Additionally, students learn how to use the IR transmitter and receiver (built into mCore) to send and receive messages from one mBot to another. Students use mBot-to-mBot communication to simulate a traffic light and to prevent head-on collisions between mBots.

Objectives

  • Practice writing, running, and troubleshooting mBot code.
  • Learn how to use the “send mBot’s message” and “mBot’s message received” blocks to communicate from one mBot to another.