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

Introductory Programs with the 32-bit PIC Microcontroller

A Line-by-Line Code Analysis and Reference Guide for Embedded Programming in C

(Autor)

Buch | Softcover
762 Seiten
2023 | 1st ed.
Apress (Verlag)
978-1-4842-9050-7 (ISBN)
64,19 inkl. MwSt
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 Modulationmodule, 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.

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.

Chapter 1: Creating Our First C Program.- Chapter 2: Header Files and Delays.- Chapter 3 The Seven Segment Display.- Chapter 4: The LCD.- Chapter 5: The Dot Matrix Display.- Chapter 6: Communication.- Chapter 7: I2C Communication.- Chapter 8: Using Interrupts.- Chapter 9: The Real Time Clock.- Chapter 10: The RTC and the DS3231.- Chapter 11: The RTCC Module of the 32 bit PIC.- Chapter 12: The Real Analogue World.- Chapter 13 The DHT11 Transducer.- Chapter 14 Creating a Square Wave.

Erscheinungsdatum
Reihe/Serie Maker Innovations Series
Zusatzinfo 132 Illustrations, black and white; XXXIII, 762 p. 132 illus.
Verlagsort Berkley
Sprache englisch
Maße 155 x 235 mm
Themenwelt Informatik Weitere Themen Hardware
ISBN-10 1-4842-9050-X / 148429050X
ISBN-13 978-1-4842-9050-7 / 9781484290507
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich
entwickle, drucke und baue deine DIY-Objekte

von Stephan Regele

Buch | Hardcover (2023)
Hanser, Carl (Verlag)
34,99