انتقل للمحتوى
Robo EgyptRobo Egypt
☰ Course contents
Robo Maker: home
0. Lab tour1
1. The start: the Arduino6
2. Wiring and the traffic light4
3. Inputs: the button4
4. Sound and movement5
5. Sensors and numbers5
6. Distance, the screen and colours5
7. Motors and the car4
8. The project: the city's smart gate3
9. From blocks to C++ code5
10. Sensors and screens in code5
11. Smart systems5
12. Bluetooth: control from the phone1

Turning and the square

Section 7: Motors and the carLesson 7.2 · ⏱ 9 min

To make the car spin in place: one motor forward and the other backward.

🧩 The car draws a square
Blocks: setup — runs once

📌 Another example: a turn to the left

Motor A backward and motor B forward: the car turns in place.

🧩 A turn to the left
Blocks: loop — repeats forever
Turning
Turning
✍️ Practise
The car turns.
✍️ Practise here in the lessonor open the lab in a new page ↗
✍️ Practise
The car draws a square.
✍️ Practise here in the lessonor open the lab in a new page ↗

🎯 Challenge yourself

Easy

A turn to the right.

👀 Show the solution
🧩 Solution
Blocks: loop — repeats forever
In the lab
In the lab

Result: it turns the other way.

Medium

Forward for a second, then stop for a second, and it repeats.

👀 Show the solution
🧩 Solution
Blocks: loop — repeats forever
In the lab
In the lab

Result: it moves and stops.

Hard

A triangle: forward, then a turn, three times.

👀 Show the solution
🧩 Solution
Blocks: setup — runs once
In the lab
In the lab

Result: it moves and turns.

Finished the lesson? Mark it so your progress counts.