Lecture_01 - Introduction to Microcontrollers

Lecture_01 - Introduction to Microcontrollers - SEE215...

Info iconThis preview shows pages 1–13. Sign up to view the full content.

View Full Document Right Arrow Icon
Faculty of Science and Technology Lecture 1 Introduction to Microcontrollers SEE215
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
A microcontroller is a digital device used to implement a control system. A microcontroller reacts to INPUTS and provides OUTPUTS based on some user specified rules. Week 1 - Introduction
Background image of page 2
The rules are programmable by the user writing program statements. The program statements are converted to binary code which the micro controller uses to performs data moves, arithmetic & logical tasks. Week 1 - Introduction
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This unit explores- - The AVR ATMega128 micro controller from ATMEL. - The ETT AT Mega128 controller board. - The AVR data movement, arithmetic & logical operations. - Methods of reacting with inputs & outputs. - Programming the tasks to be performed by the microcontroller. Introduction to micro controllers
Background image of page 4
ATMEL produce many microcontrollers. The ATMega 128 is a powerful microcontroller. -128 K program storage. -4 K data storage. -1 K EEPROM storage. -53 input/outputs. -RISC instruction set The ATMega128 microcontroller
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
The ATMega controller board The ATMega128 is integrated onto a PCB with power supply, serial & LCD interfaces, input & output connectors.
Background image of page 6
The ATMega controller board comes with a 12V 0.4 Amp power supply, 8 input switches, 8 output LEDS, a RS232 serial cable. It has been pre-programmed with a bootloader and a small user application. The ATMega controller board LEDS SHOULD BE CONNECTED TO PORTA & SWITCHES SHOULD BE CONNECTED TO PORTC
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 8
Using BLIPS load the program r_w_io.hex into your AVR controller & run it and press some switches. r_w_io.hex is a program, which will continuously read the status of the eight input switches and write their status to the output LED'S. Jumping right in! SWITCHES PORTC LEDS PORTA
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
AVR Core & Peripherals
Background image of page 10
The Arithmetic and Logic unit All arithmetic and logic operations are performed by the Arithmetic and Logic Unit (ALU) The data which is operated upon and the result are stored in the the General Purpose Registers (R0–R31) You will become very familiar with the ALU
Background image of page 11

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Inputs to the AVR are read by transferring the data from the I/O register to a General Purpose Register on the data bus, by using the in instruction.
Background image of page 12
Image of page 13
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 09/27/2009 for the course SEB 323 - S taught by Professor Professor during the Three '09 term at Deakin.

Page1 / 35

Lecture_01 - Introduction to Microcontrollers - SEE215...

This preview shows document pages 1 - 13. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online