Programming PIC Microcontrollers with XC8

  • 2h 58m
  • Armstrong Subero
  • Apress
  • 2018

Learn how to use microcontrollers without all the frills and math. This book uses a practical approach to show you how to develop embedded systems with 8 bit PIC microcontrollers using the XC8 compiler. It's your complete guide to understanding modern PIC microcontrollers.

Are you tired of copying and pasting code into your embedded projects? Do you want to write your own code from scratch for microcontrollers and understand what your code is doing? Do you want to move beyond the Arduino? Then Programming PIC Microcontrollers with XC8 is for you! Written for those who want more than an Arduino, but less than the more complex microcontrollers on the market, PIC microcontrollers are the next logical step in your journey.

You'll also see the advantage that MPLAB X offers by running on Windows, MAC and Linux environments. You don't need to be a command line expert to work with PIC microcontrollers, so you can focus less on setting up your environment and more on your application.

What You’ll Learn

  • Set up the MPLAB X and XC8 compilers for microcontroller development
  • Use GPIO and PPS
  • Review EUSART and Software UART communications
  • Use the eXtreme Low Power (XLP) options of PIC microcontrollers
  • Explore wireless communications with WiFi and Bluetooth

Who This Book Is For

Those with some basic electronic device and some electronic equipment and knowledge. This book assumes knowledge of the C programming language and basic knowledge of digital electronics though a basic overview is given for both. A complete newcomer can follow along, but this book is heavy on code, schematics and images and focuses less on the theoretical aspects of using microcontrollers. This book is also targeted to students wanting a practical overview of microcontrollers outside of the classroom.

In this Book

  • Preparing for Development
  • The C Programming Language
  • Basic Electronics for Embedded Systems
  • PIC® Microcontrollers
  • Connecting and Creating
  • Input and Output
  • Interfacing Actuators
  • Interrupts, Timers, Counters, and PWM
  • USART, SPI, and I2C: Serial Communication Protocols
  • Interfacing Displays
  • ADC and DAC
  • NCO, Comparator, and FVR
  • Wi-Fi and Bluetooth
  • Watchdog Timer and Low Power
  • PIC® Microcontroller Projects
SHOW MORE
FREE ACCESS