mBot Projects
In this lesson, you will learn how to use a loop to accelerate and decelerate. Loops are an important part of developing autonomous programs. The purpose of a robot is to perform a series of tasks. Most tasks are specific to a particular objective. Many tasks include repetitive operations. Robots can perform repetitive tasks all day long.
In this lesson, we are covering the fundamentals for controlling the mBot with the remote. We will cover the button options for driving the robot around. The mBot robot from Makeblock is a good STEM tool. The robot is a motorized vehicle with basic motor controls and sensors. The controller has several sensors, LEDs, and a small speaker.
The mBot robot is useful when teaching math, science, and coding concepts. Once the robot is assembled we begin with the fundamentals. These fundamentals include coding the robot’s microcontroller to activate the motors so mBot moves.
In this article, we pick up where we left of last week. You will learn how to use inputs from the mBot remote to control when the robot runs code. You will learn how to use the button on the robot to do the same operation. In the end, we will combine them into one code block.