How To Control Stepper Motors With Microcontrollers | التحكم بالمحرك الخطوى | كورس ميكروكنترولر
HTML-код
- Опубликовано: 2 июл 2018
- How To Control Stepper Motors With PIC Microcontrollers
Embedded Systems Tutorials - Microchip PIC Microcontrollers - MPLAB X
[[ Tutorial #10 ]]
You can read this exact same tutorial as a written article (in English) on my website.
Through this link down below
deepbluembedded.com/how-to-co...
You can also check for downloadable content (code + schematics) herein in the description or on the website
===========================================
In this tutorial, you'll learn what are stepper motors? How they work? and how to drive a stepper motor with microcontroller.
We'll develop the required firmware code to drive a simple stepper motor with a Microchip PIC Microcontroller, simulate the project on a computer simulation software, and finally wire-up the prototype for this project and have the stepper motor running at different speed levels in both directions.
===========================================
You can follow this course playlist on RUclips
You can also follow this course (with extra info) on my website
deepbluembedded.com/pic-progr...
===========================================
Downloadable Files & Links
----------------------
[[ MPLAB Code Project (Firmware) ]]
MediaFire
Drive
[[ Schematics + Simulation Files ]]
MediaFire
Drive
===========================================
For More Information
Visit my website @ DeepBlueMbedded.com
deepbluembedded.com/
Follow me on socials
LinkedIn / khaled-magdy-
Twitter / ii_deepblue_ii
FaceBook / khaled.elrawy.359
===========================================
If you've any questions, feel free to leave a comment down below. I will be glad to respond to your comments as soon as possible.
Good Luck ^^
And don't forget to SUBSCRIBE for more tutorials from DeepBlue!
If you find this content useful, Then Share It With Your Network!
#Embedded_Systems
#PIC_Microcontrollers
#Stepper_Motor_Control Наука
لقد قمت بزيارة موقعك والله تفاجأت بطريقة العرض والتصميم ممتاز
هذا مانحتاج إليه بارك الله فيك
❤
شكرا جدااا فهمت ال stepper منك بكل سهوله بعد ما شفت اكتر من فيديو قبل فيديو حضرتك
استمر وربنا يوفقك ويجازيك خير
افضل كورس شفتو بحياتي تحياتي الك من الجزاءر يامعلم
استمتاع للآخر ،، ربنا يدخلك الجنه
بارك الله فيك أخي , ولله فيديو مفيد للغاية , شكرا من الجزائر
شكرا باشمهندس. حزاك الله خيرا على المجهود الرائع
الله يوفقك ويبارك فيك حبيب القلب , ممنونك من لبنان
اكثر من رائع لكن للاسف فديوات مثل هذه لا تلقى دعم من عندنا نحن العرب الف شكر ليك من الجزائر
شرح ممتاز شكرا
Thank you so much for your efforts. You are a good person :D
Dude! It's my pleasure
العرب لا يشجعون بعضهم، الاحساس بالنقص يدفعهم لكره بعضهم البعض و حتى لاحتقار ذاتهم، شكرا على مجهوداتك
الله يجزيك الخير
يارب ترجع تفيدنا تاني يلبشمهندس
thank you can u make us a video about the bipolar motor pls
hello . if it is possible to control the speed an position of tne dc engine with the source without the key so that it speeds in the right direction round and it will slow down in the left direction only via the keyless source.....explain please
,انا معايا uln2003 هينفع ولا لازم ال driver ده تحديدا، وشكرا لحضرتك مقدما 🙂
يابشمهندس حضرتك وقفت نشر محتوى ليه؟
وياريت لو تنزل كورس C
يعطيك العافية جهد مشكور.. بس سؤال بسيط في شي مش فاهمه الي هو بالرسمة كان في بطارية 12 volt للموتور مشبوكة بال common بس لما عملت prototyping بس شبكت السلكين الي لونهم أحمر من الموتور لل common يعني في بطارية داخلية قيمتها 12 volt جوا الموتور ؟؟ وإذا اه كيف ممكن تنشحن البطارية إذا فضيت ؟
حضرتك شرحت طريقة ال h-bridge ولا لا
👍👍👍
طيب عندي سؤال يا بشمهندس
أنا إيه اللي يخليني أعمل ده كله لما الarduino ليه id أسهل وboard جاهزة البرمجة على طول
معجب جدا بلهجتك الصعيدية الاصيله
ربنا يحفظك يا اخي ^^
#1
السلام عليكم يابشمهندس جزاك الله خيرا علي ما تقدمه من محتوي
عندي طلب ممكن تدلني علي رقم اي سي مشغل الاستبر موتور يكون بيخرج واحد امبير او اكثر
استخدم Relay افضل لك
السلام عليكم يا بشمهندس كنت محتاج تعرفني ارقام بعض الايسهات تكون بتخرج لنا واحد امبير رجاء المساعدة في الامر وشكرا علي مجهودك معنا
thank you very much, I just have a small problem with "xc.h", where can I find it and how can I add it in my project ?
This is the macro assembler header and it must be included in your code
#include
Should do the job. It's known by the environmemt by default as it lies in the system files path as well.
Are you still getting the same error right now?
These guys are discussing the solution to that problem on this thread www.microchip.com/forums/m802891.aspx
i thought it may help you. Notify me if it works for you
how to use A4988 instead ?
❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤
Need English translation
قيمه المكثف والمقاومات كام؟
بعد اذنك يا بشمهندس عندى سؤال لو انا عاوز ال stepper يتحرك بزاويه معينه 90 درجه مثلا وبعدين يعمل hold اعملها ازاى؟ وشكرا مقدما
هتشوف الريزولوشن بتاع الstepper اللی معاك كام درجة لكل step
و تقسم 90 علی الريزولوشن و تشوف يطلعلك كام step
و تخلی الloop تلف العدد دا من المرات.
طبعا دا open loop control و مفيش ای ضمانات ع ان الزاوية هتكون 90 بالضبط. و لو محتاج زاوية دقيقة بجد شوف فيدباك سيستم زی السيرفو موتور كدة مثلا
@@DeepBlueMbedded تمام شكرا جدا
ممكن software code لحساب كفائة الماتور
لو سمحت هو pic 2 or 3 programmer دي استخدمناها فالدايره؟
لانها مطلوبه فالكمبوننت بس ملقتهاش فالتوصيل!
وكمان Stepper Driver (ULN2003 or A988) ملقتهاش فالتوصيل
Pic kit 2 or 3 دا ضروري لحرق الكود علي الميكروكنترولر فقط لكن ممكن تشيله بعد كدة عادي و الدايرة هتشتغل من اي مصدر باور اخر
اما الدرايفر ف دا اساسي طبعا و هتلاقيه في توصيلة الدايرة ف صفحة الدرس علي الموقع
@@DeepBlueMbeddedطب الدرايڤ دا انا ممكن استخدم النوع اللي موجود فالسميوليشن اللي هو ULN2804
وكمان قيمه المكثف والمقاومات كام؟
ممكن بعد اذنك توضحلي فين الارضي بتاع مصدر جهد الموتور
متوصل علی نفس خط الارضی بتاع الباور اللی رايح للميكروكنترولر
لو عندك مصدرين جهد منفصلين واحد للموتور و واحد للميكرو، يجب ان توحد الارضی علی ای حال
hello i have the same problem in all codes ... i am writting the same code but it is not get built ..??? i dont know where is the problem
I know how frustrating it feels in such situations. We all have been in the same place.
Please, try searching for the error without panic. We'll find it and fix it sooner or later.
So, copy the error mesage to google search and start playing around!
I'll be always here to check out your code if you want or to help you with technical issues.
The solution in this thread may help you i think
www.microchip.com/forums/m802891.aspx
ينفع الكود دا يتعمل على برنامج ال codeblocks ؟
اعتقد اه , انا مجربتش الحوار دا بس فى ناس اكيد حاولت ف اعملى سيرش و شوفى الخطوات هتكون ازاى
انتى محتاجة تسطبى كومبايلر ميكروتشيب XC8
على كود بلوكس
و لما يتضاف ل ليستة الكومبايلرز تقدرى تختاريه و انتى بتعملى البروجيكت و تستخدميه عادى
10:11
ليه يا بشمهندس كتبت هنا 8 مع انهم كلهم 4 بت بس
كان اي هيحصل لو كتبنا 1000 بدل ال8
حضرتك تقصد الرقم اللی كتبناه فی الريجيستر؟
هو ينفع فعلا بس لازم تحط قبله 0b عشان تأكد علی انه باينری مش حاجة تانی. اما ال8 ف هی كدة decimal و لو حطينا قبلها 0x هتبقا hex و فی كلا الحالتين التمثيل الثنائی بتاعها هو 1000
@@DeepBlueMbedded شكرا جدا جدا جدا جدا
English title should have English audio. Fail.
There is a link to the same tutorial written in english. will edit the titles, though...
@@DeepBlueMbedded Thank you for the reply. Sorry to have been a bit rude.
sir can you provide circuit diagram
اتعبتم من بعدكم يا مصريين