NAM S.B MDLAB. Electronic Engineering, Kangwon National University 1.

Slides:



Advertisements
Similar presentations
Developing an AVR Microcontroller System
Advertisements

ARM development environment Modified Content Philips LPC2106 ARM chip ARM target board PSPad customised development environment Troubleshooting.
Slide 1 Freescale Semiconductor. Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are.
HT46 A/D Type MCU Series Data Memory (Byte) Program Memory HT46R22 (OTP) HT46C22 (Mask) 2Kx Kx16 4Kx HT46R23 (OTP) HT46C23 (Mask) HT46R24.
AVR 8-bit RISC micro controllers by Atmel Seamk / ICT / Seppo Stenberg General features of AVR family Development tools - board, compiler, simulator etc.
Essentials of motors and motor driver
BLDC MOTOR SPEED CONTROL USING EMBEDDED PROCESSOR
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
SENIOR DESIGN 10/3.
ATMEL AVR 8 bit RISC MICROCONTROLLERS
Camera Interfacing using ARM7
CALLISTO Double - Heterodyne - Frequency Agile - Radio - Spectrometer ERAC Symposium Heppenheim Sep 5/6/7th 2003 Meyer Hansueli ETH Zürich.
Microprocessor based Design for Biomedical Applications MBE 3 – MDBA II : The ATmega8 Basic Features (1)
AVR  Modern RISC architecture: Compact and FAST.  Tuned for high level languages.  Consistent architecture across entire line.  Small AVR are subsets.
328eForth for Arduino Uno C. H. Ting February 16, 2012 SVFIG.
AVR Microcontrollers.
1 AVR Session 2 Master : Dr.jafari Authors: M.H Edrisi, hadi.edrisi yyyy aaaa hhhh oooo oooo.... cccc oooo mmmm.
16F877A. Timer 0 The Timer0 module timer/counter has the following features: –8-bit timer/counter –Readable and writable –8-bit software programmable.
PS - 87C51Mx2 - SLS-1 Philips Semiconductors 87C51Mx2 Microcontroller.
Clock Options and Sleep Modes. Clock Sources Flash Fuse bits can be programmed to choose one of the following Clock sources: 1. External RC Osc. f = 1/(3RC).
Prepared by Eng. Musa Alyaman1 Chapter Seven Chapter Seven PIC16F87x.
بسمه تعالي AVR Microcontrollers. The ATmega8 Basic Features -1.
Designing with Components Wilmer Arellano. How to chose a Microcontroller Choose one that you are familiar with or that is easy to learn.
ELE22MIC Lecture 18 The AVR Sleep Modes The ATMEGA128’s Timer System
Atmel Atmega128 Overview ALU Particulars RISC Architecture 133, Mostly single cycle instructions 2 Address instructions (opcode, Rs, Rd, offset) 32x8 Register.
ATMEL AVR 8 bit RISC MICROCONTROLLERS a general comparison.
ATtiny23131 A SEMINAR ON AVR MICROCONTROLLER ATtiny2313.
EA PROJETO EM ELETRÔNICA APLICADA Bruno Mourão Siqueira.
AT91 Products Overview. 2 The Atmel AT91 Series of microcontrollers are based upon the powerful ARM7TDMI processor. Atmel has taken these cores, added.
Architecture and instruction set. Microcontroller Core Features:  Operating speed: DC - 20 MHz clock input DC ns instruction cycle Up to 8K x.
INTRODUCTION TO PIC MICROCONTROLLER. Overview and Features The term PIC stands for Peripheral Interface Controller. Microchip Technology, USA. Basically.
Microcontroller Programming
DsPIC30F4011 Fall DIP Switches  The upper four switches of SW1 are used to enable LEDs connected to PORTB/C, PORTA/D, PORTE and PORTF. For example,
Presented by Sadhish Prabhu
Features of the PIC18 microcontroller - 8-bit CPU - 2 MB program memory space (internal 32KB to 128KB) bytes to 1KB of data EEPROM - Up to 4096 bytes.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction Purpose  This course provides an introduction to the peripheral functions.
Components of a typical full-featured microcontroller.
Product Overview 박 유 진박 유 진.  Nordic Semiconductor ASA(Norway 1983)  Ultra Low Power Wireless Communication System Solution  Short Range Radio Communication(20.
AVR Architecture Prepared By: Avdhesh Soni ( ) Sarthak Patel ( ) Akshay Parekh ( ) Fenil Sachla ( ) Guided.
GROUP MEMBERS: SUMEET HOODA. RAJDEEP PATRE. DHIRAJ GAONKAR. LIVE HUMAN DETECTION USING WIRELESS REMOTE CONTROLLED ROBOT.
Modified Harvard architecture 8-bit RISC single chip microcontroller Complete System-on-a-chip On Board Memory (FLASH, SRAM & EEPROM) On Board Peripherals.
CEng3361/18 CENG 336 INT. TO EMBEDDED SYSTEMS DEVELOPMENT Spring 2007 Recitation 01.
HOME SECURITY USING WIRELESS SENSOR NETWORK UNDER THE ESTEEMED GUIDANCE OF: P.RAMESH D.SIVOM( ) KANMANI RAVI( ) B.SAI RAJSEKHAR( )
박 유 진.  2.4-GHz IEEE Compliant RF Transceiver  Excellent Receiver Sensitivity ( -97dBm) and Robustness to Interference  6-mm × 6-mm QFN40.
10- Lock Bits, Fuse Bits and Boot Loader. Boot Loader Support – Read-While-Write Self- Programming: The Boot Loader Support provides a real Read-While-Write.
Overview AvrEmbedded128_Pro RTLab. 김태현. Atmega128 Features High-performance, Low-power AVR® 8-bit Microcontroller advanced RISC Architecture – 133 Powerful.
USING TV REMOTE AS A CORDLESS MOUSE FOR THE COMPUTER
CORDLESS MOUSE FEATURES BY TV REMOTE USING PIC MICROCONTROLLER
Popular Microcontrollers and their Selection by Lachit Dutta
PIC CONTROLLED DYNAMIC TIME BASED CITY TRAFFIC SIGNAL
PORTABLE PROGRAMMABLE MEDICATION REMINDER
Medication Reminder using PIC Microcontroller
Government Engg College Bhuj E. C. Engg. Department
ATMEL AVR 8 bit RISC MICROCONTROLLERS
C. K. Pithawalla College of Engineering and Technology, Surat
DTMF BASED REMOTE INDUSTRIAL LOAD AND/OR AGRICULTURAL PUMP CONTROL
AVR ATMEGA 8 MICRO-CONTROLLER
BITS EDU. CAMPUS , VARNAMA
DENSITY BASED TRAFFIC LIGHT TIMING CONTROL
Project Title EVM IN PIC Under the Guidance of Submitted by.
میکرو کنترلر های AVR مدرس: بهمن پور
The Arduino Microcontroller: Atmel AVR Atmega 328
AVR Hardware Connections and Flash Loading
Introduction to Microprocessors and Microcontrollers
Introduction to the Atmel AVR Butterfly
Tim Sumner, Imperial College, Rm: 1009, x47552
Architectural Overview
Lecturer: Reza Arjmandi Autumn 2015
AVR – ATmega103(ATMEL) Architecture & Summary
A PROJECT ON PASSWORD BASED CONTROL SYSTEM. A PROJECT ON PASSWORD BASED CONTROL SYSTEM.
Presentation transcript:

NAM S.B MDLAB. Electronic Engineering, Kangwon National University 1

2 ATMega 128 Board

NAM S.B MDLAB. Electronic Engineering, Kangwon National University 3 KD-128PRO 개발 키트 특징 - ATMEL 사의 AVR 마이크로 컨트롤러 ATMega128 사용 ( 기본 동작 프로그램 내장 ) - AM-128PRO MCU 보드 연결하여 사용가능 - 16Mhz X-tal 사용 - 외부전원 12V 입력. 내부동작 5V 단일 전원 - ATMega128 의 모든 포트 (PORTA - PORTF) 가 10 Pin HeaderBox 로 연결되어 있음. - AM-128PRO 에 내장된 시리얼 포트로 디버깅 가능 제품 사양 - MCU : ATmega128-16AI (64 핀 TQFP 타입 ) - 클럭 : 16MHz 클럭 내장 - 크기 : 124mm * 75mm - 전원 : 12V DC 입력 - 4Digit 7-Segment 내장 - S/W 내장 - 동작 확인 LED (2EA) 내장 - 6 핀 ISP 단자 내장 - AVR-JTAG 연결 커넥터 내장 - RTC DS1307 커넥터 내장 - 전원 보호 회로 내장

NAM S.B MDLAB. Electronic Engineering, Kangwon National University 4

5

6

7

8

9

10

NAM S.B MDLAB. Electronic Engineering, Kangwon National University 11

NAM S.B MDLAB. Electronic Engineering, Kangwon National University 12 Features High-performance, Low-power AVR® 8-bit Microcontroller Advanced RISC Architecture – 133 Powerful Instructions – Most Single Clock Cycle Execution – 32 x 8 General Purpose Working Registers + Peripheral Control Registers – Fully Static Operation – Up to 16 MIPS Throughput at 16 MHz – On-chip 2-cycle Multiplier Nonvolatile Program and Data Memories – 128K Bytes of In-System Reprogrammable Flash Endurance: 10,000 Write/Erase Cycles – Optional Boot Code Section with Independent Lock Bits In-System Programming by On-chip Boot Program True Read-While-Write Operation – 4K Bytes EEPROM Endurance: 100,000 Write/Erase Cycles – 4K Bytes Internal SRAM – Up to 64K Bytes Optional External Memory Space – Programming Lock for Software Security – SPI Interface for In-System Programming JTAG (IEEE std Compliant) Interface – Boundary-scan Capabilities According to the JTAG Standard – Extensive On-chip Debug Support – Programming of Flash, EEPROM, Fuses and Lock Bits through the JTAG Interface

NAM S.B MDLAB. Electronic Engineering, Kangwon National University 13 Peripheral Features – Two 8-bit Timer/Counters with Separate Prescalers and Compare Modes – Two Expanded 16-bit Timer/Counters with Separate Prescaler, Compare Mode and Capture Mode – Real Time Counter with Separate Oscillator – Two 8-bit PWM Channels – 6 PWM Channels with Programmable Resolution from 2 to 16 Bits – Output Compare Modulator – 8-channel, 10-bit ADC 8 Single-ended Channels 7 Differential Channels 2 Differential Channels with Programmable Gain at 1x, 10x, or 200x – Byte-oriented Two-wire Serial Interface – Dual Programmable Serial USARTs – Master/Slave SPI Serial Interface – Programmable Watchdog Timer with On-chip Oscillator – On-chip Analog Comparator Special Microcontroller Features – Power-on Reset and Programmable Brown-out Detection – Internal Calibrated RC Oscillator – External and Internal Interrupt Sources – Six Sleep Modes: Idle, ADC Noise Reduction, Power-save, Power-down, Standby, and Extended Standby – Software Selectable Clock Frequency – ATmega103 Compatibility Mode Selected by a Fuse – Global Pull-up Disable

NAM S.B MDLAB. Electronic Engineering, Kangwon National University 14 I/O and Packages – 53 Programmable I/O Lines – 64-lead TQFP and 64-pad MLF Operating Voltages – V for ATmega128L – V for ATmega128 Speed Grades – MHz for ATmega128L – MHz for ATmega128

NAM S.B MDLAB. Electronic Engineering, Kangwon National University 15

NAM S.B MDLAB. Electronic Engineering, Kangwon National University 16

NAM S.B MDLAB. Electronic Engineering, Kangwon National University 17 menu bar Tool bar Navigate window Edit window

NAM S.B MDLAB. Electronic Engineering, Kangwon National University 18 (1) CodeVision 을 실행한다. 1. CodeVision Execution

NAM S.B MDLAB. Electronic Engineering, Kangwon National University 19 (2) File →New ( 새로운 프로젝트 생성 ) (3) Select the Project (4) yes 1. New project

NAM S.B MDLAB. Electronic Engineering, Kangwon National University 20 (5) Selected Chip (6) Module 생성 및 포트 선택 ( 예 : LCD:portB) (7) Module 생성 및 포트 선택 ( 예 : LCD:portB) 2. Project configuration

NAM S.B MDLAB. Electronic Engineering, Kangwon National University 21 (8) USART0 Module 을 생 성하였을 경우 (9) 송수신 선택 (10) 통신속도 선택 (11) 통신 규약 선택 2. Project configuration

NAM S.B MDLAB. Electronic Engineering, Kangwon National University 22 (12) Port I/O select 2. Project configuration

NAM S.B MDLAB. Electronic Engineering, Kangwon National University 23 (13) *.c source file Save (14) *.prj project file Save 3. File generation (13) File → Generate Save and Exit

NAM S.B MDLAB. Electronic Engineering, Kangwon National University 24 (15) *.cwp file Save 3. File generation

NAM S.B MDLAB. Electronic Engineering, Kangwon National University 25 (16) Source file 자동 생성 4. Source File

NAM S.B MDLAB. Electronic Engineering, Kangwon National University 26 (17) Project → Compile 컴파일 한다 (18) 컴파일 결과 오류가 없으면 “Ok” 5. Project Compile

NAM S.B MDLAB. Electronic Engineering, Kangwon National University 27 (17) Project → Make 실행파일 생성 (18) “Make” 결과 오류가 없으면 “Ok” 7. Make File

NAM S.B MDLAB. Electronic Engineering, Kangwon National University 28 (19) Navigation 으로 파일 확인 8. Navigation

NAM S.B MDLAB. Electronic Engineering, Kangwon National University 29 (20) PonyProg 를 실행한다. PonyProg _Excution

NAM S.B MDLAB. Electronic Engineering, Kangwon National University 30 (21) Chip 을 선택한다 PonyProg _Chip select

NAM S.B MDLAB. Electronic Engineering, Kangwon National University 31 (21) Device → Chip 선택으로 하여도 된다 PonyProg _Chip select

NAM S.B MDLAB. Electronic Engineering, Kangwon National University 32 (22) Setup → Interface Setup (23) Parallel Port 선택 AvrISP I/O 선택 LPT1 선택 (25) Parallel Port 가 정상적으로 연결되어 있으면 “Test Ok” 매시지 출력 (24) Probe 로 Parallel Port Scan PonyProg _Excution PonyProg _Interface Setup(for PC connection)

NAM S.B MDLAB. Electronic Engineering, Kangwon National University 33 (26) File → Open Device File 로 *.Hex file 을 읽어들인다 PonyProg _Device File Read(Hexa File read)

NAM S.B MDLAB. Electronic Engineering, Kangwon National University 34 (27) File → Open Device File 로 *.Hex file 을 읽어들인 다

NAM S.B MDLAB. Electronic Engineering, Kangwon National University 35 (28) Command → Write All 로 다운로드 한다. PonyProg _Device File Write

NAM S.B MDLAB. Electronic Engineering, Kangwon National University 36 Configuration of fuse bit

NAM S.B MDLAB. Electronic Engineering, Kangwon National University 37 Configuration of fuse bit

NAM S.B MDLAB. Electronic Engineering, Kangwon National University 38 Configuration of fuse bit ( 기존의 bit)

NAM S.B MDLAB. Electronic Engineering, Kangwon National University 39

NAM S.B MDLAB. Electronic Engineering, Kangwon National University 40

NAM S.B MDLAB. Electronic Engineering, Kangwon National University 41

NAM S.B MDLAB. Electronic Engineering, Kangwon National University 42

NAM S.B MDLAB. Electronic Engineering, Kangwon National University 43

NAM S.B MDLAB. Electronic Engineering, Kangwon National University 44