Introductory Programs with the 32-Bit PIC Microcontroller: A Line-By-Line Code Analysis and Reference Guide for Embedded Programming in C

Ward, Hubert

  • 出版商: Apress
  • 出版日期: 2023-05-05
  • 售價: $2,330
  • 貴賓價: 9.5$2,214
  • 語言: 英文
  • 頁數: 777
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 148429050X
  • ISBN-13: 9781484290507
  • 相關分類: 嵌入式系統
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

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.

商品描述(中文翻譯)

踏上嵌入式程式設計的旅程。本書介紹了32位元PIC並教導您如何使用C程式設計的主要功能,並將其與PIC微控制器一起使用。

作為嵌入式程式設計師的一站式參考,您將探索各種程式所需的電子元件,以及如何使用不同的設備與PIC一起使用。本書從下載環境並建立一個簡單的專案開始,該專案使用不同的振盪器、相位鎖定迴路和電路來建立不同的系統時鐘,這是進入這個令人興奮的環境的簡單入口點。您還將回顧MPLABX集成開發環境(IDE)並了解如何編程32位元PIC,該編程可以適應不同的PIC。

在隨後的章節中,您將學習如何使用一系列使用PIC模組的程式,例如SPI、I2C、UART通訊模組、ADC模組、捕獲、比較和脈寬調製模組以及RTCC(實時時鐘和日曆模組)。

您將學到什麼


  • 在MPLABX中建立專案

  • 配置32位元PIC中使用的不同時鐘頻率

  • 建立一個變量延遲子程序,用於簡單的交通燈程式

  • 使用MAX 7219驅動器IC來控制8x8矩陣顯示器


  • 編程I2C擴展模組以控制LCD顯示器


本書適合對象

想嘗試嵌入式程式設計的讀者,初學者想要學習PIC 32程式設計,想要了解如何使用MPLAB Harmony 3的程式設計師,以及想要了解C指令如何與32位元PIC相關的程式設計師。同時也適合正在學習工程學資格的學生。

作者簡介

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.

作者簡介(中文翻譯)

Hubert Ward擁有近25年的大學講師經驗,教授BTEC和Pearson的高級國家證書和高級文憑課程,專攻電氣與電子工程。Hubert擁有2.1榮譽學士學位,主修電氣與電子工程。他還曾擔任嵌入式編程顧問,並在Microchip的MPLAB X IDE中的組合語言和C編程語言方面建立了專業知識,同時使用ECAD軟件設計電子電路和PCB。Hubert還擔任英國機電一體化的技術專家三年,培訓英國團隊並帶領他們參加2001年首爾技能奧林匹克競賽,在機電一體化領域取得了迄今為止英國最佳成績之一。