|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/microcontroller-hw-interfacing-using-avr/
课程评论:没有评论
本课程“AVR 单片机硬件接口设计”旨在教授您如何利用微控制器的内部外设来控制各种硬件设备。 **第一部分:AVR 接口基础** 本部分将介绍 AVR 接口的基本概念,包括数据手册阅读、通用输入输出(GPIO)的使用、代码烧录方法,以及轮询与中断的区别。您将学习如何处理 GPIO 中断,包括中断向量表(IVT)和嵌套中断。 相关视频:接口介绍、数据手册阅读、GPIO、AVR GPIO 使用、Microchip Studio 使用、中断、中断使用 **第二部分:AVR 定时器详解** 本部分深入讲解定时器的概念、在 ATMega16L 中的应用、定时器频率和预分频器的作用。您将通过实际视频学习如何使用 TIMER0 的 CTC 模式,并编写相应的代码。 相关视频:定时器用途、定时器理解、定时器频率、定时器预分频器、AVR 预分频器、TIMER0 CTC 模式使用、TIMER0 代码编写(三部分) **第三部分:AVR PWM 控制** 本部分将介绍脉冲宽度调制(PWM)的概念、占空比的含义,以及在 ATMega16L 中的实现。您将学习快速 PWM 模式(包括非反转模式),并通过视频教程掌握 PWM 代码的编写和测试。 相关视频:PWM 介绍、占空比与 ATMega PWM、PWM 代码编写(两部分)、PWM 测试 **第四部分:AVR 通信协议** 本部分将讲解通信的基本原理,包括比特率与波特率、并行与串行通信、单工、半双工和全双工的差异。您将深入了解同步与异步串行通信,并重点学习 UART(通用异步收发传输器)协议,包括其帧格式以及在 ATMega16L 中的应用。 相关视频:通信介绍、UART 协议、AVR UART、AVR UART 进阶 **第五部分:I2C 总线通信** 本部分将介绍 I2C(集成电路之间通信)总线,包括其工作原理、数据有效性、帧格式和总线仲裁机制。您将学习 I2C 通信的各种应用场景,如主设备到从设备、从设备到主设备、双向读写,并了解 I2C 时钟拉伸和在 ATMega16L 中的实现。 相关视频:I2C 介绍、I2C 帧格式与总线仲裁、I2C 通信案例、I2C 双向读写、I2C 时钟拉伸、AVR I2C **第六部分:SPI、ADC 接口** 本部分将介绍 SPI(串行外设接口)协议、其连接方式以及在 ATMega16L 中的应用。此外,您还将学习模数转换器(ADC)的基本概念,包括采样与量化、采样率、分辨率和量化误差。通过示例,您将了解连续近似 ADC 的工作原理,并学习其在 ATMega16L 中的实现。 相关视频:SPI 协议、AVR SPI、ADC 是什么、ADC 连续近似、AVR ADC
Learning the internal peripherals of a micro-controller and how to use it to control different hardware devices.Section 1 which includes Intro to AVR interfacing, HW Interfacing concept, GPIO, Using GPIO on AVR, Burn the code to controller, Polling vs. Interrupts, Interrupt Vector Table (IVT), GPIO interrupts, Nested interrupts. with the following videos:Intro to InterfacingReading DatasheetGPIOUsing GPIO on AVRUsing Microchip StudioInterruptsUsing InterruptsSection 2 which includes What is a timer, Timers in ATMega16L, Timer frequency, Using prescaler, Prescaler on ATMega16L, Working with TIMER0 (CTC Mode). with the following videos:Why to Use TimersUnderstanding TimersTimer FrequencyTimer PrescalerPrescaler on AVRUsing Timer0 CTC ModeWriting Code for Timer0Writing Code for Timer0 - Part 2Writing Code for Timer0 - Part 3Section 3 which includes What is a PWM, PWM duty cycle, PWM in ATMega16L, Fast PWM mode, Fast PWM (Non-inverted mode). with the following videos:Intro to PWMDuty Cycle and PWM on AtmegaWriting code for PWMWriting code for PWM-continueTesting PWMSection 4 which includes What is communication, Bit rate Vs. Baud rate, Parallel Vs. Serial communication, Simplex, Half duplex and Full duplex, Synchronous Vs. Asynchronous serial communication, UART, What is UART, UART frame format, UART/USART on ATMega16L. with the following videos:Intro to CommunicationUART ProtocolUART on AVRUART on AVR - ContinueSection 5 which includes What is I2C, I2C bus, I2C data validity, I2C frame format, I2C bus arbitration mechanism, I2C Communication cases, Master to Slave, Slave to Master, Bi-directional Read and Write, I2C on ATMega16L. with the following videos:Intro to I2CI2C Frame Format and Bus ArbitrationI2C Communication CasesI2C Bidirectional Read and WriteI2C Clock StretchingI2C on AVRSection 6 which includes What is SPI, SPI connection, SPI on ATMega16L, What is ADC, ADC concepts, Sampling Vs. Quantization, Sampling rate, Resolution & Quantization error, ADC example: successive-approximation, ADC on ATMega16L. with the following videos:SPI ProtocolSPI on AVRWhat is ADCADC Successive ApproximationADC on AVR