Embedded C programs on fundamental concepts for Atmel ATmega328p chip.
- Digital input and output
- LED blink using util/delay library
- Delay using TIMER 0
- Delay using TIMER 1
- TIMER interrupts
- Fading LED using PWM wave generated using util/delay library
- PWM wave generation in CTC (Clear timer on compare match) mode
- Serial communication (UART TX&RX) at 9600 baud rate
- Serial communication (UART) using RX interrupts
- Interfacing HC05 Bluetooth module to microcontroller
- Interfacing HCSR04 Ultrasonic sensor to ATmega328p
- ADC (Analog to digital convertor) input for duty cycle variation of generated PWM wave
- Reading voltage of input using ADC and transmitting through UART
- 5 channel ADC + UART
- External interrupts - LOW LEVEL triggered
- Pin change interrupt
- Power down mode of ATmega328p (INT0 trigger)
- Power down mode of ATmega328p (PCINT16 trigger)