|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/embedded-c-with-avr/
课程评论:没有评论
**课程名称:** 使用嵌入式C语言开发AVR嵌入式系统 **课程概述:** 本课程将带您深入学习AVR微控制器和嵌入式C编程。通过 **8.5小时的视频内容**,您将掌握 **8次包含70多个问题的随堂测验**,并通过 **13次实践操作** 加深理解。所有课程代码、PDF/PPT讲义以及接线图均可在课程资源中获取。 **课程内容:** 本课程旨在揭开微控制器和外围设备的内部工作原理。您将学习 **寄存器级别的嵌入式C编程**,使用微控制器内置外设来连接传感器、执行器和液晶显示器(LCD)。您还将学习如何利用 **定时器** 生成精确延时,以及如何通过 **脉冲宽度调制(PWM)** 技术生成具有可变占空比的波形。此外,课程还将介绍如何使用 **模数转换器(ADC)** 从模拟传感器收集数据并将其显示在LCD上。 **核心知识点:** * **位操作(Masking):** 学习如何在不影响其他位的情况下,对MCU寄存器中的特定位进行设置和复位。 * **上拉电阻:** 理解上拉电阻的重要性,学会启用和禁用它们,并将其应用于连接数字传感器。 * **定时器:** 掌握如何编写C程序,利用MCU定时器生成精确延时。 * **脉冲宽度调制(PWM):** 学习使用MCU定时器和PWM寄存器生成具有可变占空比的PWM波形。 * **液晶显示器(LCD):** 学习如何使用GPIO直接与MCU接口连接LCD,并学习编写自己的LCD驱动库,而非依赖第三方库。 * **模数转换器(ADC):** 学习如何连接电位器等模拟传感器,读取其电压值。 **项目实践:** * **温度监测系统:** 连接LM35温度传感器,读取环境温度并显示在LCD上。 * **直流电机速度控制:** 利用半桥集成电路L293D和PWM技术,控制直流电机的方向和速度。通过ADC连接电位器,调整电位器即可改变直流电机的速度。 **重要声明:** 本课程 **并非Arduino风格的编程**。Arduino适用于快速产品原型开发,但本课程旨在帮助您 **精通微控制器和外围设备**。在Arduino中,您常使用第三方库,而本课程将引导您 **编写自己的库**,直接操作微控制器寄存器,呈现 **真正的寄存器级编程**。
Learn Embedded C with AVR Microcontrollers!!8.5 Hours of Video Content.8 Quizzes with more than 70 Questions.13 Hands-on PracticalsAll Codes are available in the resourcesLecture Material (PDF / PPTs) are available in the resourcesAll Wiring Diagrams are available resources DescriptionThis course Demystifies the internal working of Microcontroller and Peripherals. You will learn register-level Embedded C programming to use inbuilt peripherals on the microcontroller to interface sensors, actuators, and Liquid Crystal Displays (LCD). You will learn to use Timers to generate accurate delays, Use timers to generate Pulse Width Modulation (PWM) Waveforms with variable duty cycle. Learn to use analog to digital converter (ADC) to gather data from analog sensors and display it to LCDs.Each section ends with a Quiz to examine your learning outcomes from this course. All the codes (C Programs) are available in resources along with the lecture material.This is NOT Arduino Style Programming!!I believe that Arduino is for quick prototyping of products but not for Mastering Microcontrollers and peripherals. In Arduino, you use many Third-Party Libraries, In this course, you will be writing your own libraries, Your code will be talking and manipulate microcontroller registers, True Register Level programming is presented in this course.Major Topics CoveredMasking: Learn to manipulate (Set/Reset) a particular bit in a port or MCU register without altering other bits.Pull-up Register: Learn the importance of pull-up resistors, enabling and disabling them, also learn to use them in interfacing digital sensors.Timers: Learn to write C programs to generate accurate delays using MCU Timers.Pulse Width Modulation: Learn to generate PWM wave with variable duty cycle using MCU timers and PWM registers.Liquid Crystal Display: Learn to interface LCDs with MCU using GPIOs, No third-party library is used for LCD, You will learn to write your own library for LCDs.Analog to Digital Converter: Learn to interface analog sensors such as a potentiometer to read voltage across it.Temperature Monitoring System: Learn to interface LM35 temperature sensor IC to read ambient temperature and display the same on LCD.Speed Control of DC Motor: Learn to control the Direction and Speed of DC Motor using half-bridge integrated circuit L293D and PWM Technique. Vary the Speed using a POT connected to ADC and vary the PWM duty cycle accordingly.