Cart
Free US shipping over $10
Proud to be B-Corp

Introductory Programs with the 32-bit PIC Microcontroller Hubert Ward

Introductory Programs with the 32-bit PIC Microcontroller By Hubert Ward

Introductory Programs with the 32-bit PIC Microcontroller by Hubert Ward


$69.89
Condition - New
Out of stock

Introductory Programs with the 32-bit PIC Microcontroller Summary

Introductory Programs with the 32-bit PIC Microcontroller: A Line-by-Line Code Analysis and Reference Guide for Embedded Programming in C by Hubert Ward

Embark on a journey into the world of embedded programming. This book introduces you to the 32bit PIC and will teach you how the main functions of C programming work and can be used with a PIC micro.

A one-stop reference for the would-be embedded programmer, you'll explore the electronics needed for a variety of programs as well as how to use different devices with the PIC. The book starts with downloading the environment and creating a simple project, one that uses different oscillators, Phase Lock Loop, and circuitry needed to create the different system clocks-an easy entry point to this exciting environment. You'll also review the MPLABX integrated development environment (IDE) and see how to program the 32Bit PIC, which can be adapted to different PICs.

Throughout subsequent chapters, you'll learn how to use a range of programs that use PIC modules such as the SPI, I2C, UART communication modules, the ADC module, the Capture, Compare, and Pulse Width Modulation module, and the RTCC, Real Time Clock and Calendar Module.

What You'll Learn

  • Create a project in MPLABX
  • Configure the different clock frequencies that are used in the 32bit PIC
  • Build a variable delay subroutine to be used in a simple traffic lights program
  • Use the MAX 7219 driver IC to control the 8by8 matrix display
  • Program an I2C expander module to control the display on a LCD

Who This Book Is For

Readers who want to try their hand at embedded programming, newcomers to programming the PIC 32, programmers who want to look into using MPLAB Harmony 3, and programmers who want to understand how C instructions work with respect to 32bit PIC. Also students who are studying for an engineering qualification.

About Hubert Ward

Hubert Ward has nearly 25 years of experience as a college lecturer delivering the BTEC, and now Pearson's, Higher National Certificate and Higher Diploma in Electrical & Electronic Engineering. Hubert has a 2.1 Honours Bachelor's Degree in Electrical & Electronic Engineering. Hubert has also worked as a consultant in embedded programming. His work has established his expertise in the assembler and C programming languages, within the MPLAB X IDE from Microchip, as well as designing electronic circuits, and PCBs, using ECAD software. Hubert was also the UK technical expert in Mechatronics for three years, training the UK team and taking them to enter in the Skills Olympics in Seoul 2001, resulting in one of the best outcomes to date for the UK in Mechatronics.

Table of Contents

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.

Additional information

NGR9781484290507
9781484290507
148429050X
Introductory Programs with the 32-bit PIC Microcontroller: A Line-by-Line Code Analysis and Reference Guide for Embedded Programming in C by Hubert Ward
New
Paperback
APress
2023-05-05
762
N/A
Book picture is for illustrative purposes only, actual binding, cover or edition may vary.
This is a new book - be the first to read this copy. With untouched pages and a perfect binding, your brand new copy is ready to be opened for the first time

Customer Reviews - Introductory Programs with the 32-bit PIC Microcontroller