Objectives How Microcontroller works

Slides:



Advertisements
Similar presentations
MC68HC11 System Overview. System block diagram (A8 version)
Advertisements

SUN TRACKING SOLAR PANEL. Introduction The main objective of this project is to track the sun and rotate the solar panel accordingly, to receive sunlight.
MOOD LIGHT PCB ASSEMBLY V By Phil Townshend 2008.
CSC 405 Lab 1 - Building a Simple Combinatorial Circuit In this laboratory exercise you will learn about the layout of some small-scale integrated circuits.
PASSWORD BASED LOCK SYSTEM USING At89c51 MICROCONTROLLER
Microcontroller 8051.
“H EAVEN ’ S L IGHT IS OUR G UIDE ” R AJSHAHI U NIVERSITY OF E NGINEERING AND T ECHNOLOGY D EPARTMENT OF E LECTRICAL AND E LECTRONIC E NGINEERING.
Electronic Components
Microcontroller: Introduction
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
The 8051 Microcontroller architecture
Camera Interfacing using ARM7
Microprocessor Block Diagram
The printed circuit board (PCB) design
COMPONENTS OF THE SYSTEM UNIT
INTRODUCTION TO MICROCONTROLLER. What is a Microcontroller A microcontroller is a complete microprocessor system, consisting of microprocessor, limited.
1 © Unitec New Zealand Embedded Hardware ETEC 6416 Date: - 10 Aug,2011.
MICROCONTROLLER BASED FIRE FIGHTING ROBOT. ABSTRACT The object of this project is  IN OUR PROJECT WE DESIGNED A PROTOTYPE TO DETECT FIRE AND EXTINGUISH.
Introduction to Computing: Lecture 4
The 8051 Microcontroller and Embedded Systems
MICRO CONTROLLER MODULE 1. Learning Objectives Name some gadgets that use microcontrollers. Define a microcontroller. Differentiate between a computer.
MOBILE OPERATING ROBOT ON EMBEDDED SYSTEM
EE 316 Computer Engineering Junior Lab Project 1: Traffic Light Controller.
CHAPTER HARDWARE CONNECTION. Pin Description 8051 family members ◦ e.g., 8751, 89C51, 89C52, DS89C4x0) ◦ Have 40 pins dedicated for various functions.
ATtiny23131 A SEMINAR ON AVR MICROCONTROLLER ATtiny2313.
Nama: Chuli jimmi Manurung
Automatic accident avoiding system PROJECT MEMBERS MUTHUKUMAR.K (05ME33) SAKTHIDHASAN.S (05ME39) SAKTHIVEL.N (05ME40) VINOTH.S (05ME56) PROJECT GUIDE:
Intel 8051 Another family of microcontroller is the Intel 8051 family. The basic 8051 microcontroller has four parallel input/output ports, port 0, 1,
OBSTACLE AVOIDANCE ROBOT
ELECTRIC LINE MAN SAFETY WITH PASSWORD BASED CIRCUIT BREAKER Under the Guidance of Submitted by Project Title.
THE MICROPROCESSOR A microprocessor is a single chip of silicon that performs all of the essential functions of a computer central processor unit (CPU)
ABE425 Engineering Measurement Systems Electronic Parts Dr. Tony E. Grift Dept. of Agricultural & Biological Engineering University of Illinois.
Presented by Sadhish Prabhu
Dept. of Information & Communications Technology Circuit Diagram and Prototype Construction (Project 1) slide L1-1 Objectives v How to read schematic Diagrams.
Chapter Microcontroller
Submitted by:.  Project overview  Block diagram  Power supply  Microcontroller  MAX232 & DB9 Connector  Relay  Relay driver  Software requirements.
Microcontroller based Traffic signal Umer Butt Amna Rashid Izza Rabbani Rozab Naveed Ramesha Akram.
Components of a typical full-featured microcontroller.
MICROCONTROLLER INTERFACING WITH STEPPER MOTOR MADE BY: Pruthvirajsinh Jadeja ( ) COLLEGE:DIET BRANCH:EC.
8051 Microcontroller Tutorial and Architecture with Applications.
HJD Institute of Technical Education & Research- Kera(Kutch) The 8051 Microcontroller architecture PREPARED BY: RAYMA SOHIL( )
COMPUTER COMPONENTS Ms Jennifer Computer Components.
DEPARTMENT OF ELECTRONICS ENGINEERING V-SEMESTER MICROPROCESSOR & MICROCONTROLLER 1 CHAPTER NO microcontroller & programming.
BATCH MEMBERS R.ABHISHEK-08N41A0401 K.DHEERAJ REDDY-08N41A0412 S.RAJENDRA REDDY-08N41A0458 JYOTHISHMATHI COLLEGE OF ENGINEERING AND TECHNOLOGY,TURKAPALLY.
WATER LEVEL INDICATOR AND AUTOMATIC MOTOR SWITCHING SYSTEM
Mobile phone keypad sensed password entry for door opening.
ENERGY METER TO INDICATE BILLING IN RUPEES FOR LOAD WISE OR DAY WISE
A PRESENTATION ON EMBEDDED SYSTEM
ENGINEERING COLLEGE ADAMS PALONCHA ECE MINI PROJECT PRESENTATION.
WATER LEVEL controller using 8051
The 8051 Microcontroller architecture
Prototyping with Microcontrollers and Sensors
PROGRAMMABLE LOGIC CONTROLLERS SINGLE CHIP COMPUTER
8051 Pin - out PORT 0 PORT 1 PORT 2 PORT 3.
Kankeshwaridevi institute of technology
PC CONTROLLED SCROLLING MESSAGE DISPLAY FOR COLLEGE NOTICE BOARD
PRE-PROGRAMMED DIGITAL SCROLLING MESSAGE
Project Title EVM IN 8051 Under the Guidance of Submitted by.
CPU1 Block Specifications
PC Mouse operated Electrical Load Control Using VB Application
UNIT – Microcontroller.
Microcontroller Based Digital Code Lock
Introduction to Microprocessors and Microcontrollers
The 8051 Microcontroller (8 bit )
Important 8051 Features On chip oscillator 4K bytes ROM 128 bytes RAM
Building an SBC-51 The Single Board Computer SBC-51 is a simple 8051 platform for learning and experimenting with the hardware and software development.
8051 Micro Controller.
The 8051 Microcontroller (8 bit )
CHAPTER HARDWARE CONNECTION.
Presentation transcript:

