Email the Author
You can use this page to email Armstrong Subero about Programming PIC Microcontrollers with XC8.
About the Book
****************************************************************************
Update 2018:
Title has been adopted by Apress and can be bought here:
https://www.apress.com/us/book/9781484232729
*****************************************************************************
Are you tired of copy 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 get this book!
This is a book about developing embedded systems with 8 bit PIC microcontrollers using the XC8 compiler. There are many microcontroller enthusiasts who want to transition from using an Arduino and its many derivatives to using bare microcontrollers. However they do not know where to begin! In this book I will show you how to use microcontrollers. Though this book is geared toward those looking to migrate to the PIC microcontroller family, the language is clear enough that anyone can follow.
Though many persons are wondering why they should learn the PIC architecture when ARM microcontrollers are available from so many vendors and architectures like the AVR are available. The reason is simple. The PIC microcontroller family makes it easy to transition from 8 to 32 bits without changing environments and tools. The XC series of compilers from microchip also are simple to set up, completely free and all you have to do is click and run your code. Once you learn about the different peripherals on the PIC microcontroller, it will be easy to apply that knowledge to other microcontrollers.
The other advantage is that MPLAB X runs on Windows, MAC and Linux environments. You do not 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. This book is complete and will help you understand modern PIC microcontrollers.
This book consists of 14 chapters and covers a host of topics. Every chapter is feature packed and they cover:
- Introduction to PIC microcontrollers
- How to set up the MPLAB X and XC8 compilers for microcontroller development.
- Using GPIO and PPS
- Interfacing LEDs, pushbuttons, motors, relays etc.
- Using PWM, timers and counters
- Interrupts
- Interfacing character LCDs, GLCDs, colour LCDs, OLEDs and Touch Displays
- Using the Core Independant Peripherals
- Working with the CLC
- On board FVR and Comparator applications
- ADC module
- DAC module
- SPI protocol
- I2C protocol
- EUSART and Sofware UART communications
- Using the eXtreme Low Power (XLP) options of PIC microcontrollers
- Using GPS
- Using GSM
- AT commands
- NEMA protocol
- Wireless communications with WiFi and Bluetooth
- Projects and a lot more!
This is THE BOOK TO GET STARTED WITH PIC MICROCONTROLLERS.
About the Author
I have been tinkering with electronics for as long as I can remember. The thrill of creating something from the ground up and watching it work is something that one never shakes. My entire life changed when I discovered microcontrollers. They were so powerful and simple and complex all at the same time. When I finished school I taught myself programming and for a while worked part-time for myself from a home office. I landed my first job as a Systems Technologist completely self taught and a lot of it was due to my in depth knowledge and passion for microcontroller technology. I have used many microcontroller families during the course of my work, however I have an affinity for PIC microcontrollers. I currently work for the Ministry of National Security in my country and design robots as well as write books, blogs and software on trinirobotics.com in my free time.