Book description
Extensively revised and updated to encompass the latest developments in the PIC 18FXXX series, this book demonstrates how to develop a range of microcontroller applications through a project-based approach. After giving an introduction to programming in C using the popular mikroC Pro for PIC and MPLAB XC8 languages, this book describes the project development cycle in full. The book walks you through fully tried and tested hands-on projects, including many new, advanced topics such as Ethernet programming, digital signal processing, and RFid technology. This book is ideal for engineers, technicians, hobbyists and students who have knowledge of the basic principles of PIC microcontrollers and want to develop more advanced applications using the PIC18F series.
This book Includes over fifty projects which are divided into three categories: Basic, Intermediate, and Advanced.
New projects in this edition:
Logic probeCustom LCD font designHi/Lo gameGenerating various waveforms in real-timeUltrasonic height measurementFrequency counterReaction timerGPS projectsClosed-loop ON/OFF temperature controlBluetooth projects (master and slave)RFid projectsClock using Real-time-clock (RTC) chipRTC alarm projectGraphics LCD (GLCD) projectsBarometer+thermometer+altimeter projectPlotting temperature on GLCDEthernet web browser based controlEthernet UDP based controlDigital signal processing (Low Pass Filter design)Automotive LIN bus projectAutomotive CAN bus projectMultitasking projects (using both cooperative and Round-robin scheduling)Unipolar stepper motor projectsBipolar stepper motor projectsClosed-loop ON/OFF DC motor control
- A clear introduction to the PIC 18FXXX microcontroller's architecture
- Covers developing wireless and sensor network applications, SD card projects, and multi-tasking; all demonstrated with the block and circuit diagram, program description in PDL, program listing, and program description
- Includes more than 50 basic, intermediate, and advanced projects
Table of contents
- Cover image
- Title page
- Table of Contents
- Copyright
- Preface
- Acknowledgments
- Chapter 1. Microcomputer Systems
- Chapter 2. mikroC Pro for PIC Programming Language
- Chapter 3. MPLAB X IDE and MPLAB XC8 C Programming Language
- Chapter 4. Microcontroller Program Development
-
Chapter 5. Simple PIC18 Projects
- Project 5.1—Chasing LEDs
- Project 5.2—Complex Flashing LED
- Project 5.3—Random Flashing LEDs
- Project 5.4—Logic Probe
- Project 5.5—LED Dice
- Project 5.6—Two-Dice Project
- Project 5.7—Two-Dice Project Using Fewer I/O Pins
- Project 5.8—7-Segment LED Counter
- Project 5.9—Two-Digit Multiplexed 7-Segment LED
- Project 5.10—Four-Digit Multiplexed 7-Segment LED
- Project 5.11—LED Voltmeter
- Project 5.12—LCD Voltmeter
- Project 5.13—Generating Sound
- Project 5.14—Generating Custom LCD Fonts
- Project 5.15—Digital Thermometer
-
Chapter 6. Intermediate PIC18 Projects
- Project 6.1—Four-Digit Multiplexed Seven-Segment Light Emitting Diode Event Counter Using an External Interrupt
- Project 6.2—Calculator with a Keypad and Liquid Crystal Display
- Project 6.3—The High/Low Game
- Project 6.4—Generating Waveforms
- Project 6.5—Ultrasonic Human Height Measurement
- Project 6.6—Minielectronic Organ
- Project 6.7—Frequency Counter with an LCD Display
- Project 6.8—Reaction Timer
- Project 6.9—Temperature and Relative Humidity Measurement
- Project 6.10—Thermometer with an RS232 Serial Output
- Project 6.11—Microcontroller and a PC-Based Calculator
- Project 6.12—GPS with an LCD Output
- Project 6.13—ON–OFF Temperature Control
-
Chapter 7. Advanced PIC18 Projects
- Project 7.1—Bluetooth Serial Communication—Slave Mode
- Project 7.2—Bluetooth Serial Communication—Master Mode
- Project 7.3—Using the RFID
- Project 7.4—RFID Lock
- Project 7.5—Complex SPI Bus Project
- Project 7.6—Real-Time Clock Using an RTC Chip
- Project 7.7—Real-Time Alarm Clock
- Project 7.8—SD Card Projects—Write Text To a File
- Project 7.9—SD Card-Based Temperature Data Logger
- Project 7.10—Using Graphics LCD—Displaying Various Shapes
- Project 7.11—Barometer, Thermometer and Altimeter Display on a GLCD
- Project 7.12—Plotting the Temperature Variation on the GLCD
- Project 7.13—Using the Ethernet—Web Browser-Based Control
- Project 7.14—Using the Ethernet—UDP-Based Control
- Project 7.15—Digital Signal Processing—Low Pass FIR Digital Filter Project
- Project 7.16—Automotive Project—Local Interconnect Network Bus Project
- Project 7.17—Automotive Project—Can Bus Project
- Project 7.18 Multitasking
- Project 1—Using Cooperative Multitasking
- Project 2—Using Round-Robin Multitasking With Variable CPU Time Allocation
- Project 7.19—Stepper Motor Control Projects—Simple Unipolar Motor Drive
- Project 7.20—Stepper Motor Control Projects—Complex Control Of A Unipolar Motor
- Project 7.21—Stepper Motor Control Project—Simple Bipolar Motor Drive
- Project 7.22—DC Motor Control Projects—Simple Motor Drive
- Project 7.23—A Homemade Optical Encoder For Motor Speed Measurement
- Project 7.24—Closed-Loop DC Motor Speed Control—On/Off Control
- Index
Product information
- Title: PIC Microcontroller Projects in C, 2nd Edition
- Author(s):
- Release date: April 2014
- Publisher(s): Newnes
- ISBN: 9780080999678
You might also like
book
Advanced PIC Microcontroller Projects in C
This book is ideal for the engineer, technician, hobbyist and student who have knowledge of the …
book
Programming 16-Bit PIC Microcontrollers in C, 2nd Edition
New in the second edition: MPLAB X support and MPLAB C for the PIC24F v3 and …
book
Programming 8-bit PIC Microcontrollers in C
Microcontrollers are present in many new and existing electronic products, and the PIC microcontroller is a …
book
PIC Projects and Applications using C
PIC Projects and Applications Using C details how to program the PIC microcontroller in the C …