3. Lesson 3

../_images/3_1.jpg

3.1. Introduction

Welcome to the Micro: bit Smart Car Tutorial!In this course, we will explore the Micro: bit and learn how to control the Micro: bit car in programming.

3.2. Teaching Objectives

Let student master the movement principal of Mecanum wheels, and understood how to move the car forward, backward, or left, right by controlling the motors.

3.3. Understanding the Mecanum wheels

../_images/3_2.png

Mecanum wheels are formed with multiple rollers. The distribution of rollers with separate the wheels into two pairs. Wheels in diagonal position have the same roller distribution.

../_images/3_3.png ../_images/3_4.png

When the wheels spin, the roller will carry out a horizontal movement. Wheels with different direction of roller will bring the wheels to another side.

4 Mecanum wheels will connect to 4 different motors, and different direction of spinning of 4 motors decide which direction the car will go.

3.4. Principal of the wheels

1. When 4 wheels are spinning forward, the care will move forward.

../_images/3_5.jpg

2. When 2 pair of diagonal wheels spinning in reverse direction,the car will translate toward left or right.

../_images/3_6.png

3. When 1 pair of diagonal wheels spinning in same direction,the car will move diagonally.

../_images/3_7.png

4. When 1 side of wheels (left or right) spinning in same direction,the car will turn toward opposite side.

../_images/3_8.png

5. When 2 side of wheels (left and right) spinning in reverse direction,the car will spin on the original location.

../_images/3_9.png

6. When front wheels (left and right) spinning in reverse direction, the car will spin with trail as the center.

../_images/3_10.png