The PIC Microcontroller Your Personal Introductory Course By John Morton E-Book

Book Introduction:

John Morton offers a uniquely concise and practical guide to getting up and running with the PIC Microcontroller. The PIC is one of the most popular of the microcontrollers that are transforming electronic project work and product design, and this book is the ideal introduction for students, teachers, technicians and electronics enthusiasts.
Assuming no prior knowledge of microcontrollers and introducing the PIC Microcontroller’s capabilities through simple projects, this book is ideal for electronics hobbyists, students, school pupils and technicians. The step-by-step explanations and the useful projects make it ideal for student and pupil self-study: this is not just a reference book – you start work with the PIC microcontroller straight away.
The revised third edition focuses entirely on the re-programmable flash PIC microcontrollers such as the PIC16F54, PIC16F84 and the extraordinary 8-pin PIC12F508 and PIC12F675 devices.
* Demystifies the leading microcontroller for students, engineers an hobbyists
* Emphasis on putting the PIC to work, not theoretical microelectronics
* Simple programs and circuits introduce key features and commands through project work.

PIC Microcontroller

Audience: Professional
Format: Paperback
Language: English
Number Of Pages: 240
Published: 23rd September 2005
Publisher: Elsevier Science & Technology
Dimensions (cm): 23.2 x 15.4  x 1.4
Weight (kg): 0.358

Table of Contents:

Acknowledgementsp. ix
Preface to the third editionp. xi
Introductionp. 1
Some tips before startingp. 2
Binary, decimal and hexadecimalp. 2
An 8-bit systemp. 5
Initial stepsp. 5
Choosing your PIC microcontrollerp. 6
Writingp. 10
Assemblingp. 10
The file registersp. 10
A program templatep. 13
Exploring the PIC5x seriesp. 20
Your first programp. 20
Configuration bitsp. 22
Testing the programp. 23
Simulatingp. 23
Emulatingp. 23
Blowing the PIC microcontrollerp. 24
Hardwarep. 24
Using the testing instructionsp. 29
Timingp. 32
Seven-segment displaysp. 44
The program counterp. 46
Subroutines and the stackp. 48
Logic gatesp. 65
The watchdog timerp. 69
Final instructionsp. 73
The STATUS file registerp. 74
The carry and digit carry flagsp. 75
Pagesp. 76
What caused the reset?p. 79
Indirect addressingp. 80
Some useful (but not vital) tricksp. 82
Final PIC5x program – ‘Bike buddy’p. 85
The PIC12F50x series (8-pin PIC microcontrollers)p. 90
Differences from the PIC16F54p. 90
The STATUS registerp. 90
The OSCCAL registerp. 91
Inputs and outputsp. 92
The OPTION registerp. 92
The TRIS registerp. 93
The general purpose file registersp. 93
The MCLRp. 93
Configuration bitsp. 93
Example project: ‘PIC dice’p. 94
Random digressionp. 95
Intermediate operations using the PIC12F675p. 100
The inner differencesp. 101
The OPTION and WPU registersp. 102
The TRISIO registerp. 103
Calibrating the internal oscillatorp. 103
PCLATH: Higher bits of the program counterp. 104
Remaining differencesp. 105
Interruptsp. 105
INTCONp. 106
The interrupt service routinep. 107
Interrupts during sleepp. 109
Maintaining the STATUS quop. 109
New program templatep. 110
Example project: ‘Quiz game controller’p. 112
EEPROMp. 116
EECON1p. 116
Reading from the EEPROMp. 116
Writing to the EEPROMp. 117
Example project: ‘Telephone card chip’p. 118
Further EEPROM examples: Music makerp. 122
Power monitorp. 122
Analogue to digital conversionp. 122
ADCON0p. 123
ANSEL: Analogue select registerp. 124
A/D conversion interruptp. 125
Example project: ‘Bath monitor’p. 125
Comparator modulep. 129
Voltage referencep. 130
Comparator interruptsp. 130
Comparator example: ‘Sun follower’p. 131
Comparator example: Reading many buttons from one pinp. 132
Final project: Intelligent garden lightsp. 134
Advanced operations and the futurep. 138
Extra timers: TMR1 & …p. 138
Capture/Compare/PWMp. 139
USART: Serial communicationp. 140
Programming tipsp. 142
A PIC development environmentp. 143
Sample programsp. 145
LedOn – Turns an LED onp. 145
PushButton (1.0) – If a push button is pressed, turns on an LEDp. 146
PushButton (2.0) – Shorter version of PushButton 1.0p. 147
Timing – LED states toggled every second, and buzzer on every five secondsp. 148
Traffic – Pedestrian traffic lights junction is simulatedp. 150
Counter (1.0) – Counts signals from a push button, resets after 16p. 152
Counter (2.0) – Stop reading button twice (otherwise, as Counter 1.0)p. 154
Counter (3.0) – Solves button bounce (otherwise, as Counter 2.0)p. 156
StopClock – A stop clock displaying tenths of seconds to minutesp. 158
LogicGates – Acts as the eight different gatesp. 162
Alarm – An alarm system which can be set or disabledp. 164
BikeBuddy – A speedometer and mileometer for bikesp. 165
PIC Dice – A pair of dice are simulatedp. 171
Quiz – Indicates which of three push buttons has been pressed firstp. 175
Phonecard – To act like a phonecard which decrements a file registerp. 177
TempSense – Displays whether temperature is too hot, too cold or OKp. 181
p. 183
Specifications of some Flash PIC microcontrollersp. 189
Pin layouts of some Flash PIC microcontrollersp. 191
Instructions glossaryp. 192
Number system conversionp. 195
Bit assignments of various file registersp. 196
If all else fails, read thisp. 203
Contacts and further readingp. 204
PICKit 1 & BFMP Infop. 205
Answers to the exercisesp. 207
Some BASIC commands in assemblyp. 222
Indexp. 223
Table of Contents provided by Ingram. All Rights Reserved.

Link to Purchase E-Book:

The PIC Microcontroller Your Personal Introductory Course By John Morton E-Book


About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.