Designing Embedded Systems with PIC Microcontrollers: Principles and Applications | by Tim Wilmshurst | ISBN: 9780750667555. Electronics Books. Microcontroller Design. Hardware Design of the Electronic. The Microchip In-Circuit Debugger. MPLAB Tutorial.
Designing Embedded Systems with PIC Microcontrollers: Principles and Applications
by Tim Wilmshurst
ISBN:9780750667555
Packed with helpful examples and illustrations, this hands-on book offers an in-depth treatment of microcontroller design, programming in both assembly language and C, and features advanced topics such as networking and real-time operating systems.
Get this Book by clicking below:
![]() |
Designing Embedded Systems with PIC Microcontrollers—Principles and Applications
Introduction
Section 1 – Getting Started with Embedded Systems
Chapter 1 – Tiny Computers, Hidden Control
Overview
1.1: The Main Idea — Embedded Systems in Today’s World
1.2: Some Example Embedded Systems
1.3: Some Computer Essentials
1.4: Microprocessors and Microcontrollers
1.5: Microchip and the PIC Microcontroller
1.6: An Introduction to PIC Microcontrollers Using the 12 Series
1.7: What Others Do — A Freescale Microcontroller
Summary
References
Section 2 – Minimum Systems and the PIC 16F84A
Chapter 2 – Introducing the PIC 16 Series and the 16F84A
Overview
2.1: The Main Idea — the PIC 16 Series Family
2.2: An Architecture Overview of the 16F84A
2.3: A Review of Memory Technologies
2.4: The 16F84A Memory
2.5: Some Issues of Timing
2.6: Power-Up and Reset
2.7: What Others Do — the Atmel AT89C2051
2.8: Taking Things Further — the 16F84A On-Chip Reset Circuit
Summary
References
Chapter 3 – Parallel Ports, Power Supply and the Clock Oscillator
Overview
3.1: The Main Idea — Parallel Input/Output
3.2: The Technical Challenge of Parallel Input/Output
3.3: Connecting to the Parallel Port
3.4: The PIC 16F84A Parallel Ports
3.5: The Clock Oscillator
3.6: Power Supply
3.7: The Hardware Design of the Electronic Ping-Pong
Summary
References
Chapter 4 – Starting to Program—An Introduction to Assembler
Overview
4.1: The Main Idea — What Programs Do and How We Develop Them
4.2: The PIC 16 Series Instruction Set, with a Little More on the ALU
4.3: Assemblers and Assembler Format
4.4: Creating Simple Programs
4.5: Adopting a Development Environment
4.6: An Introductory MPLAB Tutorial
4.7: An Introduction to Simulation
4.8: Downloading the Program to a Microcontroller
4.9: What Others Do — a Brief Comparison of CISC and RISC Instruction Sets
4.10: Taking Things Further — the 16 Series Instruction Set Format
Summary
References
Chapter 5 – Building Assembler Programs
Overview
5.1: The Main Idea — Building Structured Programs
5.2: Flow Control — Branching and Subroutines
5.3: Generating Time Delays and Intervals
5.4: Dealing with Data
5.5: Introducing Logical Instructions
5.6: Introducing Arithmetic Instructions and the Carry Flag
5.7: Taming Assembler Complexity
5.8: More Use of the MPLAB Simulator
5.9: The Ping-Pong Program
5.10: Simulating the Ping-Pong Program — Tutorial
5.11: What Others Do — Graphical Simulators
Summary
References
Chapter 6 – Working with Time:Interrupts, Counters and Timers
Overview
6.1: The Main Idea — Interrupts
6.2: Working with Interrupts
6.3: The Main Idea — Counters and Timers
6.4: Applying the 16F84A Timer 0, with Examples Using the Electronic Ping-Pong
6.5: The Watchdog Timer
6.6: Sleep Mode
6.7: What Others Do
6.8: Taking Things Further — Interrupt Latency
Summary
Section 3 – Larger Systems and the PIC 16F873A
Chapter 7 – Larger Systems and the PIC 16F873A
Overview
7.1: The Main Idea — the PIC 16F87XA
7.2: The 16F873A Block Diagram and CPU
7.3: 16F873A Memory and Memory Maps
7.4: ‘Special’ Memory Operations
7.5: The 16F873A Interrupts
7.6: The 16F873A Oscillator, Reset and Power Supply
7.7: The 16F873A Parallel Ports
7.8: Test, Commission and Diagnostic Tools
7.9: The Microchip In-Circuit Debugger (ICD 2)
7.10: Applying the 16F873A: The Derbot AGV
7.11: Downloading, Testing and Running a Simple Program with ICD 2
7.12: Taking Things Further — the 16F874A/16F877A Ports D and E
Summary
References
Chapter 8 – The Human and Physical Interfaces
Overview
8.1: The Main Idea — the Human Interface
8.2: From Switches to Keypads
8.3: LED Displays
8.4: Liquid Crystal Displays
8.5: The Main Idea — Interfacing to the Physical World
8.6: Some Simple Sensors
8.7: More on Digital Input
8.8: Actuators: Motors and Servos
8.9: Interfacing to Actuators
8.10: Building Up the Derbot
8.11: Applying Sensors and Actuators — a ‘Blind’ Navigation Derbot Program
Summary
References
Chapter 9 – Taking Timing Further
Overview
9.1: The Main Ideas — Taking Counting and Timing Further
9.2: The 16F87XA Timer 0 and Timer 1
9.3: The 16F87XA Timer 2, Comparator and PR2 Register
9.4: The Capture/Compare/PWM (CCP) Modules
9.5: Pulse Width Modulation
9.6: Generating PWM in Software
9.7: PWM Used for Digital-to-Analog Conversion
9.8: Frequency Measurement
9.9: Speed Control Applied to the Derbot
9.10: Where There is No Timer
9.11: Sleep Mode
9.12: Where Do We Go from Here?
9.13: Building Up the Derbot
Summary
Reference
Chapter 10 – Starting with Serial
Overview
10.1: The Main Idea — Introducing Serial
10.2: Simple Serial Links — Synchronous Data Communication
10.3: The 16F87XA Master Synchronous Serial Port (MSSP) Module in SPI Mode
10.4: A Simple SPI Example
10.5: The Limitations of Microwire and SPI, and of Simple Synchronous Serial Transfer
10.6: Enhancing Synchronous Serial, and the Inter-Integrated Circuit Bus
10.7: The MSSP Configured for I2C
10.8: I2C Applied in the Derbot AGV
10.9: Evaluation of Synchronous Serial Data Communication and an Introduction to Asynchronous
10.10: The 16F87XA Addressable Universal Synchronous Asynchronous Receiver Transmitter (USART)
10.11: Implementing Serial without a Serial Port — ‘Bit Banging’
10.12: Building Up the Derbot
Summary
References
Chapter 11 – Data Acquisition and Manipulation
Overview
11.1: The Main Idea — Analog and Digital Quantities, Their Acquisition and Use
11.2: The Data Acquisition System
11.3: The PIC® 16F87XA ADC Module
11.4: Applying the ADC in the Derbot Light Meter Program
11.5: Some Simple Data Manipulation Techniques
11.6: The Derbot Light-Seeking Program
11.7: The Comparator Module
11.8: Applying the Derbot Circuit for Measurement Purposes
11.9: Configuring the Derbot AGV As a Light-seeking Robot
Summary
References
Section 4 – Smarter Systems and the PIC 18FXX2
Chapter 12 – Smarter Systems and the PIC 18FXX2
Overview
12.1: The Main Idea — the PIC 18 Series and the 18FXX2
12.2: The 18F2X2 Block Diagram and Status Register
12.3: The 18 Series Instruction Set
12.4: Data Memory and Special Function Registers
12.5: Program Memory
12.6: The Stacks
12.7: The Interrupts
12.8: Power Supply and Reset
12.9: The Oscillator Sources
12.10: Introductory Programming with the 18F242
Summary
References
Chapter 13 – The PIC 18FXX2 Peripherals
Overview
13.1: The Main Idea — the 18FXX2 Peripherals
13.2: The Parallel Ports
13.3: The Timers
13.4: The Capture/Compare/PWM (CCP) Modules
13.5: The Serial Ports
13.6: The Analog-to-digital Converter (ADC)
13.7: Low-voltage Detect
13.8: Applying the 18 Series in the Derbot-18
13.9: The 18F2420 and the Extended Instruction Set
Summary
Reference
Chapter 14 – Introducing C
Overview
14.1: The Main Idea — Why C?
14.2: An Introduction to C
14.3: Compiling the C program
14.4: The MPLAB C18 Compiler
14.5: A C18 Tutorial
14.6: Simulating a C Program
14.7: A Second C Example — the Fibonacci Program
14.8: The MPLAB C18 Libraries
14.9: Further Reading
Summary
References
Chapter 15 – C and the Embedded Environment
Overview
15.1: The Main Idea — Adapting C to the Embedded Environment
15.2: Controlling and Branching on Bit Values
15.3: More on Functions
15.4: More Branching and Looping
15.5: Using the Timer and PWM Peripherals
Summary
Chapter 16 – Acquiring and Using Data with C
Overview
16.1: The Main Idea — Using C for Data Manipulation
16.2: Using the 18FXX2 ADC
16.3: Pointers, Arrays and Strings
16.4: Using the I2C Peripheral
16.5: Formatting Data for Display
Summary
Chapter 17 – More C and the Wider C Environment
Overview
17.1: The Main Idea — More C and the Wider C Environment
17.2: Assembler Inserts
17.3: Controlling Memory Allocation
17.4: Interrupts
17.5: Example with Interrupt on Overflow — Flashing LEDs on the Derbot
17.6: Storage Classes and Their Application
17.7: Start-Up Code: c018i.c
17.8: Structures, Unions and Bit-Fields
17.9: Processor-Specific Header Files
17.10: Taking Things Further — the MPLAB Linker and the .map File
Summary
References
Chapter 18 – Multi-Tasking and the Real Time Operating System
Overview
18.1: The Main Ideas — the Challenge of Multi-tasking and Real Time
18.2: Achieving Multi-Tasking with Sequential Programming
18.3: The Real Time Operating System (RTOS)
18.4: Scheduling and the Scheduler
18.5: Developing Tasks
18.6: Data and Resource Protection — the Semaphore
18.7: Where Do We Go from Here?
Summary
References
Chapter 19 – The Salvo Real Time Operating System
Overview
19.1: The Main Idea — Salvo, An Example RTOS
19.2: Configuring the Salvo Application
19.3: Writing Salvo Programs
19.4: A First Salvo Example
19.5: Using Interrupts, Delays and Semaphores with Salvo
19.6: Using Salvo Messages and Increasing RTOS Complexity
19.7: A Program Example with Messages
19.8: The RTOS Overhead
Summary
References
Section 5 – Techniques of Connectivity and Networking
Chapter 20 – Connectivity and Networks
Overview
20.1: The Main Idea — Networking and Connectivity
20.2: Infrared Connectivity
20.3: Radio Connectivity
20.4: Controller Area Network (CAN) and Local Interconnect Network (LIN)
20.5: Embedded Systems and the Internet
20.6: Conclusion
Summary
References
Appendix 1 – The PIC® 16 Series Instruction Set
Appendix 2 – The Electronic ping-pong
Appendix 3 – The Derbot AGV — Hardware Design Details
Overview
The Derbot Incremental Shaft Encoder
Appendix 4 – Some Basics of Autonomous Guided Vehicles
Locomotion and Wheel Layout
Motor, Gearbox and Wheel
Turning Geometries
Odometry
Reference
Appendix 5 – PIC® 18 Series Instruction Set (Non-Extended)
Appendix 6 – Essentials of C
For 1000+ more Engineering Books & Electronics Books, click below:



