Available:*
Library | Item Barcode | Call Number | Material Type | Item Category 1 | Status |
---|---|---|---|---|---|
Searching... | 30000004890871 | TJ223.P76 I275 2000 | Open Access Book | Book | Searching... |
On Order
Summary
Summary
This book is a thoroughly practical way to explore the 8051 and discover C programming through project work. Through graded projects, Dogan Ibrahim introduces the reader to the fundamentals of microelectronics, the 8051 family, programming in C, and the use of a C compiler. The specific device used for examples is the AT89C2051 - a small, economical chip with re-writable memory, readily available from the major component suppliers.
A working knowledge of microcontrollers, and how to program them, is essential for all students of electronics. In this rapidly expanding field many students and professionals at all levels need to get up to speed with practical microcontroller applications. Their rapid fall in price has made microcontrollers the most exciting and accessible new development in electronics for years - rendering them equally popular with engineers, electronics hobbyists and teachers looking for a fresh range of projects.
Microcontroller Projects in C for the 8051 is an ideal resource for self-study as well as providing an interesting, enjoyable and easily mastered alternative to more theoretical textbooks.
Author Notes
Prof Dogan Ibrahim graduated from the University of Salford with First Class Honours in Electronic Engineering. He then completed an MSc course in Automatic Control Engineering at the University of Manchester, and PhD in Digital Signal Processing at the City University in London. Prof Ibrahim worked at several companies before returning to the academic life. He is currently a lecturer at the Department of Computer Information Systems at the Near East University. Prof Ibrahim is a Fellow of the IET, and a Chartered Electrical Engineer. His interests are in the fields of microcontroller based automatic control, digital signal processing, and computer aided design.Dogan Ibrahim has been Associate Professor and Head of Department at the Near East University, Cyprus, lecturer at South Bank University, London, Principal Research Engineer at GEC Hirst Research Centre, and is now a hardware and software systems consultant to London's Traffic Control Systems Unit.
Table of Contents
Preface | p. vii |
Chapter 1 Microcomputer Systems | p. 1 |
1.1 Introduction | p. 1 |
1.2 Microcontroller Evolution | p. 1 |
1.3 Microcontroller Architecture | p. 2 |
1.4 8051 Family | p. 3 |
1.5 Architecture of the 8051 Family | p. 4 |
1.6 Pin Configuration | p. 4 |
1.7 Timer/Counters | p. 10 |
1.8 Interrupt Control | p. 11 |
1.9 Minimum Microcontroller Configuration | p. 12 |
1.10 Project Development | p. 13 |
Chapter 2 Programming Microcontrollers in C | p. 15 |
2.1 Data Types | p. 16 |
2.1.1 bit | p. 16 |
2.1.2 signed char/unsigned char | p. 16 |
2.1.3 signed short/unsigned short | p. 17 |
2.1.4 signed int/unsigned int | p. 17 |
2.1.5 signed long/unsigned long | p. 18 |
2.1.6 float | p. 18 |
2.1.7 sbit | p. 18 |
2.1.8 sfr | p. 19 |
2.1.9 sfr 16 | p. 19 |
2.2 Memory Models | p. 19 |
2.3 Interrupts | p. 20 |
2.4 Structure of a Microcontroller-based C Program | p. 21 |
2.5 Program Description Language | p. 22 |
2.5.1 Start-End | p. 22 |
2.5.2 Sequencing | p. 24 |
2.5.3 If-Then-Else-Endif | p. 24 |
2.5.4 Do-Endo | p. 24 |
2.5.5 Repeat-Until | p. 25 |
2.6 Internet Web Sites of Microcontroller Compilers | p. 25 |
2.7 Further Reading | p. 27 |
Chapter 3 Light Projects | p. 29 |
Project 1 LED Binary Counter | p. 29 |
Project 2 LED Chasing Circuit | p. 33 |
Project 3 Random LED Pattern | p. 34 |
Project 4 Cyclic LED Pattern | p. 37 |
Project 5 LED Dice | p. 38 |
Project 6 Hexadecimal Display | p. 46 |
Project 7 Two-digit Decimal Count | p. 50 |
Project 8 TIL311 Dice | p. 53 |
Project 9 7 Segment Display Driver | p. 57 |
Project 10 Four-digit LED Display Interface | p. 62 |
Project 11 Interrupt driven Event Counter with 4-digit LED Display | p. 75 |
Chapter 4 Sound Projects | p. 85 |
Project 12 Simple Buzzer Interface | p. 86 |
Project 13 Small Speaker Interface (Using the Timer Interrupt) | p. 90 |
Project 14 Two-tone Small Speaker Interface (Using the Timer Interrupt) | p. 94 |
Project 15 Electronic Siren (Using the Timer Interrupt) | p. 95 |
Project 16 Electronic Siren (Using the Timer Interrupt) | p. 101 |
Chapter 5 Temperature Projects | p. 107 |
Project 17 Using a Digital Temperature Sensor | p. 108 |
Project 18 Digital Thermometer with Centigrade/Fahrenheit Output | p. 119 |
Project 19 Digital Thermometer with High Alarm Output | p. 125 |
Project 20 Digital Thermometer with High and Low Alarm Outputs | p. 126 |
Project 21 Using Analogue Temperature Sensor IC with A/D Converter | p. 132 |
Chapter 6 RS232 Serial Communication Projects | p. 147 |
Project 22 Output a Simple Text Message from the RS232 Port | p. 151 |
Project 23 Input/Output Example Using the RS232 Port | p. 155 |
Project 24 A Simple Calculator Program Using the RS232 Port | p. 161 |
Appendix ASCII code | p. 167 |
Glossary | p. 171 |
Index | p. 177 |