Microcontroller HW Interfacing using AVR
Learning basic concepts about Microcontroller HW Interfacing using AVR
Description
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 Interfacing
Reading Datasheet
GPIO
Using GPIO on AVR
Using Microchip Studio
Interrupts
Using Interrupts
Section 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 Timers
Understanding Timers
Timer Frequency
Timer Prescaler
Prescaler on AVR
Using Timer0 CTC Mode
Writing Code for Timer0
Writing Code for Timer0 - Part 2
Writing Code for Timer0 - Part 3
Section 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 PWM
Duty Cycle and PWM on Atmega
Writing code for PWM
Writing code for PWM-continue
Testing PWM
Section 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 Communication
UART Protocol
UART on AVR
UART on AVR - Continue
Section 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 I2C
I2C Frame Format and Bus Arbitration
I2C Communication Cases
I2C Bidirectional Read and Write
I2C Clock Stretching
I2C on AVR
Section 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 Protocol
SPI on AVR
What is ADC
ADC Successive Approximation
ADC on AVR
What You Will Learn!
- Learn AVR general interfacing skills
- Learn about HW Timers
- Learn about generating PWM signal
- Learn about HW Communication Protocols
- Learn about I2C bus interfacing
- Learn about SPI bus interfacing
- Learn about ADC interfacing
Who Should Attend!
- Embedded Systems students who want to know about HW interfacing using AVR