Nothing in the world is more common than unsuccessful people with talent.
--Your friends at LectureNotes

Microcontroller and Applications

by Aabhas Gupta
Type: NoteCourse: B.Tech Specialization: Electronics and Communication EngineeringViews: 26Uploaded: 9 months agoAdd to Favourite

Share it with your friends

Suggested Materials

Leave your Comments


Aabhas Gupta
Aabhas Gupta
8051 Microcontrollers An Applications-Based Introduction David Calcutt Fred Cowan Hassan Parchizadeh AMSTERDAM • BOSTON • HEIDELBERG • LONDON NEW YORK • OXFORD • PARIS • SAN DIEGO SAN FRANCISCO • SINGAPORE • SYDNEY • TOKYO Newnes is an imprint of Elsevier
Newnes An imprint of Elsevier Linacre House, Jordan Hill, Oxford OX2 8DP 200 Wheeler Road, Burlington, MA 01803 First published 2004 Copyright Ó 2004, David Calcutt, Fred Cowan and Hassan Parchizadeh. All rights reserved The right of David Calcutt, Fred Cowan and Hassan Parchizadeh to be identified as the authors of this work has been asserted in accordance with the Copyright, Designs and Patents Act 1988 No part of this publication may be reproduced in any material form (including photocopying or storing in any medium by electronic means and whether or not transiently or incidentally to some other use of this publication) without the written permission of the copyright holder except in accordance with the provisions of the Copyright, Designs and Patents Act 1988 or under the terms of a licence issued by the Copyright Licensing Agency Ltd, 90 Tottenham Court Road, London, England W1T 4LP. Applications for the copyright holder’s written permission to reproduce any part of this publication should be addressed to the publisher Permissions may be sought directly from Elsevier’s Science and Technology Rights Department in Oxford, UK. Phone: (þ 44) (0) 1865 843830; fax: (þ 44) (0) 1865 853333; e-mail: permissions@elsevier.co.uk. You may also complete your request on-line via the Elsevier homepage (http://www.elsevier.com), by selecting ‘Customer Support’ and then ‘Obtaining Permissions’ British Library Cataloguing in Publication Data Calcutt, D. 8051 microcontrollers : an applications based introduction 1. INTEL 8051 (Computer) 2. Digital control systems I. Title II. Cowan, Frederick J. III. Parchizadeh, G. Hassan 004.10 65 Library of Congress Cataloguing in Publication Data Calcutt, D. M. 8051 microcontrollers : an applications-based introduction / David Calcutt, Fred Cowan, Hassan Parchizadeh. p. cm. 1. Intel 8051 (Computer) 2. Digital control systems. I. Cowan, Frederick J. II. Parchizadeh, G. Hassan. III. Title. QA76.8.I27C35 2003 004.165—dc22 2003066606 ISBN 0 7506 5759 6 (alk. paper) For information on all Newnes publications visit our website at www.newnespress.com Typeset by Integra Software Services Pvt. Ltd, Pondicherry, India www.integra-india.com Printed and bound in Meppel, The Netherlands by Krips bv.
Contents Preface Acknowledgements 1 Introduction to Microcontrollers 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 Introduction Microcontroller types P89C66x microcontroller Bits, nibbles, bytes and number conversions Inside microcontrollers Microcontroller programming Commonly used instructions of the 8051 microcontroller Microcontroller clock Time delays Summary 2 Flash Microcontroller Board 2.1 2.2 2.3 2.4 2.5 Introduction P89C66x microcontroller Programming the device Flash magic XAG49 microcontroller Summary 3 Simulation Software 3.1 3.2 3.3 Introduction Keil m Vision2 Raisonance IDE (RIDE) Summary 4 P89C66x Microcontroller 4.1 4.2 4.3 4.4 Introduction Timers 0 and 1 Timer 2 External interrupt v vii 1 1 2 4 7 10 11 22 22 24 27 28 28 29 31 35 35 37 38 38 39 50 64 66 66 67 79 82

Lecture Notes