Chapter 1 Creating Our First Project
This will take the reader through the process of creating a project in MPLABX and how to configure the different clock frequencies that are used in the 32bit PIC. You will start a simple program that allows the user to turn on and off a single LED connected to the PIC.
Chapter 2 Header Files and Delays
This will take the reader through the important aspect of creating and using local and global header files. We will then look at creating a variable delay subroutine that we will use in a simple traffic lights program.
Chapter 3 The Seven Segment Display
This will explain what a seven-segment display is and how they work. Then we will go on to write a program that controls the display.
Chapter 4 The LCD
This will introduce the reader to the LCD, Liquid Crystal Display. It will explain how they work and how we can create a program to write to the display. It will then move on to explain how we can create and use special characters to display on the LCD.
It will also introduce the reader into the concept of arrays.
Chapter 5 The Dot Matrix Display
This will introduce the reader into the use of a single 8by8 dot matrix display. It will explain how we can use the MAX 7219 driver IC to control the 8by8 matrix display. It will then go on to explain how to control a series of 4 dot matrix displays cascaded together.
Chapter 6 Communication
This will look at how we can use the SPI module of the PIC to communicate with some EPROM to store data on. It will also move on to explain how we can use the UART terminal to communicate with a terminal.
Chapter 7 I2C Communication
This will move on to explain what the I2C communication protocol is and how we can create a program to use I2C. It will then move on to show how we can program an I2C expander module to control the display on a LCD.
Chapter 8 Using Interrupts
This will introduce the reader into interrupts. It will explain what they are and how we can set up the 32bit PIC to use single vectored and multi-vectored interrupts. It will also explain why and how we can set the interrupts to use different priority levels.
Chapter 9 The RTC
This will cover using the external crystal oscillator and interrupts to create an accurate clock signal. This will then display the time of day using the TM1637 IC on four 7 segment displays.
Chapter 10 The RTC and the DS3231
This will look at a real time clock using interrupts and an external crystal. It will then look at the DS3231 RTC Module.
Chapter 11 The RTCC Module of the 32 bit PIC.
In this chapter we will look at using the RTCC module of the 32 bit PIC. It will explain how to create an alarm with the RTCC module. We will also look at using the Parallel Master Port of the PIC to write the data of time etc to the LCD.
Chapter 12 The Analogue World
This chapter will explain what analogue and digital signals are. It will then move on to explain how the 32 bit PIC use the ADC module to allow analogue inputs to be used in the PIC. It will look at creating a voltmeter with the PIC and using the TC107A temperature transducer on the 16-explorer development board.
Chapter 13 The DHT11
This will look at the DHT11 humidity and temperature sensor.
This will look at SPI and I2C comms.
Chapter 14 Creating a Square Wave
This will look at creating a square wave with a fixed 50/50 duty cycle using the compare module of the PIC. It will then move onto creating a PWM square wave to creates a variable DC voltage output from the PIC.