ATMega32 tutorials in C

Introduction

The Atmel AVR microcontroller series have a broad varieties of resources. We can choose any part number containing the resources we need for project development. In this tutorial, I choose ATMega32. It come with 40-pin DIP package with sufficient resources for learning and project development.

For the software development tool, I choose the vendor's tool, Atmel Studio.


ATMega32 tutorials with C in Atmel Studio 7
Some AVR micro-controllers I posses.
They come with DIP package, ease of prototyping.

Atmel Studio is a software integrated development environment (IDE) support for development the firmware Atmel AVR microcontroller series and 32-bit ARM. Now it's owned by Microchip. Atmel Studio succeed its older version AVR Studio. Currently, the latest version is Atmel Studio 7. In the IDE we can program the Assembly or C language. The C compiler depends on AVR-GCC.


Atmel Studio 7 at start up
Atmel Studio 7 I use for this tutorial.


Atmel Studio 7 Basic Input Output Ports Programming and Interfacing

  1. Experiment with Atmel AVR ATMega32 Micro-controller
  2. Getting started with ATMega32 in Atmel Studio 7
  3. Basic ATMega32 Programming
  4. ATMega32 how to set and reset relay via digital buttons
  5. ATMega32 using a single port for input and output
  6. ATMega32 controlling DC Motor direction via buttons 
  7. ATMega32 Controlling A DC Servo Motor Without Hardware PWM
  8. Interfacing ATMega32 To Seven Segment Display
  9. ATMega32 External Interrupt Example
  10. ATMega32 digital counter using external interrupt and multiplexed display
  11. Controlling the uni-polar stepper motor with ATMega32 
  12. Controlling the bipolar stepper motor with ATMega32 
  13. ATMega32 interface to a single 8x8 dot matrix display
  14. Interfacing ATMega32 to 74HC595 shift register
  15. Interfacing 74HC165 parallel in serial out shift register to ATMega32 
  16. ATMega32 interfaces to keypad and display 
  17. ATMega32 LCD and Keypad Interfacing Example 
  18. ATMega32 Simple Multiplexing Display Example 

ATMega32 Timer/Counter 0

  1. Introduction to 8-bit Timer/Counter 0 of ATMega32
  2. Creating a precise one millisecond delay using timer 0 of ATMega32
  3. Using timer 0 of ATMega32 to detect long pressed buttons
  4. Using timer 0 overflow interrupt of ATMega32
  5. Driving a multiplexing SSD display and keys scanning using timer 0 interrupt of ATMega32
  6. Using timer 0 interrupt to create a PWM signal controlling a DC Motor
  7. Using counter 0 of ATMega32 to count external input pulses 
  8. Using output compare unit of timer/counter 0 to in ATMega32 generate a fast PWM signal
  9. Using phase correct PWM mode with timer/count 0 in ATMega32
  10. Making a Simple Free Running Timer with Multiplexing Display using Atmega32

ATMega32 Timer/Counter1

Analog Unit

Serial Peripheral Interface

Two-wire Serial Communication (TWI)

LCD Display Interface

No comments:

Post a Comment

Search This Blog

Labels

25AA010A (1) 8051 (7) 93AA46B (1) ADC (30) Analog Comparator (1) Arduino (15) ARM (6) AT89C52 (7) ATMega32 (56) AVR (57) CCS PICC (28) DAC (1) DHT11 (2) Display (105) Distance Sensor (3) DS18B20 (3) dsPIC (2) dsPIC30F1010 (2) EEPROM (5) Environment Sensor (4) esp8266 (1) I2C (29) Input/Output (67) Interrupt (19) Keil (5) Keypad (10) LCD (47) Master/Slave (1) MAX7221 (1) MCP23017 (5) MCP23S17 (4) Meter (3) MikroC (2) Motor (15) MPLABX (71) Nokia 5110 LCD (3) OLED (2) One-Wire (6) Oscillator (8) PCB (6) PCD8544 (3) PCF8574 (5) PIC (107) PIC12F (2) PIC16F628A (2) PIC16F630 (1) PIC16F716 (3) PIC16F818 (10) PIC16F818/819 (2) PIC16F84A (15) PIC16F876A (1) PIC16F877A (9) PIC16F88 (1) PIC16F887 (60) PIC18 (19) PIC18F1220 (4) PIC18F2550 (3) PIC18F4550 (12) PWM (11) RTC (8) Sensor (10) SH1106 (1) Shift Register (11) Shift Registers (3) SPI (24) STM32 (6) STM32 Blue Pill (6) STM32CubeIDE (6) STM32F103C8T6 (6) SysTick (3) temperature sensor (11) Thermometer (21) Timer/Counter (31) TM1637 (2) UART (7) Ultrasonic (4) Voltmeter (7) WDT (1) XC16 (2) XC8 (94)