شرح طريقة تحكم step motor من خلال الاردوينو Arduino
Summary
TLDRIn this informative tutorial, the presenter introduces the Stepper Motor, a type of motor that differs from conventional motors like DC, Servo, or Arduino motors. The video demonstrates how to connect the Stepper Motor to an Arduino board, using a simple code provided in the video description. The presenter explains the motor's four pins and how to power it with 5 or 12 volts. The tutorial also covers controlling the motor's speed and rotation, with practical examples of its applications. The video concludes with a clear demonstration of the motor's movement and a reminder to check the video description for the code and further questions.
Takeaways
- 📚 The video is an educational tutorial on how to use a stepper motor, which is different from conventional motors like DC, servo, or stepper motors.
- 🔧 The stepper motor consists of four ports, which can be powered with a 5V or 12V supply to operate the board or the developer.
- 🤖 The connection of the stepper motor to the Arduino board is straightforward, as demonstrated in the video with a provided code example.
- 🔌 The video explains how to connect the motor to the Arduino board using specific pins and a set of cables.
- 💡 The tutorial includes a step-by-step guide on how to power the motor through the Arduino board and the necessary connections for 5V and 12V supplies.
- 🛠️ The video mentions that the motor's speed and the number of rotations can be controlled using the provided code.
- 🔄 The stepper motor can be used in various applications, as shown in the video with an example of its movement.
- 📝 The script provides a code snippet that viewers can download from a link mentioned in the video description.
- 🔢 The code allows for customization, such as changing the speed and the number of motor rotations, which is explained in the video.
- 🔀 The video also discusses the possibility of using a 12V external power source for the motor instead of 5V.
- 🗣️ The presenter invites viewers to ask questions or seek further clarification if needed and provides a greeting and closing remark.
Q & A
What is the main topic of the video?
-The main topic of the video is explaining how to use a stepper motor, specifically the 'stepper motor,' which is different from other motors like DC, servo, or stepper motors.
What are the components of a stepper motor according to the script?
-A stepper motor consists of four terminals, which are connected to a board or a developer to operate with a voltage of 5 or 12 volts.
How is the stepper motor connected to the Arduino board as shown in the video?
-The stepper motor is connected to the Arduino board using a set of wires. The first terminal is connected to pin 8, the second to pin 9, the third to pin 10, and the fourth to pin 11 on the Arduino board.
What is the purpose of connecting the stepper motor to the Arduino board?
-The purpose is to control the stepper motor's speed, direction, and the number of rotations using the Arduino board and the provided code.
Where can the viewers find the code used in the video?
-The code can be found on the screen during the video and is also available through a link provided in the video description.
What is the voltage used to power the stepper motor in the video?
-The stepper motor is powered with a 5-volt supply, but the video also mentions the possibility of using a 12-volt external power source.
How can the speed and number of rotations of the stepper motor be controlled?
-The speed and number of rotations can be controlled by changing the values in the code that is uploaded to the Arduino board.
What is the function of the 'steps' variable mentioned in the script?
-The 'steps' variable determines the number of steps the stepper motor will take during one complete rotation.
What are the potential applications of the stepper motor as hinted in the video?
-The stepper motor can be used in various applications where precise control of movement is required, as indicated by the demonstration of its movement in the video.
How can viewers get help if they have questions or inquiries about the stepper motor?
-Viewers can contact the presenter with their questions or inquiries, as mentioned at the end of the video.
What is the presenter's intention for the next video?
-The presenter intends to explain the differences between the servo motor, stepper motor, and DC motor in a future video.
Outlines
🔧 Introduction to the Stepper Motor and Its Basic Setup
This paragraph introduces the topic of stepper motors, explaining how they differ from other motors like DC, servo, or servo motors. The speaker plans to demonstrate the use of a stepper motor in a future video, contrasting it with other motors. The stepper motor is described as having four terminals that can be connected to an Arduino board with a simple code provided on the screen or through a link in the video description. The speaker details the process of connecting the motor to the Arduino board, specifying the pins used for the connection and how to power the motor through the board. The video also mentions the possibility of using different voltages for the motor and how to control its speed and rotation.
📘 Additional Information on Motor Types and Usage
The second paragraph provides additional information on motor types, specifically stepper motors, and their usage. It mentions that stepper motors, like DC or servo motors, come with a board and a set of wires, and the speaker has previously explained their use in a separate video tutorial. The link to the tutorial is provided, along with the code necessary for the setup. The speaker invites viewers to ask questions or seek clarification if needed, emphasizing the importance of communication and understanding. The paragraph concludes with a respectful greeting and sign-off, wishing peace and mercy upon the viewers.
Mindmap
Keywords
💡Stepper Motor
💡Arduino Board
💡Voltage
💡Pins
💡Code
💡Speed Control
💡Rotation
💡External Power Source
💡Connections
💡Motor Driver
💡Simplicity
Highlights
Introduction to the Stepper Motor and its distinction from other motors like DC, Servo, and the Arduino motor.
The Stepper Motor is composed of four ports, which can be powered by a 5 or 12-volt supply.
Connection of the Stepper Motor to the Arduino board is straightforward and requires basic wiring.
The code for controlling the Stepper Motor is available on the screen and can be downloaded from a link provided in the video description.
Detailed explanation of how to connect the Stepper Motor to the Arduino board using specific pins.
Demonstration of powering the motor through the Arduino board with a 5-volt supply.
Explanation of the wiring process from the motor's ports to the Arduino board's specific pins.
The ability to control the motor's speed and the number of rotations using the provided code.
The motor's movement can be adjusted and customized through the code.
The potential for the Stepper Motor to be used in various applications is highlighted.
The motor's movement can be fine-tuned by adjusting the code parameters.
The possibility of using a 12-volt external power source for the motor is discussed.
A simple explanation of the code and its functionality is promised for viewers.
The video concludes with a recap of how to use the Stepper Motor effectively and its simplicity compared to traditional motors.
The video provides a link to a schematic and the code in the video description for further reference.
An invitation for viewers to ask questions or seek clarification if needed.
A closing greeting and a reminder of the video's educational purpose.
Transcripts
السلام عليكم ورحمه الله تحيه طيبه لكل من
يتابعني وياكم علي هادي علي اليوم راح
اوضح طريقه استخدام الستيب ماطور الاستيب
موتور يختلف عن المتورات
السابقه مثل الدي سي
متور او السيرفو موتور ان شاء الله في
فيديو اخر راح اوضح الفرق ما بين السيرفو
موتور والستيم موتور والدي سي موتور
موضوعنا اللي هذا اليوم راح يكون حول
الستيب ماتور الستيب ماتور يختلف عن
المتورات السابقه مثل ذكرت في هذا الجزء
يتكون من اربع منافذ اللي هو من ان واحد
الى غايه ال ان 4 ومن هذا الجزء اقدر اغذي
البورد او المطور هذا 5 او 12 فولت عمليه
ربطه مع بورد الاردوينو جدا بسيطه راح
اقوم بتوصيل ماتور الستيب ماتور مع بورد
الاردوينو ومثل ما تشاهدون الكود اللي راح
اقوم باستخدامه موجود على الشاشه امامنا
ايضا ممكن تحملون الكود هذا من الرابط
اللي موجود اسفل وصف الفيديو حسب ما موجود
بالكود راح اوصل هذه المنافذ
الاربعه هذه المنافذ على بورد الاردوينو
الواحد راح اوصله بمنفذ رقم 8 على بورد
الاردوينو واثنين اوصله على منفذ رقم ت
وثلاثه اوص على منفذ رقم ع واربعه اوصله
على منفذ رقم 11 من اريد اشغل هذا المطور
على 5 فولت هذا هو الخ فولت وهذا ال 12
فولت السالب وهذا الموجب وهذا ال 12
والجهه الاخرى خمسه فراح اقوم بتوصيل
المطور مع بورد الاردوينو
استخدم مجموعه من اسلاك
التوصيل
منفذ رقم واحد على المتور اوصله بمنفذ رقم
8 ورقم ا اوصله مع منفذ رقم
ت ورقم لاه اوصله مع منفذ رقم
10 ورقم اربعه اوصله مع منفذ رقم 11 طيب
اوصل مصدر تغذيه للمطر من خلال بورد
الاردوينو
فاخذ ال 5
فولت هذا
الخمسه اوص مع هذا
الجزء والطرف
السالب فراح انتقل الى الكمبيوتر مثل ما
تعلمنا في الفيديوهات السابقه كيف اقوم
بنقل كود الاردوينو الى البورد بكل بساطه
ممكن تتابعون الفيديوهات طبعا راح اقوم
بشرح الكود بشكل بسيط عندي في هذا الجزء
هنان المنافذ اللي استخدمتها
فاقدره المنافذ انا استخدمت منفذ رقم 8 و9
و1 و1 اقدر ابدلهم مثلا
استخدم 3 4 5 6 او اي منفذ اخر عندي في
هذا الجزء اتحكم في سرعه المتور وعدد
الدورات وهذا الجزء كم حركه في الدوره
الواحده وراح نلاحظ كيف راح تكون حركه
المتور اليب ماتور فممكن استخ دامه في عده
استخدامات مثل ما تلاحظون هذه
الحركه طيب هنا عندي مكتوب 512 فممكن
اغيرها واكتبها
200
ونشوف كيف راح تكون الحركه فمثل ما
تلاحظون تغيرت
الحركه حاليا انا مستخدم 5 فولت ممكن
استخدم 12 فولت من خلال مصدر
خارجي طيب وصلت الى نهايه هذا الفيديو ان
شاء الله يكون واضح للجميع وضحت ب كيف
اقدر استخدم يب ماتور عمليه استخدامه جدا
بسيط فقط هو يختلف عن المتورات العاديه
مثل الدي سي او السيرفو ماتور يحتوي على
بورد ومجموعه من الاسلاك وطريقه استخدامه
مثل ما وضحت ب الفيديو الخريطه الخاصه
بهذا الرابط والكود موجود اسفل وصف
الفيديو اذا كان عندكم اي سؤال او استفسار
بامكانكم مراسلتي بنهايه كلامي تقبلوا
تحياتي والسلام عليكم ورحمه الله
Browse More Related Video
Arduino Lesson 2 - digitalRead & digitalWrite
CANGGIH!!! Cara buat Kunci pintu Pakai PASSWORD
Basic Tutorial | Part 2 - Eksplore Tools UnoArdusim Software Simulator Arduino Asik
Fire Fighting Robot, Fire Fighting Robotic Car, New Electronics Project #science #shorts
طريقة تحويل الكاميرا الثابتة الى كاميرا متحركة بواسطة Arduino
DIY | Smartphone (Bluetooth) controlled Robot Arm using Arduino | HC-05
5.0 / 5 (0 votes)