Pic Basic Projects 30 Projects Using Pic Basic And Pic Basic Pro

Páginas: 325 (81174 palabras) Publicado: 22 de enero de 2013
PIC BASIC Projects

This page intentionally left blank

PIC BASIC Projects
30 Projects Using PIC BASIC and PIC BASIC PRO

By Dogan Ibrahim

AMSTERDAM • BOSTON • HEIDELBERG • LONDON • NEW YORK • OXFORD PARIS • SAN DIEGO • SAN FRANCISCO • SINGAPORE • SYDNEY • TOKYO

This eBook does not include ancillary media that was packaged with the printed version of the book.
Linacre House,Jordan Hill, Oxford OX2 8DP, UK 30 Corporate Drive, Suite 400, Burlington, MA 01803, USA Copyright © 2006 No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means electronic, mechanical, photocopying, recording or otherwise without the prior written permission of the publisher Permissions may be sought directly from Elsevier’s Science &Technology Rights Department in Oxford, UK: phone ( 44) (0) 1865 843830; fax ( 44) (0) 1865 853333; email: permissions@elsevier.com. Alternatively you can submit your request online by visiting the Elsevier web site at http://elsevier.com/locate/permissions, and selecting Obtaining permission to use Elsevier material Notice No responsibility is assumed by the publisher for any injury and/or damageto persons or property as a matter of products liability, negligence or otherwise, or from any use or operation of any methods, products, instructions or ideas contained in the material herein. Because of rapid advances in the medical sciences, in particular, independent verification of diagnoses and drug dosages should be made

British Library Cataloguing in Publication Data A catalogue recordfor this book is available from the British Library Library of Congress Control Number: 2006927674 ISBN-10: 0-75-066879-2
For information on all publications visit our web site at http://books.elsevier.com

Trademarks/Registered Trademarks PIC is a registered trademark of Microchip Technology Inc. All brand names mentioned in this book are protected by their respective trademarks and areacknowledged Typeset by Charon Tec Ltd, Chennai, India www.charontec.com Printed and bound in Great Britain, by MPG Books Ltd.

Contents
Preface 1 Microcontroller systems 1.1 Introduction 1.2 Microcontroller systems 1.2.1 RAM 1.2.2 ROM 1.2.3 EPROM 1.2.4 EEPROM 1.2.5 Flash EEPROM 1.3 Microcontroller features 1.3.1 Supply voltage 1.3.2 The clock 1.3.3 Timers 1.3.4 Watchdog 1.3.5 Reset input 1.3.6Interrupts 1.3.7 Brown-out detector 1.3.8 Analogue-to-digital converter 1.3.9 Serial I/O 1.3.10 EEPROM data memory 1.3.11 LCD drivers 1.3.12 Analogue comparator 1.3.13 Real-time clock 1.3.14 Sleep mode 1.3.15 Power-on reset 1.3.16 Low power operation 1.3.17 Current sink/source capability 1.4 Microcontroller architectures 1.4.1 RISC and CISC 1.5 Exercises The PIC microcontroller family 2.1 12-bitinstruction word 2.2 14-bit instruction word 2.3 16-bit instruction word 2.4 Inside a PIC microcontroller 2.4.1 Program memory (Flash) 2.4.2 Data memory (RAM) ix 1 1 2 5 6 6 6 6 6 7 7 7 7 8 8 8 8 9 9 9 10 10 10 10 10 10 11 11 11 13 15 17 21 21 21 22

2

vi Contents 2.4.3 Register file map and special function registers 2.4.4 Oscillator circuits 2.4.5 Reset circuit 2.4.6 Interrupts 2.4.7 Theconfiguration word 2.4.8 I/O interface 2.5 Exercises 3 PIC microcontroller project development 3.1 Required hardware tools 3.1.1 PC 3.1.2 PIC microcontroller programmer device 3.1.3 Solderless breadboard 3.1.4 PIC microcontroller and minimum support components 3.1.5 Power supply 3.2 Required software tools 3.2.1 Text editor 3.2.2 PicBasic and PicBasic Pro compilers 3.2.3 Programmer device software 3.3Bundled development systems 3.4 Experimenter boards 3.5 Example project development 3.6 Other useful development tools 3.6.1 Simulators 3.6.2 In Circuit Emulators (ICE) 3.7 Exercises 3.8 Links to useful web sites PicBasic and PicBasic Pro programming 4.1 PicBasic language 4.1.1 PicBasic variables 4.1.2 PicBasic mathematical and logical operations 4.1.3 PicBasic program flow control commands 4.1.4...
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • BASIC PIC
  • Pic basic plus
  • Programación Pic En Basic
  • Secuencia basica PIC
  • Pic basic pro castellano
  • Pic Basic Pro
  • Pic Basic Pro
  • Pic basic pro

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS