Clock and Fuses. Prof. Prabhat Ranjan Dhirubhai Ambani Institute of Information and Communication Technology, Gandhinagar

Size: px
Start display at page:

Download "Clock and Fuses. Prof. Prabhat Ranjan Dhirubhai Ambani Institute of Information and Communication Technology, Gandhinagar"

Transcription

1 Clock and Fuses Prof. Prabhat Ranjan Dhirubhai Ambani Institute of Information and Communication Technology, Gandhinagar

2 Reference WHY YOU NEED A CLOCK SOURCE - COLIN O FLYNN avrfreaks.net

3 Need for Clock Clock is like heartbeat for uc defining when a processor will do an instruction Normal instructions for the chip take between one to three clock cycles to complete; a clock cycle is the low-hi-low transition of the clock So the faster the clock runs, the faster the chip works However clock is not the only thing that determines the processing capability Anyway the point is that it needs something that tells the processor when it will be doing instructions (the clock)

4 Selecting a Clock Source External Clock Crystal Two pin ceramic resonator Three pin ceramic resonator Internal Oscillator

5 External Clock This one is fairly easy - all you do is to have some circuit that creates TTL compatible logic pulses, and feed those pulses into pin XTAL1 External clock could be a cesium-based atomic clock or any other source The external clock should be very clean and fall and rise times should be fast Useful for synchronizing the uc

6 Crystal The crystal is a very accurate and (in theory) simple way to get a clock Crystals do not change their value (much) with a changing external temperature Crystals are available in many frequencies and sizes, and needs two external 'load capacitors' to work

7 Two Pin Ceramic Resonator A ceramic resonator is similar to a crystal, except that it is much cheaper However as a consequence it is also not as accurate and the value can change at different temperatures An advantage is that they are less fragile than a crystal - so in high-vibration environments they can perform (fairly) well

8 Two Pin Ceramic Resonator... The ceramic resonator may not be accurate enough for reliable serial data transfer (using the UART), but sometimes it is (depends on quality) For reliable data transfer, a crystal is a better choice The two pin ceramic resonator needs two external 'loading capacitors'

9 Three Pin Ceramic Resonator The three pin ceramic resonator is similar to the two pin - except that it doesn't need the external loading capacitors as they are built in One pin of the resonator goes to ground, one to XTAL1 and one to XTAL2 (it doesn't matter which pin goes to XTAL1 or XTAL2, but the pin to ground matters!)

10 Internal Oscillator A few of the chips are given an internal RC oscillator The new 'Mega' series almost all have an internal oscillator This oscillator can vary from different chips, but one of the faults of them is that the frequency will change with changing voltage on VCC pin and temperature However one can often calibrate them for relative accuracy (still not near a crystal and not quite as good as a resonator) To use them one has to enable the proper fuse

11 Important note! Many chips have this selected by default, so even if one connects a 16 MHz crystal to AtMega128-16AC it may only be running at 1 MHz! Make sure to select the proper fuse bits if you are using a Mega series chip (as opposed to the AT90S series)

12 Selection Selection depends on application: If we need high accuracy, then external clock or crystal is the way to go If we need low cost, then internal oscillator or ceramic resonator is the way to go If we want the easiest solution, then internal oscillator or three pin ceramic resonator is the best choice

13 Clock Source Options - ATMega32

14 Clock Distribution in ATMega32

15

16 CPU Clock clk CPU The CPU clock is routed to parts of the system concerned with operation of the AVR core Examples of such modules are the General Purpose Register File, the Status Register and the data memory holding the Stack Pointer Halting the CPU clock inhibits the core from performing general operations and calculations

17 I/O Clock - clki/o I/O clock-used by majority of the I/O modules, like Timer/Counters, SPI, and USART Also used by the External Interrupt module, but note that some external interrupts are detected by asynchronous logic, allowing such interrupts to be detected even if the I/O clock is halted Address recognition in the TWI module is carried out asynchronously when clki/o is halted, enabling TWI address reception in all sleep modes.

18 Flash Clock The Flash clock controls operation of the Flash interface The Flash clock is usually active simultaneously with the CPU clock

19 Asynchronous Timer Clock The Asynchronous Timer clock allows the Asynchronous Timer/Counter to be clocked directly from an external 32 khz clock crystal The dedicated clock domain allows using this Timer/Counter as a real-time counter even when the device is in sleep mode

20 ADC Clock The ADC is provided with a dedicated clock domain This allows halting the CPU and I/O clocks in order to reduce noise generated by digital circuitry This gives more accurate ADC conversion results

21 Power Management and Sleep Modes Sleep modes enable the application to shut down unused modules in the MCU, thereby saving power The AVR provides various sleep modes allowing the user to tailor the power consumption to the application s requirements

22 MCU Control Register MCUCR SE Sleep Enable SM2..0 Sleep Mode

23 Sleep Mode Select : ATMega32

24

25 Minimizing Power Consumption There are several issues to consider when trying to minimize the power consumption in an AVR controlled system In general, sleep modes should be used as much as possible, and the sleep mode should be selected so that as few as possible of the device s functions are operating All functions not needed should be disabled In particular, the following modules may need special consideration when trying to achieve the lowest possible power consumption

26 If enabled, the ADC will be enabled in all sleep modes. To save power, the ADC should be disabled before entering any sleep mode When entering Idle mode, the Analog Comparator should be disabled if not used When entering ADC Noise Reduction mode, the Analog Comparator should be disabled In the other sleep modes, the Analog Comparator is automatically disabled

27 If the Brown-out Detector is not needed in the application, this module should be turned off Similarly most of the other blocks should be turned off or put to minimum power mode to achieve minimum power consumption

28 PicoPower AVR ultra-low power AVR microcontrollers, the ATmega169P and the ATmega165P Drawing as little as 650nA in clock sleep mode and 100nA in standby, these devices enable applications like ZigBee and keyless entry to perform for years on the same battery The new ultra low power technology for Atmel microcontrollers, dubbed "picopower", draws only 650nA low power run current with only the 32 KHz real time clock running

