Microcontroller Projects in C for the 8051

Book description

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.

  • Practical projects that enable students and practitioners to get up and running straight away with 8051 microcontrollers
  • A hands-on introduction to practical C programming
  • A wealth of project ideas for students and enthusiasts

Table of contents

  1. Front Cover
  2. Microcontroller Projects in C for the 8051
  3. Copyright Page
  4. Contents
  5. Preface
  6. Chapter 1. Microcomputer Systems
    1. 1.1 Introduction
    2. 1.2 Microcontroller Evolution
    3. 1.3 Microcontroller Architecture
    4. 1.4 8051 Family
    5. 1.5 Architecture of the 8051 Family
    6. 1.6 Pin Configuration
    7. 1.7 Timer/Counters
    8. 1.8 Interrupt Control
    9. 1.9 Minimum Microcontroller Configuration
    10. 1.10 Project Development
  7. Chapter 2. Programming Microcontrollers in C
    1. 2.1 Data Types
    2. 2.2 Memory Models
    3. 2.3 Interrupts
    4. 2.4 Structure of a Microcontroller-based C Program
    5. 2.5 Program Description Language
    6. 2.6 Internet Web Sites of Microcontroller Compilers
    7. 2.7 Further Reading
  8. Chapter 3. Light Projects
    1. PROJECT 1 – LED Binary Counter
    2. PROJECT 2 – LED Chasing Circuit
    3. PROJECT 3 – Random LED Pattern
    4. PROJECT 4 – Cyclic LED Pattern
    5. PROJECT 5 – LED Dice (1/2)
    6. PROJECT 5 – LED Dice (2/2)
    7. PROJECT 6 – Hexadecimal Display
    8. PROJECT 7 – Two-digit Decimal Count
    9. PROJECT 8 – TIL311 Dice
    10. PROJECT 9 – 7 Segment Display Driver
    11. PROJECT 10 – Four-digit LED Display Interface (1/3)
    12. PROJECT 10 – Four-digit LED Display Interface (2/3)
    13. PROJECT 10 – Four-digit LED Display Interface (3/3)
    14. PROJECT 11 – Interrupt Driven Event Counter with 4-digit 75 LED Display (1/2)
    15. PROJECT 11 – Interrupt Driven Event Counter with 4-digit 75 LED Display (2/2)
  9. Chapter 4. Sound Projects
    1. PROJECT 12 – Simple Buzzer Interface
    2. PROJECT 13 – Small Speaker Interface (Using the Timer Interrupt)
    3. PROJECT 14 – Two-tone Small Speaker Interface (Using the Timer Interrupt)
    4. PROJECT 15 – Electronic Siren (Using the Timer Interrupt) (1/2)
    5. PROJECT 15 – Electronic Siren (Using the Timer Interrupt) (2/2)
    6. PROJECT 16 – Electronic Siren (Using the Timer Interrupt) (1/2)
    7. PROJECT 16 – Electronic Siren (Using the Timer Interrupt) (2/2)
  10. Chapter 5. Temperature Projects
    1. PROJECT 17 – Using a Digital Temperature Sensor (1/3)
    2. PROJECT 17 – Using a Digital Temperature Sensor (2/3)
    3. PROJECT 17 – Using a Digital Temperature Sensor (3/3)
    4. PROJECT 18 – Digital Thermometer with Centigrade/Fahrenheit Output (1/2)
    5. PROJECT 18 – Digital Thermometer with Centigrade/Fahrenheit Output (2/2)
    6. PROJECT 19 – Digital Thermometer with High Alarm Output
    7. PROJECT 20 – Digital Thermometer with High and Low Alarm Outputs (1/2)
    8. PROJECT 20 – Digital Thermometer with High and Low Alarm Outputs (2/2)
    9. PROJECT 21 – Using Analogue Temperature Sensor IC with A/D Converter (1/3)
    10. PROJECT 21 – Using Analogue Temperature Sensor IC with A/D Converter (2/3)
    11. PROJECT 21 – Using Analogue Temperature Sensor IC with A/D Converter (3/3)
  11. Chapter 6. RS232 Serial Communication Projects
    1. PROJECT 22 – Output a Simple Text Message from the RS232 Port
    2. PROJECT 23 – Input/Output Example Using the RS232 Port (1/2)
    3. PROJECT 23 – Input/Output Example Using the RS232 Port (2/2)
    4. PROJECT 24 – A Simple Calculator Program Using the RS232 Port (1/2)
    5. PROJECT 24 – A Simple Calculator Program Using the RS232 Port (2/2)
  12. Appendix - ASCII code
  13. GLOSSARY (1/2)
  14. GLOSSARY (2/2)
  15. Index

Product information

  • Title: Microcontroller Projects in C for the 8051
  • Author(s): Dogan Ibrahim
  • Release date: April 2000
  • Publisher(s): Newnes
  • ISBN: 9780080511566