Anda di halaman 1dari 29

A

INDUSTRIAL TRAINING
ON
EMBEDDED SYSTEM
AT

HCL CDC

SUBMITTED TO

SUBMITTED BY

MR. HIMANSHU SIROHIA

PRIYA SINGH

HEAD OF DEPARTMENT

B.TECH(ECE)

ECE DEPARTMENT

FINAL YEAR

2016

TOPICS TO BE DISCUSSED
ABOUT
AVR

EMBEDDED SYSTEM

MICROCONTROLLER

ATMEGA8

MICROCONTROLLER

PROTEUS
AVR

STUDIO4

SPDT,LED,

LCD AND MOTOR INTERFACING WITH ATMEGA8

MICROCONTROLLER
SECURITY

SYSTEM

STRUCTURE

OF PROGRAM FOR ATMEGA8 MICROCONTROLLER

CONCLUSION
REFERENCES

ABOUT EMBEDDED SYSTEM


o. The word embedded means it is built into the system
oEmbedded system is the combination of hardware and software for doing
specific task.
o An embedded system usually does not look like a computer, often there is no
keyboard or monitor or mouse.

SOFTWARE
PROGRAM
HARDWARE

EXAMPLES OF EMBEDDED SYSTEM

Automated teller machines (ATMS).


Integrated system in aircraft and missile.
Computer printers, Copiers.

Disk drives (floppy disk drive and hard disk drive)

Multimedia appliances: internet radio receivers, TV set top boxes.

Small hand held computer with P1M5 and other applications.

Washing machine, Digital Clock.

AVR MICROCONTROLLER

o AVR was developed in the year 1996 by Atmel Corporation.


oThe architecture of AVR was developed by Alf-Egil Bogen and Vegard Wollan.
AVR derives its name from its developers and stands for Alf-Egil Bogen
Vegard Wollan RISC microcontroller, also known as Advanced Virtual RISC.
oThe AT90S8515 was the first microcontroller which was based on AVR
architecture however the first microcontroller to hit the commercial market was
AT90S1200 in the year 1997

ATMEGA8 MICROCONTROLLER
o ATmega8 is a 8-bit microcontroller based on the AVR RISC
architecture.
o By executing powerful instructions in a single clock cycle, the
ATmega8 achieves throughput approaching 1 MIPS per MHz.

ega
m
At

oco
r
c
i
8m

oll
r
t
n

er

CONTD..
o

The AVR uses a Harvard architecture- which separates


memories and buses for program and data.

Instruction in program memory are executed with single level


pipelining

This concept enables instructions to be executed in every


clock cycle

FEATURES
o

High-performance 8 bit Microcontroller

Up to 16 MIPS Throughput at 16 MHz

32 x 8 General Purpose Working Registers

Six ADC channels in PDIP package

Internal Calibrated Oscillator

MEMORY SEGMENT
o

8K Bytes of Flash program memory

512 Bytes EEPROM (Electrically Erasable Programmable Read


Only Memory)

1K Byte Internal RAM (Random Access Memory)

CONTD..
o

Write/Erase Cycles: 10,000 Flash/100,000 EEPROM

Data retention: 20 years at 85C/100 years at 25C

PIN OUT

PIN DIAGRAM OF ATMEGA8 MICROCONTROLLER

PIN DESCRIPTION
o

VCC Digital supply voltage

GND Ground

RESET A low level on this pin for longer than the minimum pulse
length will generate a reset, even if the clock is not running

AREF The analog reference pin for the A/D Converter

PORTS
o

Three ports i.e. PortB, PortC, PortD

Three registers associated with every port

DDRx Data Direction Register

PINx Port input

PORTx- Port output

*Note x is subscript and could be either of B, C, D

PROTEUS
oThe Proteus Design Suite is a Windows application for schematic capture,
simulation, and PCB layout design.
oIt can be purchased in many configurations, depending on the size of
designs being produced and the requirements for microcontroller simulation.

Proteus design suit

CONTD..

PROTEUS IDE

AVR STUDIO4

Start project

CONTD

Choose GCC compiler


And choose project name
And then click next

CONTD

Selection of microcontroller

CONTD

Main body of avrstudio4

SPDT, LED, LCD AND MOTORS INTERFACINGWITH


ATMEGA8 MICROCONTROLLER

Interfacing of SPDT and LED with atmega8 microcontroller

CONTD

Interfacing of LCD with atmega8 microcontroller

CONTD

Interfacing of motors with Atmega 8 Microcontroller

SECURITY SYSTEM
Components used are:
o

RFID

LCD

GSM Module

Atmega8 microcontroller

Avr studio4

CONTD

Asking for password

My password is 12345

CONTD..

Password Accepted

STRUCTURE OF PROGRAM FOR ATMEGA8


MICROCONTROLLER
*//headers
#include<avr/io.h >
#include<util/delay.h>
*// main program
* int main()
{
* while(1)
{code..]
*return(0);
}

//header file for AVR i/o


//header file for delay

CONCLUSION
Training at HCL CDC has proved to be quite faithful. It proved an opportunity for
encounter with such hard project such as Security system. From this training we realized
that Engineering is not just structural description but greater part in planning and
management. From this training we come to know about basic and fundamental of
electronics like switches, LCD. It has allowed us an opportunity to get an exposure of the
practical implementation of theoretical fundamentals.

REFERENCES
[1] An Introduction to At mega 8 microcontroller(2nd Edn.),Dale Wheat;
Technology in Action.
[2] The Microcontroller 8051 and Embedded System(2 ndEdn.),Muhaammad
Ali Mazidi, Janice Gillispie Mazidi, Rolin D.McKinley; Pearson
Education.
[3] Modern Network Analysis, M.E Valkenburg, (1990 Edition)Wiley Eastern,
India.

THANK

YOU