29 Conform to ZigBee specifications for low power operation Up to 16 MIPS performance 16 KBytes of Flash memory 512 Bytes EEPROM 1 KBytes SRAM 10-bit ADC, USART, SPI 1.8 to 5.5 volt operating voltage 340 ua in active run mode 150 ua in idle mode at 1 MHz 650 na in power-save mode with real time clock running 100 na in power-down mode Brown-out detector 4x25 segment LCD controller (ATmega169P only) 64-pin TQFP and 64-pin QFN packages

30 FUSE Settings A Fuse is a magical EEPROM bit that changes low level features and pin assignments Fuses are not mapped anywhere in memory, they can only be adjusted by a chip programmer Some pins have alternate functions that must be decided upon before a program can run and set control registers, those read their setting from a fuse

31 FUSE Settings Some famous fuses - JTAG debugging or IO Port RESET or IO Pin Anything with the oscillator/crystal Brown Out Detect (BOD) enable and BOD voltage trigger points

32

33

34 AVRDUDE : Fuse programming avrdude -p m128 -U flash:w:diag.hex \ > -U eeprom:w:eeprom.hex \ > -U efuse:w:0xff:m \ > -U hfuse:w:0x89:m \ > -U lfuse:w:0x2e:m

Arduino Uno R3 INTRODUCTION

Arduino Uno R3 INTRODUCTION Arduino Uno R3 INTRODUCTION Arduino is used for building different types of electronic circuits easily using of both a physical programmable circuit board usually microcontroller and piece of code running

More information

Lecture 14. Ali Karimpour Associate Professor Ferdowsi University of Mashhad

Lecture 14. Ali Karimpour Associate Professor Ferdowsi University of Mashhad Lecture 14 AUTOMATIC CONTROL SYSTEMS Ali Karimpour Associate Professor Ferdowsi University of Mashhad Lecture 4 The AVR Microcontroller Introduction to AVR CISC (Complex Instruction Set Computer) Put as

More information

AVR XMEGA Product Line Introduction AVR XMEGA TM. Product Introduction.

AVR XMEGA Product Line Introduction AVR XMEGA TM. Product Introduction. AVR XMEGA TM Product Introduction 32-bit AVR UC3 AVR Flash Microcontrollers The highest performance AVR in the world 8/16-bit AVR XMEGA Peripheral Performance 8-bit megaavr The world s most successful

More information

ATmega128. Introduction

ATmega128. Introduction ATmega128 Introduction AVR Microcontroller 8-bit microcontroller released in 1997 by Atmel which was founded in 1984. The AVR architecture was conceived by two students (Alf-Egil Bogen, Vergard-Wollen)

More information

ARDUINO MEGA INTRODUCTION

ARDUINO MEGA INTRODUCTION ARDUINO MEGA INTRODUCTION The Arduino MEGA 2560 is designed for projects that require more I/O llines, more sketch memory and more RAM. With 54 digital I/O pins, 16 analog inputs so it is suitable for

More information

8. Power Management and Sleep Modes

8. Power Management and Sleep Modes 8. Power Management and Sleep Modes 8.1 Features Power management for adjusting power consumption and functions Five sleep modes Idle Power down Power save Standby Extended standby Power reduction register

More information

Figure 1.1: Some embedded device. In this course we shall learn microcontroller and FPGA based embedded system.

Figure 1.1: Some embedded device. In this course we shall learn microcontroller and FPGA based embedded system. Course Code: EEE 4846 International Islamic University Chittagong (IIUC) Department of Electrical and Electronic Engineering (EEE) Course Title: Embedded System Sessional Exp. 1: Familiarization with necessary

More information

AVR XMEGA TM. A New Reference for 8/16-bit Microcontrollers. Ingar Fredriksen AVR Product Marketing Director

AVR XMEGA TM. A New Reference for 8/16-bit Microcontrollers. Ingar Fredriksen AVR Product Marketing Director AVR XMEGA TM A New Reference for 8/16-bit Microcontrollers Ingar Fredriksen AVR Product Marketing Director Kristian Saether AVR Product Marketing Manager Atmel AVR Success Through Innovation First Flash

More information

AVR Microcontrollers Architecture

AVR Microcontrollers Architecture ก ก There are two fundamental architectures to access memory 1. Von Neumann Architecture 2. Harvard Architecture 2 1 Harvard Architecture The term originated from the Harvard Mark 1 relay-based computer,

More information

AVR Training Board-I. VLSI Design Lab., Konkuk Univ. LSI Design Lab

AVR Training Board-I. VLSI Design Lab., Konkuk Univ. LSI Design Lab AVR Training Board-I V., Konkuk Univ. Tae Pyeong Kim What is microcontroller A microcontroller is a small, low-cost computeron-a-chip which usually includes: An 8 or 16 bit microprocessor (CPU). A small

More information

VLSI Design Lab., Konkuk Univ. Yong Beom Cho LSI Design Lab

VLSI Design Lab., Konkuk Univ. Yong Beom Cho LSI Design Lab AVR Training Board-I V., Konkuk Univ. Yong Beom Cho ybcho@konkuk.ac.kr What is microcontroller A microcontroller is a small, low-cost computeron-a-chip which usually includes: An 8 or 16 bit microprocessor

More information

MICROPROCESSOR BASED SYSTEM DESIGN

MICROPROCESSOR BASED SYSTEM DESIGN MICROPROCESSOR BASED SYSTEM DESIGN Lecture 5 Xmega 128 B1: Architecture MUHAMMAD AMIR YOUSAF VON NEUMAN ARCHITECTURE CPU Memory Execution unit ALU Registers Both data and instructions at the same system

More information

AVR- M16 development board Users Manual

AVR- M16 development board Users Manual AVR- M16 development board Users Manual All boards produced by Olimex are ROHS compliant Rev. C, January 2005 Copyright(c) 2009, OLIMEX Ltd, All rights reserved Page1 INTRODUCTION AVR-M16 is header board

