0% found this document useful (0 votes)
4 views16 pages

Lecture 1.1.3 (AVR Microcontroller and Its Types)

The document outlines the Master of Computer Applications program at the University Institute of Computing, focusing on the Internet of Things (IoT) and embedded systems. It includes the university's vision and mission, course syllabus, and learning outcomes related to AVR microcontrollers and programming. The course aims to equip students with knowledge and skills in embedded systems and IoT applications, emphasizing practical and theoretical understanding.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views16 pages

Lecture 1.1.3 (AVR Microcontroller and Its Types)

The document outlines the Master of Computer Applications program at the University Institute of Computing, focusing on the Internet of Things (IoT) and embedded systems. It includes the university's vision and mission, course syllabus, and learning outcomes related to AVR microcontrollers and programming. The course aims to equip students with knowledge and skills in embedded systems and IoT applications, emphasizing practical and theoretical understanding.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 16

University Institute of Computing

Master of Computer Applications


Internet of Things (IoT)
Course Code: 23CAH-702

Designed By :
Dr. Kavita Jindal
Assistant Professor, ECE, UIC 1
University Vision
To be globally recognized as a Centre of Excellence for Research, Innovation, Entrepreneurship and disseminating
knowledge by providing inspirational learning to produce professional leaders for serving the society.
University Mission
M1: Providing world-class infrastructure, renowned academicians, and an ideal environment for Research,
Innovation, Consultancy, and Entrepreneurship relevant to society.

M2: Offering programs & courses in consonance with National policies for nation-building and meeting global
challenges.

M3: Designing Curriculum to match international standards, and needs of Industry, civil society, and for inculcation
of traits of Creative Thinking and Critical Analysis as well as Human and Ethical values.

M4: Ensuring students delight by meeting their aspirations through blended learning, corporate mentoring,
professional grooming, flexible curriculum, and a healthy atmosphere based on co-curricular and extra-curricular
activities.

M5: Creating a scientific, transparent, and objective examination/evaluation system to ensure an ideal certification.

M6: Establishing strategic relationships with leading National and International corporates and universities for
academic as well as research collaborations.

M7: Contributing for the creation of a healthy, vibrant, and sustainable society by involving in Institutional Social
Responsibility (ISR) activities like rural development, the welfare of senior citizens, women empowerment,
community service, health and hygiene awareness, and environmental protection
Syllabus
1. Embedded
System
2. IOT UNIT 1
& Raspberry
Embedded Programming
Pi
3. Arduino
1.
Programming
1. Interfacing of Devices
2. Basic UNIT 2
Laws and
Interface Digital and Analog I/O Devices
Components
3. Various Sensor and
2. Devices

1. Embedded System
UNIT
Application 3 using
Application of Embedded systems
Arduino
3.
Syllabus
Unit-1 Embedded Programming Contact Hours: 15
Embedded Systems
Chapter 1.1
Embedded system: Introduction to Microcontroller, Difference between microprocessor
and Microcontroller, Embedded System Characteristics & its examples, AVR
microcontroller: Types, Architecture Internal Architectural and Block diagram of
controller (-ATmega 328), Essential Peripheral circuits: Crystal Circuit, Power supply,
Oscillator Circuit.

Chapter 1.2 Introduction to IOT and Raspberry Pi


Trends in the Adoption of the Internet of Things (IoT), The Importance of the Internet
of Things (IoT) in Society, Introduction of Raspberry Pi, Pin Diagram of Raspberry,
Comparison of Arduino and Raspberry Pi
Chapter 1.3 Introduction to Arduino and Programming
Arduino: Birth, Open Source community: Features of Arduino, Functional pin details,
Diagram of Arduino UNO, Basic skeleton of Arduino programming, Function of
Arduino- Setup and Loop functions, variables, Constants and their scopes.
Course Outlines
1. AVR Introduction
2. Types of AVR
3. ATMega8 microcontroller architecture
4. ATMega8 microcontroller pin description

6
Learning Outcomes

After this lecture :

• Student will able to understand about AVR

• Student will learn the various industrial revolutions.

• Student will able to differentiate between Embedded systems and IoT.

7
AVR Introduction
AVR (Advanced Virtual RISC) –

