123 PIC Microcontroller Experiments for the Evil Genius By Myke Predko E-book

Book Introduction:

Microchip continually updates its product line with more capable and lower cost products. They also provide excellent development tools. Few books take advantage of all the work done by Microchip. 123 PIC Microcontroller Experiments for the Evil Genius uses the best parts, and does not become dependent on one tool type or version, to accommodate the widest audience possible. Building on the success of 123 Robotics Experiments for the Evil Genius, as well as the unbelievable sales history of Programming and Customizing the PIC Microcontroller, this book will combine the format of the evil genius title with the following of the microcontroller audience for a sure-fire hit.

PIC Microcontroller Experiments

Audience: Professional
Format: Paperback
Language: English
Number Of Pages: 384
Published: 21st June 2005
Dimensions (cm): 27.9 x 21.6  x 1.8
Weight (kg): 0.726

Table of Contents:

Acknowledgmentsp. ix
About the Authorp. x
Introductionp. 1
Under the Covers of the PIC16F684p. 13
I/O Pinsp. 14
Configuration Wordp. 16
PIC MCU Variable Memory, Registers, and Program Memoryp. 18
Simulating cFlash.c in MPLAB IDEp. 20
Introductory C Programmingp. 27
Variable Declaration Statementsp. 28
C Data Typesp. 29
Constant Formattingp. 31
Assignment Statementsp. 32
Expressionsp. 33
Bitwise Operatorsp. 35
Logical Expressionsp. 37
Conditional Execution Using the If Statementp. 39
Nested Conditional Statementsp. 41
The Switch Decision Statementp. 43
Conditional Loopingp. 45
The For Statementp. 46
Simple PIC MCU Applicationsp. 51
Basic Delaysp. 53
Sequencing PICkit 1 Starter Kit LEDsp. 55
Binary Number Output Using PICkit 1 Starter Kit LEDsp. 56
Basic Button Inputsp. 58
Debouncing Button Inputsp. 59
MCLR Operationp. 61
Ending Applicationsp. 63
C Language Featuresp. 67
Functions and Subroutinesp. 69
Global and Local Variablesp. 70
Defines and Macrosp. 71
Variable Arraysp. 73
Structures and Unionsp. 75
Pointers and Listsp. 76
Character Stringsp. 79
Library Functionsp. 81
PIC16F684 Microcontroller Built-in Functionsp. 89
Brownout Resetp. 91
ADC Operationp. 93
Comparator Operationp. 96
Watchdog Timerp. 99
Short Timer Delays Using TMR0p. 101
Using the TMR0 Prescalerp. 102
Long Timer Delays Using TMR1p. 104
Comparing Clock Oscillatorsp. 106
Pin Resistance Measurementsp. 109
Generating PWM Signalsp. 111
Storing and Retrieving Datap. 114
Interfacing Projects for the PIC Microcontrollerp. 117
Driving a Seven-Segment LED Display Directly from the PIC16F684p. 119
Multiple Seven-Segment LED Displaysp. 121
LED Matrix Displaysp. 124
LCD Displayp. 126
Producing Random Numbersp. 128
Two-Bit LCD Displayp. 129
Switch Matrix Keypad Mappingp. 131
Sample C Microcontroller Applicationsp. 137
Pumpkin LED Displayp. 138
Reaction-Time Testerp. 140
Rokenbok Monorail/Traffic Lightsp. 143
Seven-Segment LED Thermometerp. 146
PIC MCU “Piano”p. 151
Model Railway Switch Controlp. 153
PC Operating Status Displayp. 156
Introduction to PIC MCU Assembly Language Programmingp. 159
The asmTemplate.asm File and Basic Directivesp. 160
Specifying Program Memory Addressesp. 161
Loading the WREG and Saving Its Contentsp. 164
Defining Variablesp. 165
Bitwise Instructionsp. 167
Addition Instructionsp. 168
AddLibs: Strange Simulator Resultsp. 170
Subtraction Instructionsp. 171
Bank Addressingp. 173
Bit Instructionsp. 175
Bit Skip Instructionsp. 177
Conditional Executionp. 178
decfsz Loopingp. 180
Subroutinesp. 181
Defining and Implementing Arraysp. 182
PIC Microcontroller Assembly Language Resource Routinesp. 187
Logic Simulation Using the PIC16F684p. 188
The C “Switch” Statementp. 191
Definesp. 194
Conditional Assemblyp. 197
Macrosp. 199
16-Bit Values/Variablesp. 201
Universal Delay Macrop. 203
High-Level Programmingp. 205
Implementing Read-Only Arraysp. 208
Data Stacksp. 210
Circular Buffersp. 212
Reading and Writing the EEPROM Data Memoryp. 214
Sensorsp. 221
PIC MCU BS2 User Interfacep. 224
PIC MCU BS2 Keypad Interfacep. 230
PIC MCU Instrument Interfacep. 231
Sound Detectionp. 235
Multiple Microswitch Debouncingp. 237
Light Sensorsp. 238
Infrared (IR) Surface Sensorp. 239
Interfacing to Sharp GP2D120 Ranging Object Sensorsp. 242
Do-It-Yourself IR Object Sensorp. 243
IR Object-Ranging Sensorp. 247
Ultrasonic Distance-Range Sensorp. 249
Robot IR Tagp. 251
Motor Controlp. 255
DC Motor Driven Using the CCP PWM and Using a Potentiometer Controlp. 257
DC Motor Control with Simple TMR0 PWMp. 261
Controlling Multiple Motors with PWM and BS2 Interfacep. 264
Bipolar Stepper Motor Controlp. 265
Unipolar Stepper Motor Controlp. 269
Radio-Control Model Servo Controlp. 272
Multiple Servo Control Software Structurep. 274
Two-Servo Robot Base with BS2 Interfacep. 277
Solving Programming Problems in PIC Microcontroller Assembly Languagep. 279
Eight-Bit Multiplication with a 16-Bit Productp. 280
Division of a 16-Bit Value by an Eight-Bit Valuep. 282
Squaring a Number Using Finite Difference Theoryp. 284
Find the Square Root of a 16-Bit Numberp. 286
Converting a Byte into Three Decimal, Two Hex, or Eight Binary ASCII Bytesp. 289
Produce the Even Parity Values for a Bytep. 291
Sort a List of 10 Eight-Bit Values Using the Bubble-Sort Algorithmp. 292
Encrypt and Decrypt an ASCIIZ String Using a Simple Substitution Algorithmp. 294
Generate a Fibonacci Number Sequencep. 297
Find the Largest Common Factor of Two Eight-Bit Numbersp. 298
ZipZaps Robotp. 301
Characterizing the ZipZapsp. 303
PIC MCU Power Supplyp. 305
PIC MCU Electronics PCBp. 307
IR TV Remote Controlp. 310
Motor and Steering Controlp. 311
Basic Task-Control Softwarep. 313
IR Remote Controlp. 316
Light Sensors and Followingp. 317
IR Object-Detection Sensorsp. 318
IR Line-Following Sensorsp. 320
Indexp. 327
Table of Contents provided by Ingram. All Rights Reserved.

Link to Purchase E-Book:

123 PIC Microcontroller Experiments for the Evil Genius By Myke Predko 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.