Skip to content

aswin-sreekumar/ATmega328p_codes

Repository files navigation

ATmega328p_embedded_codes

Embedded C programs on fundamental concepts for Atmel ATmega328p chip.

Concepts implemented

  • 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)

About

Embedded C programs for Atmel ATmega328p chip.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages