Bu yazıyı Türkçe okuyun · Leer en español
A lamp that lights up when you press a button, a night light that switches on by itself when it gets dark, or a little robot that turns away when it meets an obstacle… You can build all of these at home or at school with just a few parts. At the heart of these projects there is usually the same small board: Arduino. In this post I explain in plain language what Arduino is, how it works and what you can do with it.
Video walkthrough
If you prefer watching to reading, the video version of this post is below (narration in Turkish, with English subtitles). To hear about new videos, you can subscribe to my YouTube channel.
What is Arduino?
Arduino is an easy-to-program electronics development board with a small computer chip (a microcontroller) on it. You write code on your computer and upload it to the board; the board then runs that code to control lights, motors, sounds and sensors.
Arduino was created in Italy in 2005 so that design students could build electronics projects easily. Today it is used all over the world by students, teachers, engineers and hobbyists. Its best-loved features are:
- It is cheap: The board itself and compatible boards are affordable.
- It is open source: The board’s design and software are open to everyone, so there are thousands of ready-made examples and libraries.
- It is easy: Even a child who has just started coding can make an LED blink on the first day.
- It does not need a computer: Once the code is uploaded, the board runs on its own with a battery or an adapter.
The most popular model is the Arduino Uno. All the projects on this site are built with an Arduino Uno.
Parts of the Arduino Uno

It may look complicated at first, but there are only a few main parts on the board that you need to know:
| Part | What does it do? |
|---|---|
| USB port | Connects the board to the computer. It uploads the code and also powers the board. |
| Power jack (DC) | Used to run the board without a computer, from a 7–12 V adapter or a battery. |
| Microcontroller (ATmega328P) | The brain of the board. The code you upload is stored and runs here. |
| Digital pins (0–13) | For on/off (1 or 0) signals, such as lighting an LED or reading a button. The pins marked ~ (3, 5, 6, 9, 10, 11) can also set brightness and speed with PWM. |
| Analog pins (A0–A5) | Read changing values such as the amount of light, temperature or the position of a potentiometer. They give a number between 0 and 1023. |
| Power pins (5V, 3.3V, GND) | Supply power to sensors and modules. GND is the negative (ground) side. |
| Reset button | Restarts the code from the beginning. |
| Built-in LED (L) | A small LED connected to pin 13. The first test code usually makes it blink. |
How does Arduino work?

Arduino actually works a lot like we do. It follows three steps:
- Input (sensing): Arduino “feels” the world through sensors. Was a button pressed? Is it dark? Is there an obstacle ahead? Is the soil dry?
- Processing (deciding): The code you wrote looks at this information and makes a decision. For example: “If it is dark, turn on the lamp.”
- Output (acting): Arduino carries out its decision with parts such as an LED, a buzzer, a motor or a display.
This loop repeats thousands of times per second. That is why an alarm you build with Arduino sounds the moment its sensor detects movement.
How do you write and upload code?

To write code for Arduino you use the free Arduino IDE program (you can download it from arduino.cc). There are three steps:
- Write: You write the code in the Arduino IDE. The Arduino language is based on C/C++, but it is quite simple.
- Upload: You connect the board to the computer with a USB cable and press the Upload (right arrow) button.
- Run: The code is written to the board and starts running right away. Even if you unplug the cable, the code stays on the board.
Every Arduino program has two main parts:
setup(): Runs once when the board starts. This is where you say which pins are inputs and which are outputs.loop(): Repeats over and over aftersetup()finishes. The main work of the program happens here.
Here is the first code every Arduino user writes. It turns the board’s built-in LED on for one second and off for one second. You don’t need any extra parts for it:
// Blink: turns the board's built-in LED on and off
void setup() {
pinMode(LED_BUILTIN, OUTPUT); // make the LED on pin 13 an output
}
void loop() {
digitalWrite(LED_BUILTIN, HIGH); // turn the LED on
delay(1000); // wait 1 second
digitalWrite(LED_BUILTIN, LOW); // turn the LED off
delay(1000); // wait 1 second
}
Change the number in delay(1000) to 200 and upload it again: you will see the LED blink much faster. Congratulations, you have just changed your first program!
What is Arduino used for?

What you can do with Arduino is limited almost only by your imagination. The most common uses are:
- Robotics: Obstacle-avoiding, line-following and remote-controlled robots.
- Smart home: Lights that switch on when they detect movement, keypad door locks, fire and gas alarms.
- Smart farming: Plant systems that warn you, or water the plant by themselves, when the soil gets dry.
- Measurement and science experiments: Devices that measure temperature, humidity, distance and light; collecting data in science lessons.
- Games and music: Reaction games, electronic dice, a mini piano.
- Education: It teaches coding, electronics, maths and problem solving at the same time. That is why it is one of the best-loved tools in STEM lessons.
When students work with Arduino, they don’t only learn to code; they also learn to break a problem into parts, to try things out, to find and fix mistakes and to turn an idea into a real product.
What do you need to get started?
You don’t need a big budget for your first projects. You can start with these parts:
| Part | Why do you need it? |
|---|---|
| Arduino Uno (or a compatible board) | The brain of the project |
| USB cable | To upload code and power the board |
| Breadboard | To build circuits without soldering |
| Jumper wires | To connect the parts together |
| LEDs and 220 Ω resistors | For your first light projects |
| Button, buzzer, potentiometer | For interactive projects |
| A computer and the Arduino IDE | To write code (free) |
Most of these parts are sold together as an “Arduino starter kit”; for beginners this is the most practical option.
Frequently asked questions
From what age can children learn Arduino?
Children who read and write comfortably, from about 9 years old, can start with an adult’s help. For younger children it is better to start with block-based coding tools.
Can you use Arduino without knowing how to code?
Yes. The best way to learn is to start with ready-made example code and make small changes. In the projects on this site, every line of code is explained.
Is Arduino dangerous?
Arduino runs on low voltages such as 5 V, so it is safe. Still, projects connected directly to mains electricity (220–240 V) should only be done under adult supervision and with suitable modules.
Should I buy an original board or a compatible one?
Compatible (clone) boards work the same way and are cheaper. For some of them you may need to install the CH340 driver so that your computer recognises the board.
What’s next?
Now you know what Arduino is and how it works. Time to build your first project! On the Projects page you will find Arduino projects from beginner to advanced level, each with a parts list, a wiring diagram and ready-to-use code. I suggest starting with the Arduino Traffic Light with a Pedestrian Button. To choose where to start, see the Getting Started with Arduino page, where all projects are sorted from easy to hard.
You can write your questions in the comments. Happy coding!

“What Is Arduino? How It Works and What It’s Used For” için 10 yorum