Related posts:
- Digital Design: An Embedded Systems Approach Using Verilog | by Peter J. Ashenden | ISBN: 9780123695277. Programmable Logic Devices. Packaging and Circuit Boards. Digital Systems and Embedded Systems. Combinational Electronic Components and Circuits. Embedded Computer Organization
- Behavioral Modeling for Embedded Systems and Technologies: Applications for Design and Implementation | by Luís Gomes and João M. Fernandes | 2010 | ISBN: 9781605667508. Embedded Systems Design. Industrial Embedded Control Systems. Distributed Real-Time Embedded Systems. Engineering Embedded Software
- Embedded Technology Books. Intelligent Sensor Design Using the Microchip dsPIC | by Creed Huddleston | 2007 | ISBN: 9780750677554. Embedded Control Engineering. Temperature Sensors. Pressure and Load Sensors. Flow Sensors. Intelligent Sensors Principles.
- Hardware Engineering Design. Embedded DSP Processor Design: Application Specific Instruction Set Processors | by Dake Liu | 2008 | ISBN: 9780123741233. Design of DSP Microarchitecture
- Digital Signal Processing: Fundamentals and Applications | by Li Tan | ISBN: 9780123740908. Electrical Engineering Books. DSP Applications. Digital Filter Design. Hardware and Software for Digital Signal Processors. Adaptive Filters
- Road Vehicles: Diagnostic Communication: Technology and Applications | by Christoph Marscholik and Peter Subke | ISBN: 9788131807347. Electronics in Road Vehicles. Automotive Electronics. Vehicle Communication Interfaces (VCI). ECU Hardware and Software. SAE J1850. KWP 2000 (ISO 14230). ASAM MCD and ISO MVCI.
- Three-Dimensional Integrated Circuit Design | by Vasilis F. Pavlidis and Eby G. Friedman | 2009 | ISBN: 9780123743435. Manufacturing of 3-D Packaged Systems. 3-D Integrated Circuit Fabrication Technologies. Physical Design Techniques for 3-D ICs. THREE-DIMENSIONAL NETWORKS-ON-CHIP
- mm-Wave Silicon Technology: 60 GHz and Beyond | by Ali M. Niknejad and Hossein Hashemi | ISBN: 9780387765587. Integrated Circuit and Systems. mm-Wave Applications and Solutions. Low-Noise Amplifier Design Methodology. Integrated Beamforming Arrays
- Applied Control Theory for Embedded Systems | by Tim Wescott | ISBN: 9780750678391. Embedded Technology Books. Closed Loop Control. Controllers, Filters and Compensators. Sampling Theory. The Z Transform. Characteristics of Nonlinear Systems
- Understanding GPS: Principles and Applications, Second Edition | by Elliott D. Kaplan and Christopher J. Hegarty (eds) | ISBN: 9781580538947. Geographical Information Systems. Land Vehicle Systems. Satellite Navigation. GPS Satellite Signal Characteristics
- Hybrid CMOS Single-Electron-Transistor Device and Circuit Design | by Santanu Mahapatra and Adrian Mihai Ionescu | ISBN: 9781596930698. CMOS Scaling and Single Electronics. Computer-Aided Design Tools for SET Simulation. SET and MOSFET Modeling Techniques
- Wideband Amplifier Design | by Allen L. Hollister | ISBN: 9781891121517. Electronics Books. High-Frequency Transistor Models. FULL DIFFERENTIAL AMPLIFIER.
- Reconfigurable Computing: The Theory and Practice of FPGA-Based Computation | by Scott Hauck and André DeHon | 2008 | ISBN: 9780123705228. Reconfigurable Computing Systems. EVOLVABLE HARDWARE DIGITAL PLATFORMS. Programming FPGA Applications in VHDL
- Medical Imaging: Principles, Detectors, and Electronics | by Krzysztof Iniewski (ed) | 2009 | ISBN: 9780470391648. X-Ray Imaging. CT IMAGING PRINCIPLE. CT SCANNERS. Ultrasound Imaging. Magnetic Resonance Imaging. Diagnostic Medical Imaging Applications.
- Designing Bipolar Transistor Radio Frequency Integrated Circuits | by Allen A. Sweet | ISBN: 9781596931282. RFIC Architectures. InGaP/GaAs HBT Fabrication Technology. Passive Circuit Design. Low-Noise Amplifier Design. Mixer/Modulator Design. Voltage-Controlled Oscillator Design
- Op Amps for Everyone, Third Edition | by Ron Mancini and Bruce Carter (eds) | 2009 | ISBN: 9781856175050. Comparison of Op Amps. Circuit Design and Analysis. Circuit Board Layout Techniques. Operational Amplifier Parameters. Active Filter Design Techniques. Noninverting Op Amp.
- Nanostructures in Electronics and Photonics | by Faiz Rahman | ISBN: 9789814241106. Nanotechnology Books. Electronics Books. Nanowire Electron Devices. Nanoscale Materials and Structures for Photonics. Three-Dimensional Nanostructures
- Global Positioning System: Theory and Applications, Volume II | by Bradford W. Parkinson (ed) et al. | ISBN: 9781563471070. Astronautics Books. Aeronautics Books. GPS Surveillance Systems. GPS Navigation Applications. Global Navigation Satellite System (GLONASS).
- Architectural Acoustics | by M. David Egan | ISBN: 9781932159783. Civil Engineering. Architectural Education. buildings design and construction. Electronic Sound Systems. Room coustics Design. EFFECTIVE ABSORPTION OF SOUND. ROOM ACOUSTICS DESIGN. EFFECTIVE ISOLATION OF SOUND
- The Engineering Design of Systems: Models and Methods, Second Edition | by Dennis M. Buede | 2009 | ISBN: 9780470164020. Systems Engineering and Management. Systems Engineering Design Process. SYSTEMS ENGINEERING TOOL. Engineering Design and Integration.
- MEMS: A Practical Guide to Design, Analysis, and Applications | by Jan Korvink and Oliver Haber (eds) | ISBN:9780815514978. MEMS device design. Microsensors System Applications. Simulation of Microsystems. Micromachining Technology. Optical MEMS.
- Real-Time Embedded Multithreading Using ThreadX and MIPS | by Edward L. Lamie | 2009 | ISBN: 9781856176316. Designing a Multithreaded System. Real-time Operating Systems and Real-time Kernels. Embedded Systems Development. RTOS Building Blocks for System Development. MIPS Microprocessor
- Water and Wastewater Engineering. Water Supply Systems Security | by Larry W. Mays (ed) | 2004 | ISBN: 9780071425315. DRINKING WATER SECURITY AND SAFETY. WATER SYSTEM EMERGENCY RESPONSE PLAN. SECURITY HARDWARE AND SURVEILLANCE SYSTEMS FOR WATER SUPPLY SYSTEMS
- Fundamentals of Modern Manufacturing: Materials, Processes, and Systems, 3rd Edition | ISBN: 9780471744856. Industrial Engineering Books. Manufacturing processes. electronics manufacturing technologies. Flexible Manufacturing Systems. Machining Operations and Machine Tools
- RFID Books. RFID Design Principles | by Harvey Lehpamer | 2008 | ISBN: 9781596931947. Microwave Library. Radio Frequency Identification. Short-Range Communications Systems. RFID Security and Privacy
- Stormwater Collection Systems Design Handbook | by Larry W. Mays (ed) | ISBN: 9780071354714. Subsurface Stormwater Management Systems. FLOODPLAIN MANAGEMENT. Stormwater Drainage Systems. Hydraulics of Sewer Systems. Stormwater Treatment Wetland Design. Distributed Stormwater Control
- Integrated Circuit Packaging, Assembly and Interconnections | by William J. Greig | ISBN: 9780387281537. Advanced Microelectronics. Electronic Manufacturing. IC MANUFACTURING TECHNOLOGIES. HDI Substrate Manufacturing Technologies. Thin Film Technology
- Nanostructured Materials: Processing, Properties and Applications, Second Edition | by Carl C. Koch (ed) | ISBN:9780815515340. Nanotechnology Books. Materials Science. Nanostructured Electronics and Optoelectronic Materials. Nanostructured Particles and Films.
- Solar Cell Technology and Applications | by A. R. Jha | 2010 | ISBN: 9781420081770. Solar Power Systems. Fabrication Materials for Solar Cells and Panels. Solar Modules, Panels, and Systems. Solar Cell and Array Designs Guidelines. Optimum Performance Design of Low-Cost, High-Efficiency Solar Cell Devices.
- Microwave Transmission Networks: Planning, Design, and Deployment | by Harvey Lehpamer | ISBN: 9780071432498. Microwave Communications Books. Microwave Systems Engineering. Microwave Design Tools. The Microwave Network Design and Planning Process.
- Manufacturing Execution Systems: Optimal Design, Planning, and Deployment | by Heiko Meyer, Franz Fuchs and Klaus Thiel | 2009 | ISBN: 9780071623834. Production Management Systems. Product Lifecycle Management. Production Flow-Oriented Design
- Device Electronics for Integrated Circuits, Third Edition | by Richard S. Muller, Theodore I. Kamins and Mansun Chan | ISBN: 9780471593980. Semiconductor Electronics. MOS Field-Effect Transistors. Bipolar Transistors. Metal-Oxide-Silicon System
- Radio-Frequency Electronics: Circuits and Applications, Second Edition | by Jon B. Hagen | 2009 | ISBN: 9780521889742. Radio Communications Books. Antennas and Radio Wave Propagation. Synthetic Aperture Radar. Digital Modulation Techniques. GPS Navigation System. RF Test Equipment
- Conflict Management Books. Getting to Resolution: Turning Conflict Into Collaboration, Second Edition | by Stewart Levine | 2009 | ISBN: 9781576757710. Conflict Resolution Techniques. Resolution Facilitation Tutorial. Principles of Resolutionary Thinking.
- Visual Design Fundamentals: A Digital Approach, Third Edition | by Alan Hashimoto and Mike Clayton | 2009 | ISBN: 9781584505815. Computer Science Books. Principles of Good Design.
- Organic Electronics in Sensors and Biotechnology | by Ruth Shinar and Joseph Shinar | 2009 | ISBN: 9780071596756. BioPhotonics Resource. Organic Light-Emitting Diode-Based Chemical and Biological Sensors. Organic Thin-Film Transistors Design. Integrated Optical Sensor Systems
- Microelectronics Books. Semiconductor Engineering Books. Power Electronics Semiconductor Devices | by Robert Perret | 2009 | ISBN: 9781848210646. Power MOSFET Technologies. Insulated Gate Bipolar Transistors. Technology for Silicon Carbide Power Components
- Power Systems Modelling and Fault Analysis: Theory and Practice | by Nasser D. Tleis | ISBN: 9780750680745. Power System Equipments. Practical Short-Circuit Current Assessments in Large-Scale AC Power Systems. Modelling of Multi-Conductor Overhead Lines and Cables. Modelling of AC Rotating Machines
- Security in RFID and Sensor Networks | by Yan Zhang and Paris Kitsos (eds) | 2009 | ISBN: 9781420068399. Multi-Tag RFID Systems. How to Attack RFID Systems. RFID Relay Attacks Implementation. Designing Secure Wireless Embedded Systems. Security Schemes Against Jamming in Wireless Sensor Networks
- RF Power Amplifier Behavioral Modeling | by Dominique Schreurs, Máirtín O’Droma, Anthony A. Goacher and Michael Gadringer (eds) | 2009 | ISBN: 9780521881739. Circuit-Level Power Amplifier Models. Digital-Logic Simulation. Analogue-Signal Behavioural Simulators for Wireless Communication Systems





