Programming PIC Microcontrollers with Xc8: Mastering Classical Embedded Design

Subero, Armstrong

  • 出版商: Apress
  • 出版日期: 2024-07-25
  • 售價: $2,480
  • 貴賓價: 9.5$2,356
  • 語言: 英文
  • 頁數: 510
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 9798868804663
  • ISBN-13: 9798868804663
  • 相關分類: 嵌入式系統單晶片
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

Are you tired of copying and pasting code into your embedded projects? Do you want to write your own code from scratch for microcontrollers and understand what your code is doing without all the frills and math? This book uses a practical approach to show you how to develop embedded systems with 8-bit PIC microcontrollers using the XC8 compiler.

Written for those who want more than an Arduino, but less than the more complex microcontrollers on the market, this new edition is fully updated and covers embedded design principles such as foreground-background loops and event driven programming. You'll learn how to interface with things like Motors, PID loop control and writing a browser-based monitoring system! This book is heavy on code, schematics, and images and focuses less on the theoretical aspects of using microcontrollers.

Coverage includes writing a display driver, using the DAC for a multitude of waveform generation techniques, and building 8-bit IoT systems, real time telemetry, a countdown timer, and new peripherals. These topics are important if you want to learn more about PIC microcontroller devices as a whole. You'll also see the advantage that MPLAB X offers by running on Windows, Mac and Linux environments. You don't need to be a command line expert to work with PIC microcontrollers, so you can focus less on setting up your environment and more on your application.

If you want to move beyond the Arduino, Programming PIC Microcontrollers with XC8 is your complete guide to understanding modern PIC microcontrollers.

What You'll Learn

  • Set up the MPLAB X and XC8 compilers for microcontroller development
  • Use GPIO and PPS
  • Review EUSART and Software UART communications
  • Use the eXtreme Low Power (XLP) options of PIC microcontrollers
  • Explore wireless communications with WiFi and Bluetooth

Who This Book Is For

Those with basic electronic device and electronic equipment experience and some knowledge of the C programming and digital electronics. Also targeted towards students wanting a practical overview of microcontrollers outside of the classroom.

商品描述(中文翻譯)

你厭倦了將程式碼複製貼上到嵌入式專案中嗎?你想從頭開始編寫自己的程式碼,並且了解程式碼的運作原理,而不需要繁瑣的數學知識嗎?本書以實用的方式,使用XC8編譯器,向你展示如何開發搭載8位元PIC微控制器的嵌入式系統。

本書針對那些想要超越Arduino,但又不想使用市面上更複雜的微控制器的讀者而寫,全新的這版已經完全更新,並涵蓋了嵌入式設計原則,例如前景-背景迴圈和事件驅動程式設計。你將學習如何與馬達、PID迴路控制和撰寫基於瀏覽器的監控系統等進行介面連接!本書著重於程式碼、電路圖和圖片,並較少關注使用微控制器的理論方面。

內容包括撰寫顯示驅動程式、使用DAC進行多種波形生成技術,以及構建8位元物聯網系統、即時遙測、倒數計時器和新的外設。如果你想全面了解PIC微控制器設備,這些主題是很重要的。你還將看到MPLAB X在Windows、Mac和Linux環境下運行的優勢。你不需要成為命令行專家就能使用PIC微控制器,因此你可以將更少的時間花在環境設置上,更多的時間專注於應用程式開發。

如果你想超越Arduino,《使用XC8編程PIC微控制器》是你完整了解現代PIC微控制器的指南。

你將學到什麼


  • 設置MPLAB X和XC8編譯器進行微控制器開發

  • 使用GPIO和PPS

  • 回顧EUSART和軟體UART通訊

  • 使用PIC微控制器的極低功耗(XLP)選項

  • 探索WiFi和藍牙的無線通訊

本書適合對象

對於具有基本電子設備和電子設備經驗,並且對C編程和數位電子學有一定了解的人。同時也適合希望在課堂之外獲得微控制器實用概述的學生。

作者簡介

Armstrong Subero began learning electronics at the age of 8. One of the happiest memories in his childhood was when he finally figured out how to make a light bulb. It took off from there as he taught himself more advanced topics in electronics, before delving into computer architecture, and eventually discovering the joys of microcontrollers and FPGAs. From there he honed his C programming skills and learned a myriad of languages and technologies.

Armstong currently works for the Ministry of National Security in Trinidad and Tobago, and writes software, design circuits, courses, robots, and software for embedded systems at angelstemlabs.com. He is also a contributing author to Free Code Camp and has degrees in Computer Science and Liberal Arts and Sciences from Thomas Edison State University where he also studies Mathematics and Natural Science. He is the author of Programming PIC Microcontrollers in XC8, Codeless Data Structures and Algorithms, and Programming Microcontrollers with Python published by Apress Media LLC.

作者簡介(中文翻譯)

Armstrong Subero在8歲時開始學習電子學。他童年時最快樂的回憶之一就是終於弄懂了如何製造燈泡。從那時起,他自學了更高級的電子學知識,然後深入研究了計算機架構,最終發現了微控制器和FPGA的樂趣。從那時起,他磨練了自己的C編程技能,並學習了許多語言和技術。

Armstrong目前在特立尼達和多巴哥的國家安全部門工作,並在angelstemlabs.com上編寫軟件、設計電路、課程、機器人和嵌入式系統軟件。他還是Free Code Camp的貢獻作者,並擁有托馬斯愛迪生州立大學的計算機科學和文科學士學位,他還在該大學學習數學和自然科學。他是Apress Media LLC出版的《使用XC8編程PIC微控制器》、《無代碼數據結構和算法》和《使用Python編程微控制器》的作者。