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
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.
Chapter 2: The C Programming Language
Chapter 3: Basic Electronics for Embedded Systems
Chapter 4: PIC® Microcontrollers
Chapter 5: Connecting and Creating
Chapter 6: Input and Output
Chapter 7: Interfacing Actuators
Chapter 8: Interrupts, Timers, Counters, and PWM
Chapter 9: USART, SPI, and I2C: Serial Communication Protocols
Chapter 10: Interfacing Displays
Chapter 11: ADC and DAC
Chapter 12: NCO, Comparator, and FVR
Chapter 13: Wi-Fi and Bluetooth
Chapter 14: Watchdog Timer and Low Power
Chapter 15: PIC® Microcontroller Projects