لماذا تحتاج إلى Driver
لا تستطيع المنافذ تشغيل المحركات؛ استخدم ترانزستورًا أو Driver.
لماذا تحتاج إلى Driver درس مجاني في Arduino & IoT Academy على CoddyKit. هذا هو الدرس 1 من أصل 4. يمكنك قراءة الدرس كاملاً أدناه مجاناً — ثم تمرن عليه مباشرة في المتصفح باستخدام محرر أكواد مدمج ومدرس ذكاء اصطناعي متاح 24/7. هذا الدرس جزء من مسار التعلم في Arduino & IoT Academy، وتقدمك يتزامن عبر الويب وتطبيق CoddyKit. تتضمن دورة Arduino & IoT Academy 4 دروس في المجموع.
بعض أجزاء هذا الدرس لم تُترجم بعد وتظهر باللغة الإنجليزية.
Pins Are Tiny
An Arduino pin can only push a few milliamps. That is plenty for an LED, but a motor wants far more current than a pin can ever supply. ⚡
What a Motor Demands
Even a small DC motor can pull hundreds of milliamps when starting. Connect it straight to a pin and you risk frying your board instantly.
Enter the Driver
A driver is a middleman. Your pin sends a tiny control signal, and the driver switches a much bigger current from a separate power supply.
The Transistor as a Switch
The simplest driver is a single transistor. A small voltage on its base lets a large current flow through, like a faucet your pin gently opens.
Separate Power for the Motor
The motor draws from its own supply, not the Arduino's 5V. The pin only flips the transistor, so the heavy current never touches your board.
Share a Common Ground
The motor supply and the Arduino must share one ground. Without a common reference, the transistor never sees a clean on or off signal.
Driving It in Code
To your sketch, a transistor driver looks just like an LED. You set a pin HIGH to run the motor and LOW to stop it.
pinMode(9, OUTPUT);
digitalWrite(9, HIGH); // motor on
digitalWrite(9, LOW); // motor offMOSFETs for Bigger Loads
For heavier current a logic-level MOSFET is the go-to switch. It wastes little energy as heat and handles motors a small transistor cannot.
Ready-Made Driver Modules
You rarely wire transistors by hand. A driver module packs the switching parts onto one tidy board you simply plug into.
One Direction Only
A single transistor can turn a motor on and off, but it spins only one way. To reverse a motor you need more, which the next lesson covers. 🔄
Why It Keeps Boards Alive
The whole point of a driver is isolation: it lets a fragile 5V pin command a powerful load without ever risking the Arduino itself.
Quick Check
Why can't you connect a DC motor directly to an Arduino output pin?
Recap
Pins are weak, motors are hungry, so a driver like a transistor or MOSFET switches a separate supply. Share ground and you protect your board. 🚀
الأسئلة الشائعة
هل درس «لماذا تحتاج إلى Driver» مجاني؟
نعم — نص درس «لماذا تحتاج إلى Driver» كامل متاح مجاناً هنا على الويب. لتمرينه بشكل تفاعلي (محرر أكواد مدمج ومدرس ذكاء اصطناعي متاح 24/7) وفتح باقي دورة Arduino & IoT Academy، انتقل إلى CoddyKit PRO. تتضمن دورة Arduino & IoT Academy 4 دروس في المجموع.
ماذا ستتعلم في «لماذا تحتاج إلى Driver»؟
لا تستطيع المنافذ تشغيل المحركات؛ استخدم ترانزستورًا أو Driver. تتمرن على Arduino & IoT Academy مع أكواد عملية تشغلها مباشرة في المتصفح، ومدرس ذكاء اصطناعي متاح 24/7 يجيب على أسئلتك أثناء عملك.
هل أحتاج إلى خبرة سابقة لأبدأ Arduino & IoT Academy؟
لا تُشترط خبرة سابقة. Arduino & IoT Academy على CoddyKit منظم للمبتدئين حتى المتقدمين، لذا يمكنك البدء من هنا أو من البداية والتقدم بسرعتك الخاصة. هذا هو الدرس 1 من أصل 4.
كم من الوقت يستغرق درس «لماذا تحتاج إلى Driver»؟
معظم دروس CoddyKit تستغرق حوالي 5–10 دقائق. كل منها موجز وتفاعلي، لذا تحرز تقدماً مستمراً وتستأنف من حيث توقفت عبر الويب والتطبيق.
هل يمكنني كتابة وتشغيل أكواد في درس Arduino & IoT Academy هذا؟
نعم. كل درس في Arduino & IoT Academy يتضمن محرر أكواد مدمج، لذا تكتب وتشغل أكواداً حقيقية مباشرة في متصفحك وتحصل على تعليقات فورية من الذكاء الاصطناعي — بدون إعداد محلي.
جميع الدروس في هذه الدورة
- لماذا تحتاج إلى Driver
- السرعة والاتجاه باستخدام H-Bridge
- تبديل أجهزة التيار العمومي باستخدام Relay
- الحماية من نبضات Flyback