عتاد مفتوح المصدر يلتقي بخيالك! ستتعلم في هذه الورشة ما هو Arduino، وتحصل على قائمة المكونات، وتوصل دائرتك الأولى، وتكتب الشيفرة، وتُحيي روبوتك!
The gateway to the physical world of computing!
Arduino is a small, affordable microcontroller board that you can program to control lights, motors, sensors, and all kinds of electronic components. It's like a tiny brain for your inventions!
What makes Arduino special? It's مفتوح المصدر 100% — both the hardware design and the software. Anyone can build, modify, and improve Arduino boards. This is why they're so affordable ($5–$30) and so widely used.
Arduino was created in 2005 by a team of Italian engineers at a design institute in Ivrea, Italy. They wanted to give students an easy, affordable way to create interactive projects. Now it's used by millions of people worldwide — from 9-year-old kids to NASA engineers!
Think of Arduino like a very simple robot brain:
1. الإدخال: Arduino reads data from sensors (temperature, light, distance, touch, sound)
2. المعالجة: Your code (program) tells Arduino what to do with that data
3. الإخراج: Arduino controls things (turn on LED, spin motor, play sound, display text)
Everything to build your first 5+ projects!
The Arduino Starter Kit (~$30–$50) تتضمن كل ما سبق بالإضافة إلى دليل يحتوي على 15 مشروعًا. أو اشترِ Elegoo Super Starter Kit (~$35) — مجموعة رائعة متوافقة مع Arduino وبها قطع أكثر! جميعها متوافقة مع المصدر المفتوح.
Unlike Raspberry Pi, Arduino doesn't run an operating system. It runs ONE program at a time, which makes it perfect for controlling physical things. And because it's open-source hardware, clones cost as little as $3–$5 and work exactly the same!
From blinking an LED to building a distance alarm!
Every programmer's first code is "Hello World." In hardware, the equivalent is blinking an LED. إذا استطعت جعل LED يومض، فبإمكانك التحكم بأي شيء!
What you need: Arduino board, USB cable, 1 LED, 1 resistor (220Ω), 2 jumper wires, breadboard.
Steps:
1️⃣ وصّل مصباح LED من جهة long leg (+) through a 220Ω resistor to الطرف 13
2️⃣ وصّل مصباح LED من جهة short leg (-) to GND (الأرضي)
3️⃣ وصّل Arduino بالحاسوب عبر USB
4️⃣ Open Arduino IDE and paste this code:
5️⃣ Click Upload (زر السهم →) في Arduino IDE
6️⃣ Watch your LED blink! 🎉
setup() runs ONCE when Arduino starts — we set pin 13 as an output.
loop() runs FOREVER in a loop — we turn the LED on, wait, turn it off, wait, repeat!
delay(1000) = انتظر 1000 مللي ثانية = ثانية واحدة. جرّب تغييرها إلى 200 for fast blinking!
You just wrote code that controls a physical object in the real world! This is the foundation of robotics, IoT, and embedded systems. Everything from traffic lights to Mars rovers works on this same principle!
والآن لنتحكم بـ 3 مصابيح LED to simulate a traffic light — red, yellow, green — just like a real one!
What you need: 3 مصابيح LED (أحمر وأصفر وأخضر)، و3 مقاومات (220Ω)، وأسلاك توصيل، ولوحة تجارب.
أضف زر ضغط — عند ضغطه تصبح إشارة المرور حمراء (مثل زر عبور المشاة!). تلميح: استخدم digitalRead() to read the button state.
نستخدم الآن sensor! يقيس مستشعر الموجات فوق الصوتية HC-SR04 المسافة باستخدام الموجات الصوتية، كالخفاش! عندما يقترب شيء أكثر من اللازم، يُطلق الجرس إنذارًا!
What you need: HC-SR04 ultrasonic sensor, buzzer, LED, resistor, jumper wires.
This is the same technology used in car parking sensors! Try changing 20 to different distances. Try making the buzzer frequency change based on distance (closer = higher pitch).
بمجرد إتقان الأساسيات، تصبح الإمكانات بلا حدود.
Buttons + buzzer = a tiny musical keyboard!
Beginnerقياس الحرارة والرطوبة وعرضهما على LCD
Intermediateمحرّكات + مستشعر مسافة = سيارة صغيرة ذاتية القيادة!
IntermediateSoil moisture sensor auto-waters your plants
BeginnerKeypad + servo motor = secret door lock!
Intermediateلعبة ذاكرة بمصابيح LED وأزرار
BeginnerBuild your own radio receiver!
متقدمServo motors controlled by joystick
متقدمColorful programmable LED animations
BeginnerControl lights & fans with your phone!
متقدمThe Arduino IDE (Integrated Development Environment) is where you write, compile, and upload code to your Arduino board. It's مجاني ومفتوح المصدر 100%!
Download for any platform at arduino.cc/en/software — works on Linux, Windows, and macOS!
Arduino is low-voltage (5V) and safe for kids. But: never connect to mains electricity (wall sockets)! Never short-circuit the board. Always disconnect USB before changing wires. Ask an adult for help with soldering.
You've just entered the world where software meets the physical world. Arduino is just the beginning — Raspberry Pi, RISC-V, 3D printers, drones — all powered by open-source hardware. The future is yours to build!
«وَأَلَنَّا لَهُ الْحَدِيدَ»
«وأَلَنّا له الحديد» — Arduino ييسّر الإلكترونيات للجميع. اصنع وابتكر وشارك! ✨