
Arduino IDE كيفية برمجة اردوينو برو ميكرو بواسطة برنامج

لوحة اردوينو برو ميكرو لوحة تتميز بصغر الحجم والسعر الرخيص، بالاضافة ان بها عدد قليل من المنافذ سواء منافذ رقمية او تناظرية مما يجعلها مناسبة للمشاريع الصغيره والبسيطة التى لا تحتاج الى كثير من المنافذ.
الفيديو الخاص بالمشروع
مقدمة
في هذا الدرس، سوف نتعلم كيفية برمجة لوحة اردوينو برو ميكرو باستخدام برنامج Arduino IDE. وسنقوم برفع كود برمجي بسيط لتشغيل وإطفاء مصباحان LED موجودان على لوحة اردوينو برو ميكرو لفترات زمنية ثابتة ومتتابعة.

الحصول علي القطع
: يمكنك شراء لوحة اردوينو برو ميكرو من متجر ڤولتات
Arduino Pro Micro
الشرح
فى البداية، قم بتشغيل برنامج Arduino Ide، وقم بالضغط على خانة Tools فى اعلى واجهة البرنامج ومن ثم اضغط على Board واختر من القائمة التى ستظهر Arduino AVR Boards ومن القائمة التى ستظهر اختر اللوحة او الاصدار الذى تريد برمجته وفى حالتنا هذه سوف نختار Arduino Micro :

ومن ثم قم بتوصيل لوحة اردوينو برو ميكرو بالحاسوب وقم بالضغط على خانة Tools فى اعلى واجهة البرنامج ومن ثم اضغط على Port واختر من القائمة التى ستظهر منفذ ال COM المتصل به لوحة اردوينو برو ميكرو ويختلف رقم منفذ ال COM هذا باختلاف منفذ الUSB المتصل به اللوحة فى الحاسوب، بالنسبة لى قمت بتوصيل لوحة اردوينو برو ميكرو فى منفذ COM8 ولذلك سوف اختار هذا المنفذ :

يمكنك الان رفع اى كود برمجى تريده على لوحة اردوينو برو ميكرو، سنقوم برفع كود برمجي بسيط لتشغيل وإطفاء مصباحان LED موجودان على لوحة اردوينو برو ميكرو لفترات زمنية ثابتة ومتتابعة، يمكنك تحميل هذا الكود من جزء المصادر فى نهاية الدرس.

بعد رفع الكود البرمجى ستجد ان المصباحان يتبادلان الاضاءة لفترات زمنية ثابتة كما فى ال GIF الذى فى الاسفل :

ملحوظة :
يمكنك تطبيق نفس الخطوات السابقة على لوحة اردوينو ميكرو، حيث ان اردوينو برو ميكرو يعتمد على نفس الميكروكنترولر الخاص باردوينو ميكرو ولكن بحجم لوحة اصغر وعدد منافذ طاقة اقل.
مشاريع ذات صلة
Comments

How to program Arduino Pro Micro using Arduino IDE

Arduino Pro Micro is a small size and cheap price board, it has a limited number of pins, both digital and analog, which makes it suitable for small and simple projects that don’t require many pins.
Project video
Oveview
In this lesson, we will learn how to program the Arduino Pro Micro board using the Arduino IDE software. We will upload a simple code to turn on and off two LED lights that exist on the Arduino Pro Micro board at fixed and consecutive time intervals.

Getting the items
You can buy the Arduino Pro Micro board from Voltaat Store :
Arduino Pro Micro
steps
First, run the Arduino Ide program, click on the “Tools” tab at the top of the screen, then click on “Board” and choose “Arduino AVR Boards” from the list that will appear, and from the list that will appear choose the board or version that you want to program. In our case, we will choose “Arduino Micro”:


You can now upload any code you want to the Arduino Pro Micro board. We will upload a simple code to turn on and off two LED lights on the Arduino Pro Micro board for fixed periods of time. You can download this code from the Resources section at the end of this lesson.

After uploading the code, you will notice that the two LEDs alternate in lighting up for fixed periods of time, as shown in the GIF below.

note:
You can apply the same previous steps to program the Arduino Micro board, as the Arduino Pro Micro is based on the same microcontroller as the Arduino Micro, but with a smaller board size and fewer power pins.