Wiley.com
Print this page Share
Textbook

PIC Projects: A Practical Approach

ISBN: 978-0-470-69461-9
Paperback
224 pages
August 2009, ©2009
List Price: US $50.95
Government Price: US $37.72
Enter Quantity:   Buy
PIC Projects: A Practical Approach (0470694610) cover image
This is a Print-on-Demand title. It will be printed specifically to fill your order. Please allow an additional 10-15 days delivery time. The book is not returnable.

About the Authors vii

Preface ix

Acknowledgements xiii

1 PREPARING TO DO A PIC PROJECT 1

1.1 Introduction 1

1.2 Overview of PIC Microcontroller 2

1.3 Basics of PIC Assembly Language 9

1.4 Introduction to C Programming for PIC Microcontroller 16

1.5 MPLAB Integrated Development Environment (IDE) 28

1.6 Advanced Debugger Features – Stimulus 48

2 SIMPLE INTERFACES 55

2.1 Introduction 55

2.2 PIC12F629 Circuit Design 56

2.3 The PIC12F629 Strip Board Design 57

2.4 The PIC12F629 PCB Board Design 58

2.5 The PIC12F629 – Flashing LED Application 59

2.6 PIC16F627A Circuit Design 68

2.7 PIC16F629 Strip Board Design 69

2.8 PIC16F627A PCB Board Design 70

2.9 PIC16F627A – Display Segments 71

3 DISPLAY INTERFACES 83

3.1 Introduction 83

3.2 PIC16F627A Four-Digit, Seven-Segment LED Display Circuit Design 84

3.3 PIC16F627A Four-Digit, Seven-Segment LED Display Circuit Strip Board Design 84

3.4 PIC12F629 PCB Board Design 86

3.5 PIC16F627A Four-Digit, Seven-Segment LED Display Circuit Application 86

3.6 PIC16F627A LCD Display Circuit Design 93

3.7 PIC16F627A Four-Digit, Seven-Segment LED Display Circuit Strip Board and PCB Design 95

3.8 PIC16F627A LCD Display Circuit Application 96

4 RS232 INTERFACES 105

4.1 Introduction 105

4.2 RS232 Interface Circuit Design 106

4.3 PIC16F627A MCU – Transmit – C Program 109

4.4 PIC16F627A MCU – Transmit – Assembly Program 115

4.5 PIC16F627A MCU – Receive – C Program 119

4.6 PIC16F627A MCU – Receive – Assembly Program 121

4.7 PIC16F627A MCU – Transmit-Receive – C Program 124

4.8 PIC16F627A MCU – Transmit-Receive – Assembly Program 126

5 INTERFACING PICS WITH THE ANALOG WORLD 129

5.1 Introduction 129

5.2 Hardware Description 132

5.3 Level Indicator Program and Advanced Simulator Features 133

5.4 Level Indicator with Timing 147

5.5 Level Indicator with Better Timing – Timer Interrupts 149

5.6 Talkthrough Program with Adjustable Sampling Rate 156

6 OTHER PIC PROJECTS 159

6.1 Introduction 159

6.2 Stepper Motor Controller using PIC12F675 159

6.3 DC Motor Controller using a PIC12F675 164

6.4 An Ultrasonic Measuring System using the PIC16F627A 167

6.5 Function Generator 173

6.6 Digital Filtering 178

Appendix 189

Index 191

Back to Top