|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/controlling-dc-motor-pmdcstepperservo-with-pic16f877a/
课程评论:没有评论
课程名称:使用 PIC16F877A 控制直流电机 / 步进电机 / 伺服电机 本课程专注于嵌入式系统和电子学的实践应用,旨在通过实际项目教授您如何使用 PIC16F877A 微控制器控制不同类型的电机。您将学习如何设计电路、连接组件以及编写程序来实现硬件功能,例如构建一个蓝牙控制的 RC 汽车。课程内容涵盖 PIC16F877A 的基础知识、数据手册的解读、引脚和端口的识别、开发环境(MikroC for PIC 和 PICKIT 编程器)的设置。 **主要学习内容包括:** * **PIC16F877A 基础:** 介绍 PIC16F877A 芯片、数据手册的有效利用以及其可编程引脚和端口。 * **开发环境搭建:** 指导您下载和安装 MikroC for PIC 编译环境以及 PICKIT 编程工具。 * **直流电机控制:** * 使用 NPN 晶体管 (TIP122) 控制直流电机。 * 利用 PIC16F877A 的 PWM 引脚控制直流电机速度。 * 通过电位器控制直流电机速度。 * 使用游戏摇杆控制直流电机速度。 * 使用 L293D 电机驱动 IC 控制直流电机。 * 使用 H 桥 L298N 模块控制直流电机速度。 * 利用电动自行车油门手柄控制直流电机速度。 * **步进电机控制:** 使用 A4988 模块连接 NEMA 步进电机。 * **伺服电机控制:** 连接 SG90 伺服电机。 本课程强调“学一通百”,您通过 PIC16F877A 和 MikroC 学习到的技能和代码结构可以轻松迁移到其他 PIC 微控制器系列(如 PIC12, PIC18, PIC24, PIC32, dsPIC)。
Welcome to Learning Microcontrollers!Hi everyone,I'm excited to welcome you to Learning Microcontrollers, a hands-on course designed to introduce you to the world of embedded systems and electronics.Since 2019, I've been creating embedded systems tutorials and guiding learners of all levels-from complete beginners to experienced developers. Over the years, I've learned exactly how to break down complex topics into easy-to-understand concepts, helping you build real-world projects while mastering essential skills.This course is structured to get your hands dirty with practical electronics. Instead of just learning theory, you'll be building actual projects as you progress through the lessons.For example, in one of the lectures, you'll learn how to create a Bluetooth-controlled RC car using the PIC16F877A microcontroller and a Bluetooth module. Through this project, you'll gain valuable experience in:Understanding and designing electronic circuitsWiring components with microcontrollersProgramming microcontrollers to perform real-world tasksThe best part is that the skills you learn with the PIC16F877A using MikroC for PIC are easily transferable. Once you're familiar with this setup, you'll be able to apply the same concepts and code structure to a wide range of PIC microcontrollers-including PIC12, PIC18, PIC24, PIC32, and dsPIC. They all use similar command sets in MikroC; the only differences are typically the pin assignments and clock configurations.That's why I say: Learn one, and you've learned them all!Introduction to PIC16F877A.Lecture 1: Introduction to PIC16F877A.Lecture 2: Extracting useful data from PIC16F877A datasheet.Lecture 3: Listing programmable pins and ports of PIC16F877A.Lecture 4: Setting up a your PIC16F877A for 1st run.Downloading and installing MikroC for PIC and PICKIT programmer tool.Lecture 5: Downloading and installing MikroC for PIC.Lecture 6: Downloading and installing PICKIT programmer tool.DC motor with PIC16F877A.Lecture 7: Using a TIP122 NPN transistor to control a DC motor with PIC16F877A.Lecture 8: Using PWM pin of PIC16F877A to control speed of a DC motor.Lecture 9: Use potentiometer to control speed of a DC motor using PIC16F877A.Lecture 10: Use a joystick to control the speed of a DC motor with PIC16F877A.Lecture 11: Using L293D motor driver IC with PIC16F877A.Lecture 12: Using H-bridge L298N module to control speed of a DC motor.Lecture 13: Use electric bike throttle handle with PIC16F877A to control DC motor speed.PIC16F877A with nema Stepper motor.Lecture 15: Interface NEMA stepper motor with PIC16F877A using A4988 module.Stepper motor with PIC16F877A.Lecture 17: Interface SG90 servo motor with PIC16F877A.