More information

LBAT90USB162 Atmel. LBAT90USB162 Development Board User s Manual

LBAT90USB162 Atmel. LBAT90USB162 Development Board User s Manual LBAT90USB162 Atmel AT90USB162 Development Board User s manual 1 1. INTRODUCTION Thank you for choosing the LBAT90USB162 Atmel AT90USB162 development board. This board is designed to give quick and cost-effective

More information

The Atmel ATmega328P Microcontroller

The Atmel ATmega328P Microcontroller Ming Hsieh Department of Electrical Engineering EE 459Lx - Embedded Systems Design Laboratory 1 Introduction The Atmel ATmega328P Microcontroller by Allan G. Weber This document is a short introduction

More information

SBAT90USB162 Atmel. SBAT90USB162 Development Board User s Manual

SBAT90USB162 Atmel. SBAT90USB162 Development Board User s Manual SBAT90USB162 Atmel AT90USB162 Development Board User s manual 1 1. INTRODUCTION Thank you for choosing the SBAT90USB162 Atmel AT90USB162 development board. This board is designed to give a quick and cost-effective

More information

Doc: page 1 of 8

Doc: page 1 of 8 Minicon Reference Manual Revision: February 9, 2009 Note: This document applies to REV C of the board. 215 E Main Suite D Pullman, WA 99163 (509) 334 6306 Voice and Fax Overview The Minicon board is a

More information

8051 Microcontroller

8051 Microcontroller 8051 Microcontroller The 8051, Motorola and PIC families are the 3 leading sellers in the microcontroller market. The 8051 microcontroller was originally developed by Intel in the late 1970 s. Today many

More information

The Atmel ATmega168A Microcontroller

The Atmel ATmega168A Microcontroller Ming Hsieh Department of Electrical Engineering EE 459Lx - Embedded Systems Design Laboratory The Atmel ATmega168A Microcontroller by Allan G. Weber 1 Introduction The Atmel ATmega168A is one member of

More information

Mega128-DEVelopment Board Progressive Resources LLC 4105 Vincennes Road Indianapolis, IN (317) (317) FAX

Mega128-DEVelopment Board Progressive Resources LLC 4105 Vincennes Road Indianapolis, IN (317) (317) FAX Mega128-DEVelopment Board Progressive Resources LLC 4105 Vincennes Road Indianapolis, IN 46268 (317) 471-1577 (317) 471-1580 FAX http://www.prllc.com GENERAL The Mega128-Development board is designed for

More information

An Arduino Controlled 1 Hz to 60 MHz Signal Generator

An Arduino Controlled 1 Hz to 60 MHz Signal Generator An Arduino Controlled 1 Hz to 60 MHz Signal Generator Greg McIntire, AA5C AA5C@arrl.net WWW..ORG 1 Objectives Build a standalone 60 MHz signal generator based on the DDS-60 board. Originally controlled

More information

LAMPIRAN. Universitas Sumatera Utara

LAMPIRAN. Universitas Sumatera Utara LAMPIRAN 35 Features 2. High-performance, Low-power AVR 8-bit Microcontroller 3. Advanced RISC Architecture 131 Powerful Instructions Most Single-clock Cycle Execution 32 x 8 General Purpose Working Registers

More information

8-bit Microcontroller with 1K Bytes Flash. ATtiny10 ATtiny11 ATtiny12. Preliminary. Features. Pin Configuration

8-bit Microcontroller with 1K Bytes Flash. ATtiny10 ATtiny11 ATtiny12. Preliminary. Features. Pin Configuration Features Utilizes the AVR RISC Architecture High-performance and Low-power 8-bit RISC Architecture 90 Powerful Instructions - Most Single Clock Cycle Execution 32 x 8 General Purpose Working Registers

More information

8-bit Microcontroller with 1K Byte Flash. ATtiny11. ATtiny12

8-bit Microcontroller with 1K Byte Flash. ATtiny11. ATtiny12 Features Utilizes the AVR RISC Architecture High-performance and Low-power 8-bit RISC Architecture 90 Powerful Instructions Most Single Clock Cycle Execution 32 x 8 General Purpose Working Registers Up

More information

Doc: page 1 of 6

Doc: page 1 of 6 Nanocon Reference Manual Revision: February 9, 2009 Note: This document applies to REV A-B of the board. 215 E Main Suite D Pullman, WA 99163 (509) 334 6306 Voice and Fax Overview The Nanocon board is

More information

