انتقل للمحتوى
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

What is the Arduino?

Section 1: The start: the ArduinoLesson 1.1 · ⏱ 7 min

The Arduino is a very small computer on one board. We write it a program, and it controls LEDs, buzzers and motors, and reads sensors. It is the robot's “brain”.

  • Digital pins 2 to 13: we connect LEDs, buttons and the buzzer to them.
  • Analog pins A0 to A5: we use them to read sensors that give numbers.
  • 5V and GND: positive and negative, like the two ends of a battery.

In Robo Maker you program the Arduino with blocks or with code, connect the parts with wires on the bench, then press ▶ Start.

📌 Another example: the Arduino turns on, then off

In setup: turn pin 13 on, wait two seconds, then turn it off. This happens only once.

🧩 The Arduino turns on, then off
Blocks: setup — runs once
In the first two seconds: on
In the first two seconds: on
After them: off forever
After them: off forever
✍️ Practise
Watch a solved example: a blinking LED. Run it and read the blocks.
✍️ Practise here in the lessonor open the lab in a new page ↗

🎯 Challenge yourself

Easy

Turn on the LED on pin 13 from inside loop.

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

Result: it lights up and stays on.

Medium

Write LOW instead of HIGH. What happens?

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

Result: it stays off: LOW means no electricity.

Hard

Turn the LED on for only three seconds at start, then turn it off.

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

Result: it lights for 3 seconds, then goes off.

Finished the lesson? Mark it so your progress counts.