• In 1996, Atmel fabricated this single chip microcontroller with a modified Harvard
Architecture. This chip is loaded with C- compiler, Free IDE and many more features. This
microcontroller is a bit difficult for the starters to handle.
• The AVR was one of the first microcontroller families to use on-chip flash memory for
program storage, as opposed to one-time programmable ROM, EPROM, or EEPROM used by
other microcontrollers at the time
• The AVR family of microcontrollers is designed by Atmel (now part of Microchip
Technology).
• AVR microcontrollers are based on the modified Harvard architecture, combining
the efficiency of RISC (Reduced Instruction Set Computing) with the ease of use
and flexibility of a comprehensive instruction set.
• AVR microcontroller comes in different configuration, some designed using
surface mounting and some designed using hole mounting.
• It is available with 8-pins to 100-pins, any microcontroller with 64-pin or over is
surface mount only.
Types of AVR

1 Tiny AVR

2 Mega AVR
Types
Of
AVR 3 XMega AVR

4
Atmega X-bit AVR
Types of AVR
• Tiny AVR: Smaller in size and Less memory.

• Mega AVR: Popular, memory up to 256 kb, several quantities of inbuilt peripherals, complex

application.
• Xmega AVR: Large Memory, High Speed, and complex applications.

• Atmega8 AVR Microcontroller

• It consists of 28 Pins, 1KByte Internal SRAM, 8kb of flash memory, two exterior interrupts

support. It has two wire interface, external pin to connect two voltages into two input of the

comparator.
• Uses: Mainly used to build electrical and electronic Projects.
Types of AVR
Atmega16 AVR Microcontroller

It consists of 40 Pins. It has a flash memory type, 16 MIPS Speed, 1KByte RAM, six power saving

modes.

Uses: It works on Mobile Embedded System, satisfies Embedded System.


Atmega32 AVR Microcontroller
It consists of 44 Pins with 32 bit Memory size. It has flash memory type, 16 MIPS Speed, 2048
SRAM, Operating Volt ranges from 2.7 to 5.5.
Uses: It is used in a system without human interference and works on Mobile Embedded System.
Atmega328 AVR Microcontroller
RISC Architecture contains flash type memory of 32 KB, 2KB SRAM, Operating Voltage ranges
from 1.8 to 5.5, 1kb EEROM (Electrically Erasable Read Only Memory).
Uses: Widely used in Arduino, Robotics, Power Monitoring and Management systems.
Atmega8 AVR Microcontroller
Architecture
Atmega8 Microcontroller Pin
Description
Microcontroller Pin Configuration
•Pin -1 is the RST (Reset) pin and applying a low-level signal for a time longer than the minimum pulse length will
produce a RESET.
•Pin-2 and pin-3 are used in USART for serial communication
•Pin-4 and pin-5 are used as an external interrupt. One of them will activate when an interrupt flag bit of the status
register is set and the other will activate as long as the intrude condition succeeds.
•Pin-9 & pin-10 are used as a timer counters oscillators as well as an external oscillator where the crystal is associated
directly with the two pins. Pin-10 is used for low-frequency crystal oscillator or crystal oscillator. If the internal
adjusted RC oscillator is used as the CLK source & the asynchronous timer is allowed, these pins can be utilized as a
timer oscillator pin.
•Pin-19 is used as a Master CLK o/p, slave CLK i/p for the SPI-channel.
•Pin-18 is used as Master CLK i/p, slave CLK o/p.
•Pin-17 is used as Master data o/p, slave data i/p for the SPI-channel. It is used as an i/p when empowered by a slave
& is bidirectional when allowed by the master. This pin can also be utilized as an o/p compare with match o/p, which
helps as an external o/p for the timer/counter.
•Pin-16 is used as a slave choice i/p. It can also be used as a timer or counter1 comparatively by arranging the PB2-
pin as an o/p.
•Pin-15 can be used as an external o/p of the timer or counter compare match A.
•Pin-23 to Pins28 have used for ADC (digital value of analog input) channels. Pin-27 can also be used as a serial
interface CLK & pin-28 can be used as a serial interface data
•Pin-12 and pin-13 are used as an Analog Comparator i/ps.
•Pin-6 and pin-11 are used as timer/counter sources.
THANK YOU

Dr. KAVITA JINDAL

You might also like