XMEGA Series Of AVR Processor. Presented by: Manisha Biyani ( ) Shashank Bolia (

XMEGA Series Of AVR Processor. Presented by: Manisha Biyani ( ) Shashank Bolia ( XMEGA Series Of AVR Processor Presented by: Manisha Biyani (200601217) Shashank Bolia (200601200 Existing Microcontrollers Problems with 8/16 bit microcontrollers: Old and inefficient architecture. Most

More information

Hello, and welcome to this presentation of the STM32L4 power controller. The STM32L4 s power management functions and all power modes will also be

Hello, and welcome to this presentation of the STM32L4 power controller. The STM32L4 s power management functions and all power modes will also be Hello, and welcome to this presentation of the STM32L4 power controller. The STM32L4 s power management functions and all power modes will also be covered in this presentation. 1 Please note that this

More information

Cerebot Nano Reference Manual. Overview. Revised April 15, 2016 This manual applies to the Cerebot Nano rev. A

Cerebot Nano Reference Manual. Overview. Revised April 15, 2016 This manual applies to the Cerebot Nano rev. A 1300 Henley Court Pullman, WA 99163 509.334.6306 www.digilentinc.com Cerebot Nano Reference Manual Revised April 15, 2016 This manual applies to the Cerebot Nano rev. A Overview The Cerebot Nano is the

More information

8-bit Microcontroller with 8K Bytes Programmable Flash AT90C8534. Preliminary

8-bit Microcontroller with 8K Bytes Programmable Flash AT90C8534. Preliminary Features Utilizes the AVR RISC Architecture AVR High-performance and Low-power RISC Architecture 118 Powerful Instructions Most Single Clock Cycle Execution 32 x 8 General-purpose Working Registers Up

More information

More than Compatibility

More than Compatibility More than Compatibility MassDuino MD-328D 8-bit Microcontroller with 32K bytes In-System Programmable Flash www.inhaos.com DOC ID: DS-MD-328D-V01-20160412 www.inhaos.com Page: 1 of 10 Features: More Fast

More information

[MG2420] MCU Module Datasheet. (No. ADS0705) V1.0

[MG2420] MCU Module Datasheet. (No. ADS0705) V1.0 [MG2420] MCU Module Datasheet (No. ADS0705) V1.0 REVISION HISTORY Version Date Description VER.1.0 2013.10.22 First version release. V1.0 Page:2/17 CONTENTS 1. INTRODUCTION... 4 1.1. DEFINITIONS... 4 2.

More information

MegaAVR-DEVelopment Board Progressive Resources LLC 4105 Vincennes Road Indianapolis, IN (317) (317) FAX

MegaAVR-DEVelopment Board Progressive Resources LLC 4105 Vincennes Road Indianapolis, IN (317) (317) FAX MegaAVR-DEVelopment Board Progressive Resources LLC 4105 Vincennes Road Indianapolis, IN 46268 (317) 471-1577 (317) 471-1580 FAX http://www.prllc.com GENERAL The MegaAVR-Development board is designed for

More information

INTERRUPT, TIMER/COUNTER. KONKUK UNIV. VLSI Design Lab. LSI Design Lab

INTERRUPT, TIMER/COUNTER. KONKUK UNIV. VLSI Design Lab. LSI Design Lab INTERRUPT, TIMER/COUNTER KONKUK UNIV. V. 1 INTERRUPT 의개요 외부의요구에의해서현재실행중인프로그램을일시중지하고보다시급한작업을먼저수행한후다시원래의프로그램으로복귀하는것. EX) 스타를하다가택배가오면스타를일시중지하고택배를받은후다시스타를진행함. Interrupt 방식 : 택배아저씨가초인종을눌러줌. Polling 방식 : 택배아저씨가오는지일정시간간격으로살펴봄.

More information

Ali Karimpour Associate Professor Ferdowsi University of Mashhad

Ali Karimpour Associate Professor Ferdowsi University of Mashhad AUTOMATIC CONTROL SYSTEMS Ali Karimpour Associate Professor Ferdowsi University of Mashhad Main reference: Christopher T. Kilian, (2001), Modern Control Technology: Components and Systems Publisher: Delmar

More information

AVR-TLCD-128CAN development board Users Manual

AVR-TLCD-128CAN development board Users Manual AVR-TLCD-128CAN development board Users Manual Rev.A, July 2008 Copyright(c) 2008, OLIMEX Ltd, All rights reserved INTRODUCTION: AVR-TLCD-128CAN adds cool LCD and touchscreen interface to your next project.

More information

Doc: page 1 of 6

Doc: page 1 of 6 Cerebot Nano Reference Manual Revision: February 6, 2009 Note: This document applies to REV A of the board. www.digilentinc.com 215 E Main Suite D Pullman, WA 99163 (509) 334 6306 Voice and Fax Overview

More information

3.3V regulator. JA H-bridge. Doc: page 1 of 7

3.3V regulator. JA H-bridge. Doc: page 1 of 7 Digilent Cerebot Board Reference Manual Revision: 11/17/2005 www.digilentinc.com 215 E Main Suite D Pullman, WA 99163 (509) 334 6306 Voice and Fax Overview The Digilent Cerebot Board is a useful tool for

More information

Introduction to Microcontroller Apps for Amateur Radio Projects Using the HamStack Platform.

Introduction to Microcontroller Apps for Amateur Radio Projects Using the HamStack Platform. Introduction to Microcontroller Apps for Amateur Radio Projects Using the HamStack Platform www.sierraradio.net www.hamstack.com Topics Introduction Hardware options Software development HamStack project

More information

PIC16F87X. 28/40-pin 8-Bit CMOS FLASH Microcontrollers. Devices Included in this Data Sheet: Pin Diagram PDIP. Microcontroller Core Features:

PIC16F87X. 28/40-pin 8-Bit CMOS FLASH Microcontrollers. Devices Included in this Data Sheet: Pin Diagram PDIP. Microcontroller Core Features: PIC16F7X 2/40-pin -Bit CMOS FLASH Microcontrollers Devices Included in this Data Sheet: PIC16F7 PIC16F74 PIC16F76 PIC16F77 Microcontroller Core Features: High-performance RISC CPU Only 5 single word instructions

More information

DBAT90USB162 Atmel. DBAT90USB162 Enhanced Development Board User s Manual

DBAT90USB162 Atmel. DBAT90USB162 Enhanced Development Board User s Manual DBAT90USB162 Atmel AT90USB162 Enhanced Development Board User s manual 1 1. INTRODUCTION Thank you for choosing the DBAT90USB162 Atmel AT90USB162 enhanced development board. This board is designed to give

More information

AVR134: Real Time Clock (RTC) Using the Asynchronous Timer. Features. Introduction. AVR 8-bit Microcontrollers APPLICATION NOTE

AVR134: Real Time Clock (RTC) Using the Asynchronous Timer. Features. Introduction. AVR 8-bit Microcontrollers APPLICATION NOTE AVR 8-bit Microcontrollers AVR134: Real Time Clock (RTC) Using the Asynchronous Timer APPLICATION NOTE Features Real Time Clock with Very Low Power Consumption (10µA @ 3.3V) Very Low Cost Solution Adjustable

More information

TEVATRON TECHNOLOGIES PVT. LTD Embedded! Robotics! IoT! VLSI Design! Projects! Technical Consultancy! Education! STEM! Software!

TEVATRON TECHNOLOGIES PVT. LTD Embedded! Robotics! IoT! VLSI Design! Projects! Technical Consultancy! Education! STEM! Software! Summer Training 2016 Advance Embedded Systems Fast track of AVR and detailed working on STM32 ARM Processor with RTOS- Real Time Operating Systems Covering 1. Hands on Topics and Sessions Covered in Summer

More information

Product Change Notification

Product Change Notification Product Change Notification Product Change Notification Number: WC131401 Notification Date: April 23, 2013 Title: Die Revision Change for ATxmega128D3 Product Identification: ATxmega128D3-MH ATxmega128D3-MHR

More information

AVR MICROCONTROLLER ARCHITECTURTE

AVR MICROCONTROLLER ARCHITECTURTE AVR MICROCONTROLLER ARCHITECTURTE AVR MICROCONTROLLER AVR- Advanced Virtual RISC. The founders are Alf Egil Bogen Vegard Wollan RISC AVR architecture was conceived by two students at Norwegian Institute

More information

8-bit Microcontroller with 4K Bytes In-System Programmable Flash. ATtiny40. Preliminary

8-bit Microcontroller with 4K Bytes In-System Programmable Flash. ATtiny40. Preliminary Features High Performance, Low Power AVR 8-Bit Microcontroller Advanced RISC Architecture 54 Powerful Instructions Most Single Clock Cycle Execution 16 x 8 General Purpose Working Registers Fully Static

More information

Arduino Uno. Arduino Uno R3 Front. Arduino Uno R2 Front

Arduino Uno. Arduino Uno R3 Front. Arduino Uno R2 Front Arduino Uno Arduino Uno R3 Front Arduino Uno R2 Front Arduino Uno SMD Arduino Uno R3 Back Arduino Uno Front Arduino Uno Back Overview The Arduino Uno is a microcontroller board based on the ATmega328 (datasheet).

More information

Embedded Systems and Software

Embedded Systems and Software Embedded Systems and Software Lecture 12 Some Hardware Considerations Hardware Considerations Slide 1 Logic States Digital signals may be in one of three states State 1: High, or 1. Using positive logic

More information

Mega128-Net Mega128-Net Mega128 AVR Boot Loader Mega128-Net

Mega128-Net Mega128-Net Mega128 AVR Boot Loader Mega128-Net Mega128-Net Development Board Progressive Resources LLC 4105 Vincennes Road Indianapolis, IN 46268 (317) 471-1577 (317) 471-1580 FAX http://www.prllc.com GENERAL The Mega128-Net development board is designed

More information

ARDUINO UNO REV3 SMD Code: A The board everybody gets started with, based on the ATmega328 (SMD).

ARDUINO UNO REV3 SMD Code: A The board everybody gets started with, based on the ATmega328 (SMD). ARDUINO UNO REV3 SMD Code: A000073 The board everybody gets started with, based on the ATmega328 (SMD). The Arduino Uno SMD R3 is a microcontroller board based on the ATmega328. It has 14 digital input/output

More information

ATxmega64D3 Automotive

ATxmega64D3 Automotive ATxmega64D3 Automotive 8/16-bit Atmel AVR XMEGA D3 Microcontroller DATASHEET Features High-performance, low-power Atmel AVR XMEGA 8/16-bit Microcontroller Nonvolatile program and data memories 64Kbytes

More information

ARDUINO MEGA 2560 REV3 Code: A000067

ARDUINO MEGA 2560 REV3 Code: A000067 ARDUINO MEGA 2560 REV3 Code: A000067 The MEGA 2560 is designed for more complex projects. With 54 digital I/O pins, 16 analog inputs and a larger space for your sketch it is the recommended board for 3D

More information

8/16-bit Atmel AVR XMEGA Microcontrollers

8/16-bit Atmel AVR XMEGA Microcontrollers 8/16-bit Atmel AVR XMEGA Microcontrollers ATxmega32E5 / ATxmega16E5 / ATxmega8E5 DATASHEET Features High-performance, low-power Atmel AVR XMEGA 8/16-bit Microcontroller Nonvolatile program and data memories

More information

ATxmega384C3. 8/16-bit Atmel XMEGA C3 Microcontroller. Features

ATxmega384C3. 8/16-bit Atmel XMEGA C3 Microcontroller. Features 8/16-bit Atmel XMEGA C3 Microcontroller ATxmega384C3 Features High-performance, low-power Atmel AVR XMEGA 8/16-bit Microcontroller Nonvolatile program and data memories 384KBytes of in-system self-programmable

More information

PIC Microcontroller Introduction

PIC Microcontroller Introduction PIC Microcontroller Introduction The real name of this microcontroller is PICmicro (Peripheral Interface Controller), but it is better known as PIC. Its first ancestor was designed in 1975 by General Instruments.

More information

Building Interactive Devices and Objects. Prof. Dr. Michael Rohs, Dipl.-Inform. Sven Kratz MHCI Lab, LMU München

Building Interactive Devices and Objects. Prof. Dr. Michael Rohs, Dipl.-Inform. Sven Kratz MHCI Lab, LMU München Building Interactive Devices and Objects Prof. Dr. Michael Rohs, Dipl.-Inform. Sven Kratz michael.rohs@ifi.lmu.de MHCI Lab, LMU München Schedule # Date Topic Group Ac0vity 1 19.4.2012 Session 1: Introduc5on

More information

8/16-bit Atmel XMEGA A3U Microcontroller

8/16-bit Atmel XMEGA A3U Microcontroller Features High-performance, low-power Atmel AVR XMEGA 8/16-bit Microcontroller Nonvolatile program and data memories 64K - 256KBytes of in-system self-programmable flash 4K - 8KBytes boot section 2K - 4KBytes

More information

AVR097: Migration between ATmega128 and ATmega1281/ATmega bit Microcontrollers. Application Note. Features. 1 Introduction

AVR097: Migration between ATmega128 and ATmega1281/ATmega bit Microcontrollers. Application Note. Features. 1 Introduction AVR097: Migration between ATmega128 and ATmega1281/ATmega2561 Features General Porting Considerations Memory Clock sources Interrupts Power Management BOD WDT Timers/Counters USART & SPI ADC Analog Comparator

More information

8/16-bit Atmel XMEGA B3 Microcontroller

8/16-bit Atmel XMEGA B3 Microcontroller Features High-performance, low-power Atmel AVR XMEGA 8/16-bit Microcontroller Nonvolatile program and data memories 64K - 128K Bytes of in-system self-programmable flash 4K - 8K Bytes boot section 2K Bytes

More information

Network Embedded Systems Sensor Networks Fall Hardware. Marcus Chang,

Network Embedded Systems Sensor Networks Fall Hardware. Marcus Chang, Network Embedded Systems Sensor Networks Fall 2013 Hardware Marcus Chang, mchang@cs.jhu.edu 1 Embedded Systems Designed to do one or a few dedicated and/or specific functions Embedded as part of a complete

More information

Introducing STM32 L0x Series. April

Introducing STM32 L0x Series. April Introducing STM32 L0x Series April 2014 www.emcu.it 20- to 80pins 20- to 100pins 48- to 144pins Memory size (Bytes) ST s Ultra-low-power Continuum (1/2) 2 512K 256K 192K STM32L0 Cortex TM -M0+ STM32L1

More information

Ali Karimpour Associate Professor Ferdowsi University of Mashhad

Ali Karimpour Associate Professor Ferdowsi University of Mashhad AUTOMATIC CONTROL SYSTEMS Ali Karimpour Associate Professor Ferdowsi University of Mashhad Main reference: Christopher T. Kilian, (2001), Modern Control Technology: Components and Systems Publisher: Delmar

More information

Mohammad Shaffi 1, D Ravi Nayak 2. Dadi Institute of Engineering & Technology,

Mohammad Shaffi 1, D Ravi Nayak 2. Dadi Institute of Engineering & Technology, A Novel Architecture For Measurement of Temperature, Relative Humidity, and Display of Scrolling Message On LED Display By Using Bluetooth Interface With Arduino Nano. Mohammad Shaffi 1, D Ravi Nayak 2

More information

8/16-bit Atmel XMEGA D4 Microcontroller

8/16-bit Atmel XMEGA D4 Microcontroller Features High-performance, low-power Atmel AVR XMEGA 8/16-bit Microcontroller Nonvolatile program and data memories 16K - 128KBytes of in-system self-programmable flash 4K - 8KBytes boot section 1K - 2KBytes

More information

VCC PB2 (SCK/ADC1/T0/PCINT2) PB1 (MISO/AIN1/OC0B/INT0/PCINT1) PB0 (MOSI/AIN0/OC0A/PCINT0)

VCC PB2 (SCK/ADC1/T0/PCINT2) PB1 (MISO/AIN1/OC0B/INT0/PCINT1) PB0 (MOSI/AIN0/OC0A/PCINT0) Features High Performance, Low Power AVR 8-Bit Microcontroller Advanced RISC Architecture 120 Powerful Instructions Most Single Clock Cycle Execution 32 x 8 General Purpose Working Registers Fully Static

More information

Hardware Manual. Crumb128. Rapid Prototyping Module with the Atmega128 AVR Microcontroller

Hardware Manual. Crumb128. Rapid Prototyping Module with the Atmega128 AVR Microcontroller Hardware Manual Crumb128 Rapid Prototyping Module with the Atmega128 AVR Microcontroller Version 1.1 Copyright 2004 Dr. Erik Lins, Development and Distribution of Hardware and Software. All right reserved.

More information

8-bit Microcontroller with 2K Bytes Flash. ATtiny26 ATtiny26L

8-bit Microcontroller with 2K Bytes Flash. ATtiny26 ATtiny26L Features High-performance, Low-power AVR 8-bit Microcontroller RISC Architecture 118 Powerful Instructions Most Single Clock Cycle Execution 32 x 8 General Purpose Working Registers Fully Static Operation

More information

ATxmega128B3 / ATxmega64B3

ATxmega128B3 / ATxmega64B3 8/16-bit Atmel XMEGA B3 Microcontroller ATxmega128B3 / ATxmega64B3 Features High-performance, low-power Atmel AVR XMEGA 8/16-bit Microcontroller Nonvolatile program and data memories 64K - 128KBytes of

More information

ARDUINO MEGA ADK REV3 Code: A000069

ARDUINO MEGA ADK REV3 Code: A000069 ARDUINO MEGA ADK REV3 Code: A000069 OVERVIEW The Arduino MEGA ADK is a microcontroller board based on the ATmega2560. It has a USB host interface to connect with Android based phones, based on the MAX3421e

More information

AVR Microcontroller with Core Independent Peripherals and PicoPower technology

AVR Microcontroller with Core Independent Peripherals and PicoPower technology AVR Microcontroller with Core Independent Peripherals and PicoPower technology Introduction The picopower ATmega324PB is a low-power CMOS 8-bit microcontroller based on the AVR enhanced RISC architecture.

More information

8-bit Microcontroller with 2K Bytes of In-System Programmable Flash AT90S2323 AT90LS2323 AT90S2343 AT90S/LS2323. Features.

8-bit Microcontroller with 2K Bytes of In-System Programmable Flash AT90S2323 AT90LS2323 AT90S2343 AT90S/LS2323. Features. Features Utilizes the AVR RISC Architecture AVR - High-performance and Low-power RISC Architecture 118 Powerful Instructions - Most Single Clock Cycle Execution 32 x 8 General Purpose Working Registers

More information

ARDUINO UNO REV3 Code: A000066

ARDUINO UNO REV3 Code: A000066 ARDUINO UNO REV3 Code: A000066 The UNO is the best board to get started with electronics and coding. If this is your first experience tinkering with the platform, the UNO is the most robust board you can

More information

Let s first take a look at power consumption and its relationship to voltage and frequency. The equation for power consumption of the MCU as it

Let s first take a look at power consumption and its relationship to voltage and frequency. The equation for power consumption of the MCU as it 1 The C8051F91x/0x product family is designed to dramatically increase battery lifetime which is the number one requirement for most battery powered applications. The C8051F91x has the industry s lowest

More information

AVR FLASH MICROCONTROLLERS. Atmel Corporation

AVR FLASH MICROCONTROLLERS. Atmel Corporation AVR FLASH MICROCONTROLLERS Atmel Corporation General Introduction to AVR AVR Standard Products Existing and New General Purpose Microcontrollers JTAG, Self Programming, LCD interface LCD Interface - A

More information

Wireless Sensor Networks. FireFly 2.2 Datasheet

Wireless Sensor Networks. FireFly 2.2 Datasheet 2.2 Datasheet July 6, 2010 This page intentionally left blank. Contents 1. INTRODUCTION...1 Features...1 Applications...2 2. BLOCK DIAGRAM...3 3. HARDWARE CONNECTIONS...4 Power...5 Header 1 ( UARTS, I2C,

More information

Microcontroller basics

Microcontroller basics FYS3240 PC-based instrumentation and microcontrollers Microcontroller basics Spring 2017 Lecture #4 Bekkeng, 30.01.2017 Lab: AVR Studio Microcontrollers can be programmed using Assembly or C language In

More information

ATxmega32E5/16E5/8E5. XMEGA E5 Data Sheet. Introduction. Features

ATxmega32E5/16E5/8E5. XMEGA E5 Data Sheet. Introduction. Features XMEGA E5 Data Sheet ATxmega32E5/16E5/8E5 Introduction The AVR XMEGA E5 is a family of low power, high performance, and peripheral rich 8/16-bit microcontrollers based on the AVR enhanced RISC architecture.

More information

Wasp Embedded Controller

Wasp Embedded Controller Wasp Embedded Controller Wasp16/32/64 Hardware Reference Guide PCB Rev 1.0 WASP16 WASP32 WASP64 MC433 Hardware Reference Guide Manual Revision 0.85 Table of Contents Warranty Statement...2 1.0 Introduction....4

More information

APPLICATION NOTE. AT11008: Migration from ATxmega16D4/32D4 Revision E to Revision I. Atmel AVR XMEGA. Introduction. Features

APPLICATION NOTE. AT11008: Migration from ATxmega16D4/32D4 Revision E to Revision I. Atmel AVR XMEGA. Introduction. Features APPLICATION NOTE AT11008: Migration from ATxmega16D4/32D4 Revision E to Revision I Atmel AVR XMEGA Introduction This application note lists out the differences and changes between Revision E and Revision

More information

8-bit Microcontroller. Application Note. AVR134: Real-Time Clock (RTC) using the Asynchronous Timer. Features. Theory of Operation.

8-bit Microcontroller. Application Note. AVR134: Real-Time Clock (RTC) using the Asynchronous Timer. Features. Theory of Operation. AVR134: Real-Time Clock (RTC) using the Asynchronous Timer Features Real-Time Clock with Very Low Power Consumption (4µA @ 3.3V) Very Low Cost Solution Adjustable Prescaler to Adjust Precision Counts Time,

More information

8-bit Microcontroller with 2K Bytes of Flash. ATtiny28L ATtiny28V

8-bit Microcontroller with 2K Bytes of Flash. ATtiny28L ATtiny28V Features Utilizes the AVR RISC Architecture AVR High-performance and Low-power RISC Architecture 90 Powerful Instructions Most Single Clock Cycle Execution 32 x 8 General-purpose Working Registers Up to

More information

STM8L and STM32 L1 series. Ultra-low-power platform

STM8L and STM32 L1 series. Ultra-low-power platform STM8L and STM32 L1 series Ultra-low-power platform 8-bit and 32-bit MCU families 2 Flash (bytes) 2 M 1 M 128 K 16 K 8-bit Core STM8S Mainstream STM8A F and STM8AL Automotive STM8L Ultra-low-power 32-bit

More information

8-bit Microcontroller with 2K Bytes Flash. ATtiny26 ATtiny26L. Preliminary. Features

8-bit Microcontroller with 2K Bytes Flash. ATtiny26 ATtiny26L. Preliminary. Features Features High-performance, Low-power AVR 8-bit Microcontroller RISC Architecture 118 Powerful Instructions Most Single Clock Cycle Execution 32 x 8 General Purpose Working Registers Fully Static Operation

More information

FIFTH SEMESTER DIPLOMA EXAMINATION IN ENGINEERING/ TECHNOLOGY-MARCH 2014 EMBEDDED SYSTEMS (Common for CT,CM) [Time: 3 hours] (Maximum marks : 100)

FIFTH SEMESTER DIPLOMA EXAMINATION IN ENGINEERING/ TECHNOLOGY-MARCH 2014 EMBEDDED SYSTEMS (Common for CT,CM) [Time: 3 hours] (Maximum marks : 100) (Revision-10) FIFTH SEMESTER DIPLOMA EXAMINATION IN ENGINEERING/ TECHNOLOGY-MARCH 2014 EMBEDDED SYSTEMS (Common for CT,CM) [Time: 3 hours] (Maximum marks : 100) PART-A (Maximum marks : 10) I. Answer all

More information

8-bit Microcontroller with 1K Byte Flash. ATtiny15L

8-bit Microcontroller with 1K Byte Flash. ATtiny15L Features High-performance, Low-power AVR 8-bit Microcontroller Advanced RISC Architecture 90 Powerful Instructions Most Single Clock Cycle Execution 32 x 8 General Purpose Working Registers Fully Static

More information

ARDUINO LEONARDO WITH HEADERS Code: A000057

ARDUINO LEONARDO WITH HEADERS Code: A000057 ARDUINO LEONARDO WITH HEADERS Code: A000057 Similar to an Arduino UNO, can be recognized by computer as a mouse or keyboard. The Arduino Leonardo is a microcontroller board based on the ATmega32u4 (datasheet).

More information

Arduino ADK Rev.3 Board A000069

Arduino ADK Rev.3 Board A000069 Arduino ADK Rev.3 Board A000069 Overview The Arduino ADK is a microcontroller board based on the ATmega2560 (datasheet). It has a USB host interface to connect with Android based phones, based on the MAX3421e

More information

CN310 Microprocessor Systems Design

CN310 Microprocessor Systems Design CN310 Microprocessor Systems Design Microcontroller Nawin Somyat Department of Electrical and Computer Engineering Thammasat University Outline Course Contents 1 Introduction 2 Simple Computer 3 Microprocessor

More information

Embedded AVR Microcontroller Including RF Transmitter and Immobilizer LF Functionality for Remote Keyless Entry ATA5795. Summary.

Embedded AVR Microcontroller Including RF Transmitter and Immobilizer LF Functionality for Remote Keyless Entry ATA5795. Summary. Features AES-128 Immobilizer Transponder for Use in Contactless Mode CMMI Certified. Configurable, Secure, Open Source Immobilizer Stack Energy Supply and Bi-directional Communication via LF Link (125

More information

AVR42772: Data Logger Demo Application on XMEGA A1U Xplained Pro. Introduction. Features. AVR XMEGA Microcontrollers APPLICATION NOTE

AVR42772: Data Logger Demo Application on XMEGA A1U Xplained Pro. Introduction. Features. AVR XMEGA Microcontrollers APPLICATION NOTE AVR XMEGA Microcontrollers AVR42772: Data Logger Demo Application on XMEGA A1U Xplained Pro APPLICATION NOTE Introduction This application note covers some of the power saving features of the Atmel XMEGA

More information

keyestudio Keyestudio MEGA 2560 R3 Board

keyestudio Keyestudio MEGA 2560 R3 Board Keyestudio MEGA 2560 R3 Board Introduction: Keyestudio Mega 2560 R3 is a microcontroller board based on the ATMEGA2560-16AU, fully compatible with ARDUINO MEGA 2560 REV3. It has 54 digital input/output

More information

Hello, and welcome to this presentation of the STM32 Real- Time Clock. It covers the main features of this peripheral, which is used to provide a

Hello, and welcome to this presentation of the STM32 Real- Time Clock. It covers the main features of this peripheral, which is used to provide a Hello, and welcome to this presentation of the STM32 Real- Time Clock. It covers the main features of this peripheral, which is used to provide a very accurate time base. 1 The RTC peripheral features

More information

10. Battery Backup System

10. Battery Backup System 10. Battery Backup System 10.1 Features Integrated battery backup system ensuring continuos, real-time clock during main power failure Battery backup power supply from dedicated V BAT pin to power: One

More information

Microcontroller Based Digital Clock

Microcontroller Based Digital Clock Daffodil International University Institutional Repository Electrical and Electronic Engineering Project Report of B.Sc in EEE 2014-07-08 Microcontroller Based Digital Clock Islam, Md. Tamzidul http://hdl.handle.net/20.500.11948/1052

More information

Driver Fatigue Detection System Using MEMS Technology

Driver Fatigue Detection System Using MEMS Technology Vaishali B dhabale* et al. ISSN: 2250-3676 [IJESAT] [International Journal of Engineering Science & Advanced Technology] Volume-5, Issue-2, 060-064 Driver Fatigue Detection System Using MEMS Technology

More information

Basic Components of Digital Computer

Basic Components of Digital Computer Digital Integrated Circuits & Microcontrollers Sl. Mihnea UDREA, mihnea@comm.pub.ro Conf. Mihai i STANCIU, ms@elcom.pub.ro 1 Basic Components of Digital Computer CPU (Central Processing Unit) Control and

More information

8-bit Microcontroller with 1K Byte of In-System Programmable Flash AT90S1200

8-bit Microcontroller with 1K Byte of In-System Programmable Flash AT90S1200 Features Utilizes the AVR RISC Architecture AVR High-performance and Low-power RISC Architecture 89 Powerful Instructions Most Single Clock Cycle Execution 32 x 8 General-purpose Working Registers Up to

More information

8-bit Microcontroller with 2K Bytes of In-System Programmable Flash AT90S2313

8-bit Microcontroller with 2K Bytes of In-System Programmable Flash AT90S2313 Features Utilizes the AVR RISC Architecture AVR High-performance and Low-power RISC Architecture 118 Powerful Instructions Most Single Clock Cycle Execution 32x8GeneralPurposeWorkingRegisters Up to 10

More information

Various power connectors. 3.3V regulator. 64K Flash (Internal) 2K EEPROM (Internal) 4K SRAM (Internal) JA Mem Adr/ Data. Doc: page 1 of 9

Various power connectors. 3.3V regulator. 64K Flash (Internal) 2K EEPROM (Internal) 4K SRAM (Internal) JA Mem Adr/ Data. Doc: page 1 of 9 Cerebot II Board Reference Manual Revision: September 14, 2007 Note: This document applies to REV B of the board. www.digilentinc.com 215 E Main Suite D Pullman, WA 99163 (509) 334 6306 Voice and Fax Overview

More information

EasyAVR6 Development System

EasyAVR6 Development System EasyAVR6 Development System Part No.: MPMICRO-AVR-Devel-EasyAVR6 Overview EasyAVR6 is a development system that supports a wide range of 8-, 14-, 20-, 28- and 40-pin AVR MCUs. EasyAVR6 allows AVR microcontrollers

More information

8-bit Microcontroller with 4K Bytes of In-System Programmable Flash AT90S4433 AT90LS4433. Features. Not Recommend for New Designs. Use ATmega8.

8-bit Microcontroller with 4K Bytes of In-System Programmable Flash AT90S4433 AT90LS4433. Features. Not Recommend for New Designs. Use ATmega8. Features High-performance and Low-power AVR 8-bit RISC Architecture 118 Powerful Instructions Most Single Cycle Execution 32 x 8 General Purpose Working Registers Up to 8 MIPS Throughput at 8 MHz Data

More information