Second in the series, Practical Aspects of Embedded System Design using Microcontrollers emphasizes the same philosophy of “Learning by Doing” and “Hands on Approach” with the application oriented case studies developed around the PIC16F877 and AT 89S52, today’s most popular microcontrollers. Readers with an academic and theoretical understanding of embedded microcontroller systems are introduced to the practical and industry oriented Embedded System design. When kick starting a project in the laboratory a reader will be able to benefit experimenting with the ready made designs and ‘C’ programs. One can also go about carving a big dream project by treating the designs and programs presented in this book as building blocks. Practical Aspects of Embedded System Design using Microcontrollers is yet another valuable addition and guides the developers to achieve shorter product development times with the use of microcontrollers in the days of increased software complexity. Going through the text and experimenting with the programs in a laboratory will definitely empower the potential reader, having more or less programming or electronics experience, to build embedded systems using microcontrollers around the home, office, store, etc. Practical Aspects of Embedded System Design using Microcontrollers will serve as a good reference for the academic community as well as industry professionals and overcome the fear of the newbies in this field of immense global importance.
Author(s): Jivan Parab, Santosh A. Shinde, Vinod G Shelake, Rajanish K. Kamat, Gourish M. Naik
Edition: 1
Year: 2008
Language: English
Pages: 172
Contents......Page 17
Foreword......Page 5
Author's Profile......Page 7
Preface......Page 10
Acknowledgement......Page 16
1. Introduction......Page 20
1.1 Defining Embedded Systems......Page 21
1.2 Essential Attributes of Embedded Systems......Page 22
1.3 Embedded Systems Historical Aspects......Page 23
1.4 Embedded Solutions Continue to Flood Market......Page 24
1.5 Latest Trends in Embedded Systems......Page 25
1.6 Competition for Processing Cores in Embedded Systems......Page 26
1.7 Programming Paradigm for Microcontrollers......Page 27
1.8 Our Approach: "Towards a Full Proof 'C' Library for Embedded Systems"......Page 28
1.9 Finalizing Hardware......Page 29
1.10 Exploring PIC16F877 for Embedded Systems......Page 30
1.11 A Word About IDE......Page 31
1.12 Details About the AT89S52 and Its Development Environment......Page 37
2.1 LED Interfacing......Page 38
2.2 Switch (DIP) Interfacing......Page 41
2.3 Interfacing Buzzer......Page 43
2.4 Keypad Interfacing......Page 45
2.5 Thumbwheel Switches Interface......Page 48
2.6 Seven Segment Display Interfacing......Page 51
2.7 LCD Interface to the PIC......Page 55
2.8 Relay Interface to the PIC......Page 58
3.1 Using the On-Chip ADC......Page 62
3.2 Interfacing ADC (0809) to PIC......Page 66
3.3 Opto-Isolator Interfacing......Page 69
3.4 DAC Implementation Using On-Chip PWM......Page 71
3.5 Waveform Generation Using PIC......Page 73
3.6 Pseudo-Random Number Generation Through PIC......Page 76
3.7 On-Off Temperature Controller Using On-Chip ADC......Page 78
3.8 Implementing a PID Temperature Controller Using PIC16F877......Page 82
4. Serial Interface to PIC......Page 88
4.2 Setting Up Hyper Terminal......Page 89
4.3 Displaying Data on Hyper Terminal......Page 92
4.4 Hyper Terminal Interface: Getting Sensor Signal on Hyper Terminal......Page 94
4.5 Hyper Terminal Based Control: Controlling an Actuator such as Relay from PC Hyper Terminal......Page 95
4.6 Controlling a Stepper Motor from Hyper Terminal: Hyper Terminal Keyboard Provides Direction......Page 96
5.1.1 Basic Features......Page 98
5.1.2 Sequence of Events in I[sup(2)]C Suite......Page 99
5.1.4 Synchronization and Arbitration in the I[sup(2)]C Bus......Page 100
5.1.5 Evolving Specifications of I[sup(2)]C Bus......Page 101
5.2 I[sup(2)]C Based Real Time Clock......Page 102
5.3.2 Advantages of Serial EPROM......Page 105
5.3.4 Features of EPROM24AA256......Page 106
5.3.5 Interfacing Aspects......Page 108
5.4.1 Advantages of Serial ADC Interface......Page 109
5.4.4 A/D Conversion of PCF8591......Page 110
5.5.2 Features of MAX1236......Page 112
5.5.3 Conversion Technique and Other Details......Page 113
5.6.1 Features......Page 115
5.6.2 Equation for Output Voltage......Page 116
6.1 Night Lamp Controller......Page 121
6.2 Microcontroller Based Control for Nylon Rubber Stamp Making Machine......Page 126
6.3 A Tiny BIOS or Diagnostic Interface with MCS51......Page 131
6.4 Simple Digital IC Tester for 74XX Series......Page 136
6.5 Microcontroller Based Salinity Measurement System......Page 141
6.6 Fault Tolerant Sensor Interface......Page 146
6.7 Sensor Matrix Interface......Page 150
6.8 Design Microcontroller Based Servo Controller......Page 154
References......Page 160
M......Page 163
X......Page 164