Objectives How Microcontroller works How to build a microcontroller prototype board with schematic diagrams

How Microcontroller works Microcontrollers are hidden inside a surprising number of products these days. For example, if your microwave oven has an LED or LCD display and a keypad, it contains a microcontroller. A microcontroller is a computer. Work with only a power supply, a crystal and capacitor and I/O devices All computers have a CPU (Central Processing Unit) that "executes programs".

RAM (Random Access Memory) I/O Interfaces where it can store "variables". I/O Interfaces Input and output devices so it can talk to people Serial and parallel ROM (Read-only memory) Microcontrollers are dedicated to one task and run one specific program. The program is stored in and generally does not change. Flash programmable and erasable read only memory (EPROM)

89C2051 is a low-voltage, high-performance CMOS 8-bit microcomputer with The AT89C2051 provides the following standard features: 2K bytes of Flash, 128 bytes of RAM, 15 I/O lines, two 16-bit timer/counters, a five vector two-level interrupt architecture, a full duplex serial port, on-chip oscillator and clock circuitry.

89C2051 VCC Supply voltage. GND Ground. Port 1 Port 1 is an 8-bit bi-directional I/O port. Port 3 Port Pin Alternate Functions P3.0 RXD (serial input port) P3.1 TXD (serial output port) P3.2 INT0 (external interrupt 0) P3.3 INT1 (external interrupt 1) P3.4 T0 (timer 0 external input) P3.5 T1 (timer 1 external input)

89C2051 Oscillator Characteristics RST XTAL1 and XTAL2 are the input and output, respectively, of an inverting amplifier, which can be configured for use as an on-chip oscillator. A quartz crystal may be used.  RST Reset input. All I/O pins are reset to 1s as soon as RST goes high. Holding the RST pin high for two machine cycles while the oscillator is running resets the device.

Plan the location of components. ·       The LEDs should be placed as like a `H` letter display     The crystal should be as close to the pin 4 and pin5 of the microcontroller 89c2051

Instructions to students Under normal cases, only Two students should form one group. The prototype board is the hardware requirement for the task1. That means you have to ensure the circuit works fine before you can proceed to project task 1. The prototype can be built by using universal PCB.

Instructions  Students should plan the layout of the circuit before building the prototype. The effect is similar to a single sided PCB layout. Plan you layout very carefully to avoid crossing. The layout of a schematic is designed to show the function, usually with signal progressing from left to right. The actual layout of the circuit will be quite different. All ground points in the schematic are connected together. All +5V points in the schematic are connected together. Jumper wires can be added to the component side of the board to improve connection possibilities.

Schematic Diagram

Construction Use insulated wire for the connection. Insert the components (sockets, connector and discrete components) into the holes of the board as deep as possible. Guideline for soldering and desoldering: refer to class notes Try to keep the power supply wires as short as possible and avoid too many bends as these add inductance which will result in voltage spikes on the power supply. The connection of the prototype should be checked thoroughly before applying power.

Construction Make sure the continuity exist between all ground points. Make sure the continuity exist between all +5V points. You should make sure that there is no continuity between ground and +5V. Cables for power supply and DB9 serial connector will be provided for testing. With the MAX232 and microcontroller 89C2051 IC inserted, students can test their prototype and perform the troubleshooting as required.

Components List Max232 89c2051 20 pF cap 10 uF cap 22uF cap 330 ohm resistor 1k-ohm resistor

Components List 20-pin IC socket 16-pin IC socket Universal PCB Switch 11.0592 MHz Crystal LED 2-pin connector 3-pin connector

MAX232A: MAX232A: Most microcontrollers not are capable of generating RS232 voltages. So, to connect a microcontroller port to a true RS-232 device, you need to convert the TTL voltages of 0V and +5V into voltages between about -10 volts and +10 volts.

LED and Capacitors LEDs are light emitting diode. When the diode is forward bias, light will be emitted. Note that: the longer leg is the anode side of the LED. R2 to R8 are to limit current flowing through the LEDs, hence to control the brightness of LEDs Pay attention to the polarity of the 10 and 22 uF capacitor. Only the positive side can be connected to +5V side.