Avr and arm

2,184 views

Published on

Published in: Technology
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,184
On SlideShare
0
From Embeds
0
Number of Embeds
5
Actions
Shares
0
Downloads
179
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide
  • 100-lead, Thin (1.0mm) Plastic Gull Wing Quad Flat Package (TQFP)
  • Acquire - obtain
  • Avr and arm

    1. 1. AVR MICROCONTROLLERATMEL CORPORATION
    2. 2. INTRODUCTION Atmel Corporation is a leadingmanufacturer of integrated circuits Atmel’s AVR RISC microcontrollerseries RISC processor with a Harvardarchitecture Harvard architecture◦ refers to the fact that the CPU has aprogram memory and a separate data
    3. 3. Families of AVRMicrocontroller 8-bit AVR Microcontroller◦ ATmega168 (DIP-28)◦ ATmega328 (DIP-28)◦ ATmega1280 (TQFP-100)◦ ATmega16 (DIP-40)◦ ATmega32 (DIP-40)
    4. 4. ATmega16 Microcontroller Advanced RISC Architecture 16KB Flash Memory 512 Byte EEPROM 1KB RAM 3Timers, 8 Channel & 10 Bit ADC 32 Input/Outputs Power ON Reset Programmable Brownout Detection Internal RC Oscillator ProgrammableWatchdogTimer withSeparate On-chip OscillatorATmega16
    5. 5. Pin Diagram of ATmega16
    6. 6. BOOTLOADER CIRCUIT
    7. 7. INTERFACING LED LCD RELAY BUZZER DC MOTOR
    8. 8. LED
    9. 9. LED#include<avr/io.h> // Headerfile for AVR#include<util/delay.h> // Headerfile for delayfunctionint main(void){DDRC=0xff; // Set port C as outputwhile(1){PORTC=0xff; // c= 11111111_delay_ms(1000);PORTC=0x00; // c=00000000_delay_ms(1000);}}
    10. 10. LCD
    11. 11. CODE FOR LCD
    12. 12. RELAY BUZZER
    13. 13. RELAY BUZZER#include<avr/io.h>#include<util/delay.h>int main(void){DDRC=0x81;while(1){PORTA=0x00;_delay_ms(100);PORTA=0xff;_delay_ms(100);}}
    14. 14. DC MOTOR Interfacing of DC Motor using L293D L293D is a motor Driver IC In-built two H-Bridge circuits Available in DIP-16
    15. 15. DC MOTORSIMULATION
    16. 16. DC MOTOR#include<avr/io.h>#include<util/delay.h>int main(void){DDRC=0xff;while(1){PORTC=0x7e;_delay_ms(1000);PORTC=0xbd;_delay_ms(1000);}}
    17. 17. AVR STUDIO 4 An Integrated Development Environment (IDE) forwriting and debugging AVR applications
    18. 18. ARM MICROCONTROLLERAPPLE, ALCATEL, INTEL, MARVELL, TEXASINSTRUMENTS…
    19. 19. the past of ARM…………. ACORN Computers Successful platform BBC Micro Sophie Wilson (ACORN Computers) developinstruction set & simulate on BBC Work started in 1983 ARM1 with VLSI Technology were introduced in1985 ARM2, upgraded version of ARM1 in 1987 Won “Queens Award of Technology” in 1992 APPLE + ACORN  ARM6
    20. 20. ARM7 Introduced in 1994 Today, more than 10 million ARM7 powereddevices in market LPC2148 is an ARM Microcontroller Fabricated by Philips 32bit Microprocessor RISC Architecture Suitable for industrial control and medicalsystems Pipeline techniques can be employed
    21. 21. LPC2148 FEATURES 32Bit Microcontroller in tinyLQPF64Package 40kB RAM & 512kB Flash 2kB RAM for USB 2.0 ISP/IAP via on-chip boot-loader circuit 10 bit, 14 Channel ADC◦ Conversion time< 2.44μs per channel 10 bit DAC Low power RTC, BOD 45 of 5V tolerant fast GPIO Voltage range 3.0V to 3.6V
    22. 22. Working with LPC2148SIMULATION
    23. 23. LED interfacing program#include<LPC214x.H>#define led1 (1<<0)#define led2 (1<<1)#define led_dirIO0DIRvoid delay(int time){int i,j;for(i=0;i<time;i++)for(j=0;j<1000;j++);}int main(void){led_dir=led1|led2;while(1){IO0SET|=led1|led2 ;delay(500);IO0CLR|=led1|led2;delay(500);}}
    24. 24. KEIL μVISION4 KEIL was founded in 1982 by Günter andReinhard Keil In October 2005, Keil (Keil Elektronik GmbH inMunich, Germany, and Keil Software, Inc. inPlano, Texas) was acquired by ARM. IDE for ARM Microcontroller Cross Compiler
    25. 25. CONCLUSION “Anyone can cook”, it is the slogan of the movieRATATOUILLE like that“Anyone can Program” the objective of my report is to make it clear that anyonecan prototype and easily work with the microcontroller.

    ×