Programming Arduino Projects with the PIC Microcontroller: A Line-by-Line Code Analysis and Complete Reference Guide for Embedded Programming in C
暫譯: 使用 PIC 微控制器的 Arduino 專案:逐行程式碼分析與 C 語言嵌入式程式設計完整參考指南

Ward, Hubert Henry

  • 出版商: Apress
  • 出版日期: 2021-10-29
  • 售價: $1,900
  • 貴賓價: 9.5$1,805
  • 語言: 英文
  • 頁數: 748
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1484272323
  • ISBN-13: 9781484272329
  • 相關分類: Arduino嵌入式系統
  • 立即出貨 (庫存=1)

商品描述

Preface: The Arduino Programs
Chapter 1: IntroductionThis chapter will set up the basics and cover the following: - What is a microcontroller- What are the main differences between the Arduino and the PIC- What are the aims and objectives of this book- How the book will workEach chapter looks at a different Arduino project creating a practical circuit built of vero board with the full program listing.Each program will have a full line by line analysis of all new instructions detailing how they work and what they are doing.
Chapter 2: What You Will Need- What you will need to use the book, such as a minimal approach; where the reader can just try the programming at no cost by simulation within MPLABX. Then use an inexpensive PIC programming option at around 30 to a full prototype board costing from around 70 to 150.- An introduction to MPLABX as to what it is and how you create a project and simulate a simple program.
Chapter 3: Our First Programs- We start with the first projects: Flashing a simple LED- Running a simple seven segment display.- As we write these programs we will look at creating our first header file for the configuration words.- As we use new instructions; as this is the first program all the instructions will be new, we explain how the instructions work and how they can be used to achieve what we want.- We will look at building the circuit on vero board by drawing the circuit diagram, the vero board plan what components and how they work and how to solder them.
Chapter 4: The 7 Segment Display and the 8by8 Matrix Display- This will look at the next two projects: The 4 seven segment display & 8by8 Matrix Display - This will mean we will look at the ADC module how it works and how we use it. Also we will look at the LCD with a full explanation of how it works and how we use it. We will also make our second header file for the LCD. We will also look at arrays and how we can use them.
Chapter 5: The Joystick Controller, The Ultrasonic and PIR Sensors- This will look at two more projects: the Joystick control and the Ultrasonic and PIR Sensors- The stepper motor linking that with the joystick control.- The ultrasonic sensor linking it with the buzzer.
Chapter 6: The Servo Motor and The Rotary EncoderThis will look at three more projects- The servo motor- The rotary encoder.- The RGB led- This will look at PWM as to how we can use it to create a square wave and the compare aspect of the CCP module.
Chapter 7: Interrupts and a RTC and The DS1307 RTC Module- This will look at a real time clock using interrupts and an external crystal. It will then look at the DS1307 RTC Module.- This will explain what interrupts are and how they work and how we can use them.
Chapter 8: The DHT11 Humidity and Temperature Sensor and SPI and I2C Communication- This will look at the DHT11 humidity and temperature sensor. It will also look at the TC72 and TC74 temperature sensors.- This will look at SPI and I2C comms.
Chapter 9: The USART and Bluetooth Communication With HC-06 Module- This will look at the USART in the PIC. How they work and how they can be used. This will move onto how we can use the HC-06 bluetooth module to send the temperature readings from the TC72 and TC74 to your mobile phone.
Chapter 10: DC Motors and Using a Keypad- This will look at the DC motor and fan.

商品描述(中文翻譯)

前言:Arduino 程式
第 1 章:介紹
本章將設置基本概念並涵蓋以下內容:
- 什麼是微控制器
- Arduino 與 PIC 之間的主要差異
- 本書的目標和目的
- 本書的運作方式

每一章都會探討不同的 Arduino 專案,創建一個基於 vero board 的實用電路,並提供完整的程式列表。每個程式將逐行分析所有新指令,詳細說明它們的運作方式及其功能。

第 2 章:您需要的東西
- 使用本書所需的內容,例如最小化的方法;讀者可以在 MPLABX 中免費嘗試模擬程式。然後使用大約 30 的廉價 PIC 編程選項,或從約 70 到 150 的完整原型板。
- 介紹 MPLABX,說明它是什麼以及如何創建專案和模擬簡單程式。

第 3 章:我們的第一個程式
- 我們從第一個專案開始:閃爍一個簡單的 LED
- 運行一個簡單的七段顯示器。
- 在編寫這些程式時,我們將創建我們的第一個配置字元檔。
- 由於這是第一個程式,所有指令都是新的,我們將解釋這些指令的運作方式以及如何使用它們來達成我們的目標。
- 我們將通過繪製電路圖、vero board 計畫、所需元件及其運作方式以及如何焊接來構建電路。

第 4 章:七段顯示器和 8x8 矩陣顯示器
- 本章將探討接下來的兩個專案:4 個七段顯示器和 8x8 矩陣顯示器
- 這將意味著我們將研究 ADC 模組的運作方式及其使用方法。我們還將探討 LCD,並詳細解釋其運作方式及使用方法。我們將為 LCD 創建第二個標頭檔。我們還將研究陣列及其使用方式。

第 5 章:搖桿控制器、超聲波和 PIR 感測器
- 本章將探討另外兩個專案:搖桿控制和超聲波及 PIR 感測器
- 步進馬達與搖桿控制的連接。
- 超聲波感測器與蜂鳴器的連接。

第 6 章:伺服馬達和旋轉編碼器
- 本章將探討三個專案:
- 伺服馬達
- 旋轉編碼器
- RGB LED
- 本章將探討 PWM,說明我們如何使用它來創建方波以及 CCP 模組的比較方面。

第 7 章:中斷、實時時鐘和 DS1307 RTC 模組
- 本章將探討使用中斷和外部晶體的實時時鐘。然後將研究 DS1307 RTC 模組。
- 本章將解釋什麼是中斷、它們的運作方式以及我們如何使用它們。

第 8 章:DHT11 濕度和溫度感測器以及 SPI 和 I2C 通信
- 本章將探討 DHT11 濕度和溫度感測器。還將研究 TC72 和 TC74 溫度感測器。
- 本章將探討 SPI 和 I2C 通信。

第 9 章:USART 和 HC-06 模組的藍牙通信
- 本章將探討 PIC 中的 USART。它們的運作方式及其使用方法。接下來將介紹如何使用 HC-06 藍牙模組將 TC72 和 TC74 的溫度讀數發送到您的手機。

第 10 章:直流馬達和使用鍵盤
- 本章將探討直流馬達和風扇。

最後瀏覽商品 (20)