PIC Microcontroller Project Book By John Iovine E-Book

Book Introduction:

The PIC microcontroller is enormously popular both in the U.S. and abroad. The first edition of this book was a tremendous success because of that. However, in the 4 years that have passed since the book was first published, the electronics hobbyist market has become more sophisticated. Many users of the PIC are now comfortable shelling out the $250 for the price of the Professional version of the PIC Basic (the regular version sells for $100). This new edition is fully updated and revised to include detailed directions on using both versions of the microcontroller, with no-nonsense recommendations on which is better served in different situations.

PIC Microcontroller Project Book

Audience: Professional
Format: Paperback
Language: English
Number Of Pages: 292
Published: 29th March 2004
Dimensions (cm): 23.2 x 18.6  x 2.2
Weight (kg): 0.621

Table of Contents:

Microcontrollersp. 1
What Is a Microcontroller?p. 1
Why Use a Microcontroller?p. 1
Microcontrollers Are the Future of Electronicsp. 1
Designer Computers–So Many Microcontrollersp. 2
The PIC Chipp. 2
Better Than Any Stampp. 2
PIC Programming Overviewp. 4
PICBasic and PICBasic Pro Compilersp. 5
EPIC Programmerp. 6
Firmwarep. 7
Consumablesp. 7
16F84 PIC Microcontrollerp. 7
Writing Code (The Basic Program)p. 8
Using the Compilerp. 8
Installing the Firmware, or Programming the PIC Chipp. 9
Ready, Steady, Gop. 9
Hardware and Softwarep. 10
Parts Listp. 10
Installing the Compilerp. 13
Installing the PICBasic Compiler Softwarep. 13
Installing PICBasic Pro Compilerp. 14
Installing the EPIC Softwarep. 23
Installing the EPIC Software in Windowsp. 23
Installing the EPIC Software from DOSp. 24
Applications Directoryp. 26
ZIF Adapter Socketsp. 26
AC Adapterp. 27
CodeDesignerp. 29
CodeDesigner Featuresp. 29
Software Installationp. 31
Setting CodeDesigner Optionsp. 31
First Programp. 36
The EPIC Programming Board Softwarep. 40
Parts Listp. 41
How to Use DOS Instead of Windows to Code, Compile, and Programp. 43
Compilep. 47
Programming the PIC Microcontroller Chipp. 48
The EPIC Programming Board Softwarep. 51
Using the EPIC DOS Versionp. 51
Continuing with the WINK.BAS Programp. 51
Testing the PIC Microcontrollerp. 55
The Solderless Breadboardp. 55
Three Schematics, One Circuitp. 57
Winkp. 60
Troubleshooting the Circuitp. 60
PIC Experimenter’s Board and LCDp. 60
PIC Experimenter’s Boardp. 62
Using the X-Board’s LCD: PICBasic and PICBasic Pro Examplesp. 68
PIC 16F84 Microcontrollerp. 71
Advanced PIC Microcontrollersp. 71
Back to the 16F84 Microcontrollerp. 72
Clock Oscillatorsp. 72
Resetp. 73
PIC Harvard Architecturep. 74
Register Mapp. 76
Memory Mapped I/Op. 76
Binary Fundamentalsp. 77
Registers and Portsp. 79
Using the TRIS and Port Registersp. 81
Writing to a Register Using PICBasic Compilerp. 82
Writing to a Register Using PICBasic Pro Compilerp. 83
Accessing the Ports for Outputp. 83
Electrical Binary, TTL, and CMOSp. 84
Counting Programp. 85
Counting in Binary by Onep. 85
Variable Spacep. 87
Schematic for Programp. 89
Counting Binary Progressionp. 89
Basic High and Low Commandsp. 91
Programming Reviewp. 92
Next Chapter–Reading Input Signalsp. 94
Parts Listp. 94
Optional Partsp. 94
Reading I/O Linesp. 95
Placing Electrical Signals on a Pinp. 95
Reading a Portp. 96
PICBasic Compiler and Variables B0 and B1 (Bit0 to Bit15)p. 98
Dynamic Changesp. 99
Delay Variablep. 101
Basic Input and Output Commandsp. 102
Basic Input and Output Commands (Pro Version)p. 102
The Button Commandp. 103
Debouncing a Switchp. 103
Auto-Repeatp. 104
The Variable Used in the Button Commandp. 105
Multiple Statements–Single Linep. 105
PICBasic Language Referencep. 107
Branchp. 107
Buttonp. 108
Callp. 110
Eepromp. 110
Endp. 110
For … Nextp. 110
Gosubp. 111
Gotop. 111
Highp. 112
12CINp. 112
12coutp. 113
If … Thenp. 114
Inputp. 115
Letp. 115
Lookdownp. 117
Lookupp. 117
Lowp. 118
Napp. 118
Outputp. 118
Pausep. 119
Peekp. 119
Pokep. 120
Potp. 120
Pulsinp. 121
Pulsoutp. 121
PWMp. 122
Randomp. 123
Readp. 123
Returnp. 123
Reversep. 124
Serinp. 124
Seroutp. 125
Sleepp. 127
Soundp. 127
Togglep. 128
Writep. 129
Additional Command Reference for PICBasic Prop. 131
Adcinp. 134
Asm … EndAsmp. 134
Branchlp. 135
Clearp. 135
Clearwdtp. 135
Countp. 135
Datap. 135
Debugp. 136
Debuginp. 136
Disablep. 137
Disable Debugp. 137
Disable Interruptp. 137
DTMFoutp. 137
Enablep. 137
Enable Debugp. 138
Enable Interrputp. 138
Freqoutp. 138
Hserinp. 138
Hseroutp. 138
12creadp. 139
12cwritep. 139
If … Thenp. 139
Lcdinp. 140
Lcdoutp. 140
Lookdown2p. 141
Lookup2p. 142
On Debugp. 142
On Interruptp. 142
Pauseusp. 144
Peekp. 145
Pokep. 145
Pulsinp. 145
Pulsoutp. 146
RCtimep. 146
Readcodep. 147
Resumep. 147
Serin2p. 147
Serout2p. 147
Shiftinp. 148
Shiftoutp. 148
Swapp. 148
While…Wendp. 148
Writecodep. 148
Xinp. 149
Xoutp. 149
Speech Synthesizerp. 151
Speech Chip SPO256p. 151
A Little on Linguisticsp. 154
Interfacing to the SPO256p. 154
Mode Selectp. 154
The Circuitp. 155
Program Differencesp. 159
Program Functionsp. 159
Peek PortA, b0p. 159
Parts Listp. 160
Creating a New I/O Portp. 163
Serial Communicationp. 163
Output Firstp. 163
Basic Serialp. 164
Clear Pinp. 166
First Programp. 166
Bit Shift Correctingp. 169
Input I/Op. 172
Compatibility Issuesp. 176
Parts Listp. 177
Liquid Crystal Display (LCD)p. 179
Serout Command’s RS-232 Serial Communicationp. 179
Error-Detection Algorithmsp. 181
Parityp. 181
Serial Format: Mode and Baud Ratep. 181
XTAL Clock, Pleasep. 181
4.0 MHz Clock Limitationsp. 182
Three-Wire Connectionp. 182
Positioning the Cursorp. 185
Off-Screen Memoryp. 185
PICBasic Pro Project: LCD Modulep. 186
Using the LCD Module for Displayp. 188
Parts Listp. 188
Reading Resistive Sensorsp. 189
R/C Valuesp. 190
Scalep. 190
PIN Exceptionsp. 191
Resistive Sensorsp. 191
Test Programp. 191
Fuzzy Logic and Neural Sensorsp. 194
Fuzzy Firstp. 194
Fuzzy Logic Light Trackerp. 196
DC Motor Controlp. 198
Diodesp. 201
Operationp. 202
Fuzzy Outputp. 202
Neural Sensors (Logic)p. 203
Multivalue Thresholdp. 203
Parts Listp. 206
Analog-to-Digital (A/D) Convertersp. 209
Analog Signalp. 209
Digital Equivalentsp. 209
A/D Convertersp. 210
Setting the Reference Voltage(s)p. 212
Voltage Range and Resolutionp. 212
Interpreting the Resultsp. 212
Serial A/D Converter Chip Controlp. 213
TLC549 Serial Sequencep. 213
Toxic Gas Sensorp. 215
Parts Listp. 217
DC Motor Controlp. 219
The Transistorp. 219
First Methodp. 219
Bidirectionalp. 220
Diodesp. 222
Parts Listp. 223
Stepper Motorsp. 225
Stepper Motor Construction and Operationp. 225
Resolutionp. 226
Half-Stepp. 227
Other Types of Stepper Motorsp. 227
Real Worldp. 227
First Stepper Circuitp. 228
Electrical Equivalent of a Stepper Motorp. 229
Test Circuit Programp. 231
One Rotationp. 232
Second Basic Programp. 232
Half-Steppingp. 234
The “ti” Delay Variablep. 234
Troubleshootingp. 236
UCN 5804 Dedicated Stepper Motor ICsp. 236
Parts Listp. 240
Servomotorsp. 241
Extending Servo Motor Rangep. 244
Manual Servo Controlp. 245
Multiple Servomotorsp. 247
Timing and Servomotorsp. 250
PICBasic Pro Compiler Project: Five-Servomotor Controllerp. 250
Parts Listp. 254
Controlling AC Appliancesp. 255
Inductive and Resistive Loadsp. 255
Circuit Constructionp. 256
Test Circuitp. 260
Smart Controlp. 260
Electronic Nosep. 261
Parts Listp. 261
A Few More Projectsp. 263
Binary Clockp. 263
Setting the Clockp. 265
Digital Geiger Counterp. 266
Frequency Generatorp. 268
In Closingp. 269
Suppliers Indexp. 271
Hexadecimal Numbersp. 273
Indexp. 275
Table of Contents provided by Ingram. All Rights Reserved.

Link to Purchase E-Book:

PIC Microcontroller Project Book By John Iovine 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.