單晶片C語言教學範本(附光碟)
相關熱銷的書籍推薦給您
內容簡介
以單晶片、微處理器原理及實習課程為設計方針,循序漸進設計單晶片應用課程的內容。本書採用C語言程式設計,以單晶片原理及控制技巧為基礎,實作為主、理論為輔,講授MCS-8051內部構造及輸入/輸出控制之基本知識,並以實驗方式大量講解MCS-8051常見的介面控制與C語言程式設計技巧。再藉由進階程式問題設計,提升程式設計整合能力,進而培養實務問題的解決實力,以及利用微處理器/單晶片控制於日常生活的應用技能,提升技術創造能力。
本書特色:
1. 結合8051/8052簡易型實驗板,深入淺出講解8051內部硬體架構、組織與C語言程式設計。
2. 結合Keil C51程式開發環境與ISP程式燒錄方式,提供一個微處理機/單晶片C語言韌體的優質學習平台。
3. 結合原理及典型範例講解方式,詳細介紹實驗主題的原理、軟體設計和硬體設計等技術。
4. 結合程式分析、流程圖與程式撰寫說明,以熟悉微處理器專案設計過程。
5. 提供超過100個以上典型範例,讓學習者可以參考及學習與整合應用。
6. 製作一個單晶片主板及I/O實驗板,幫助快速學習單晶片韌體與介面電路之整合設計,且單晶片主板還可以應用在專題製作上。
光碟內容:
範例程式檔、Keil uVision 4軟體試用版
Prolific-USB驅動軟體、Atmel-Flip程式燒錄軟體
目錄
第1章 單晶片介紹
1-1 單晶片微電腦系統
1-2 單晶片種類介紹
1-3 8051/8052 單晶片基本功能介紹
1-4 8051/8052 的記憶體架構
1-4-1 程式記憶體
1-4-2 資料記憶體
1-5 AT89C51RD2 單晶片介紹
1-6 實驗板電路板電路及說明
問題與討論
第2章Keil C51 程式設計
2-1 C 語言程式設計基礎
2-1-1資料型態
2-1-2運算子與算式
2-1-3陣列(array)與指標(pointer)
2-1-4流程控制—條件判斷式、迴圈與無條件跳躍
2-1-5函數
2-1- 使用者自訂的資料型態
2-2 KEIL C51 的額外功能
2-2-1變數宣告
2-2-2記憶體類型
2-2-3KEIL C51 的記憶體模式
2-2-4KEIL C51 的中斷函數
2-2-5KEIL C51 的特殊指令
問題與討論
第3章程式開發流程與應用
3-1 KEIL 單晶片程式開發流程
3-2 ISP 程式燒錄
3-3 典型範例程式測試
2-3-1閃爍控制的 LED 燈
2-3-2右移跑馬燈控制程式
2-3-3雙向跑馬燈控制程式
問題與討論
第4章 數位輸出及輸入應用
4-1 數位輸出入埠硬體電路及應用
4-2 輸出電路設計
4-2-1 驅動 LED 介面電路
4-2-2 驅動繼電器
4-3 輸入電路設計
4-4 實驗板數位 I/O 電路說明
4-5 範例程式與討論
問題與討論
第5章 副程式與中斷副程式之應用
5-1 MCS-51 的中斷結構
5-2 中斷函數
5-3 實驗板與中斷有關電路
5-4 範例程式與討論
問題與討論
第6章 計時器與計數器之應用
6-1 計時/計數器 0 或 1
6-1-1工作模式 0
6-1-2工作模式1
6-1-3工作模式 2
6-1-4工作模式 3
6-2 計時/計數器 2
6-2-1計時/計數器 2 的捕捉模式(Capture Mode)
6-2-2 計時/計數器 2 的自動重新載入模式(Auto Reload Mode)
6-2-3鮑率產生器(Baud Rate Generator)
6-3 實驗板與中斷有關電路
6-4 Timer 的輪詢與中斷方式之應用
6-5 範例程式與討論
問題與討論
第7章 七段顯示器之應用
7-1 七段顯示器的構造
7-2 多個七段顯示器之掃瞄顯示應用
7-3 實驗板與七段顯示器有關電路
7-3-1 7447 解碼驅動 IC 動作原理
7-3-2 74HCT244 數位 IC 說明
7-3-3 雙載子連接電晶體(Bipolar Junction Transistor)
7-4 範例程式與討論
問題與討論
第8章 聲音與音樂之應用
8-1 原理
8-2 音階與節拍
8-2-1 音調
8-2-2 節拍
8-3 音調的產生
8-3-1 延遲副程式
8-3-2 計時中斷
8-4 節拍的產生
8-5 實驗板與揚聲器相關電路
8-6 範例程式與討論
問題與討論
第9章 文字型 LCM 模組之應用
9-1 文字型 LCM 模組原理
9-1-1LCM 基本資料
9-1-2 LCD 模組之接腳功能
9-1-3 LCM 內部結構
9-1-4 LCD 模組之控制指令
9-1-5 LCD 模組之工作時序圖
9-1-6 LCM 模組的初始化設定
9-2 實驗板類比輸出電路說明
9-3 範例程式與討論
問題與討論
第10章 類比至數位轉換之應用
10-1 類比至數位轉換原理
10-2 實驗板類比輸入電路說明
10-3 範例程式與討論
問題與討論
第11章 數位至類比轉換之應用
11-1 數位至類比轉換原理
11-2 實驗板類比輸出電路說明
11-3 範例程式與討論
問題與討論
第12章 數位溫度元件之應用
12-1 可規劃數位自動調溫器及溫度計的工作原理
12-1-1 DS1821 的操作模式
12-1-2 狀態/規劃暫存器(status/configuration register)
12-1-3 單線匯流排(1-wire bus)模式
12-1-4 DS1821 功能指令
12-1-5 自動調溫模式(Thermostat mode)
12-2 實驗板溫度量測電路說明12-3 範例程式與討論
問題與討論
第13章 I2C 串列通訊與即時時鐘之應用
13-1 I2C 串列通訊原理
13-1-1 I2C 匯流排工作原理
13-1-2 匯流排基本操作
13-1-3 I2C 韌體技巧
13-2 DS1307 元件介紹
13-2-1 資料寫入-僕裝置接收模式
13-2-2 資料讀取-僕裝置發送模式
13-3 範例程式與討論
問題與討論
第14章 串列通訊之應用
14-1 串列通訊原理
14-2 鮑率的設定方法
14-3 實驗板與串列通訊相關電路
14-4 範例程式與討論
問題與討論
立即查看
Power Magnetic Devices: A Multi-Objective Design Approach (2版)
類似書籍推薦給您
Power Magnetic Devices
Discover a cutting-edge discussion of the design process for power magnetic devices
In the newly revised second edition of Power Magnetic Devices: A Multi-Objective Design Approach, accomplished engineer and author Dr. Scott D. Sudhoff delivers a thorough exploration of the design principles of power magnetic devices such as inductors, transformers, and rotating electric machinery using a systematic and consistent framework.
The book includes new chapters on converter and inverter magnetic components (including three-phase and common-mode inductors) and elaborates on characteristics of power electronics that are required knowledge in magnetics. New chapters on parasitic capacitance and finite element analysis have also been incorporated into the new edition. The work further includes:
A thorough introduction to evolutionary computing-based optimization and magnetic analysis techniques
Discussions of force and torque production, electromagnet design, and rotating electric machine design
Full chapters on high-frequency effects such as skin- and proximity-effect losses, core losses and their characterization, thermal analysis, and parasitic capacitance
Treatments of dc-dc converter design, as well as three-phase and common-mode inductor design for inverters
An extensive open-source MATLAB code base, PowerPoint slides, and a solutions manual
Perfect for practicing power engineers and designers, Power Magnetic Devices will serve as an excellent textbook for advanced undergraduate and graduate courses in electromechanical and electromagnetic design.
立即查看
Power Magnetic Devices: A Multi-Objective Design Approach 2014 <Wiley-IEEE Press>
類似書籍推薦給您
立即查看
Multi-Agent Reinforcement Learning: Foundations and Modern Approaches (1版)
類似書籍推薦給您
【簡介】
The first comprehensive introduction to Multi-Agent Reinforcement Learning (MARL), covering MARL’s models, solution concepts, algorithmic ideas, technical challenges, and modern approaches.Multi-Agent Reinforcement Learning (MARL), an area of machine learning in which a collective of agents learn to optimally interact in a shared environment, boasts a growing array of applications in modern life, from autonomous driving and multi-robot factories to automated trading and energy network management. This text provides a lucid and rigorous introduction to the models, solution concepts, algorithmic ideas, technical challenges, and modern approaches in MARL. The book first introduces the field’s foundations, including basics of reinforcement learning theory and algorithms, interactive game models, different solution concepts for games, and the algorithmic ideas underpinning MARL research. It then details contemporary MARL algorithms which leverage deep learning techniques, covering ideas such as centralized training with decentralized execution, value decomposition, parameter sharing, and self-play. The book comes with its own MARL codebase written in Python, containing implementations of MARL algorithms that are self-contained and easy to read. Technical content is explained in easy-to-understand language and illustrated with extensive examples, illuminating MARL for newcomers while offering high-level insights for more advanced readers. First textbook to introduce the foundations and applications of MARL, written by experts in the fieldIntegrates reinforcement learning, deep learning, and game theoryPractical focus covers considerations for running experiments and describes environments for testing MARL algorithmsExplains complex concepts in clear and simple languageClassroom-tested, accessible approach suitable for graduate students and professionals across computer science, artificial intelligence, and robotics Resources include code and slides
立即查看
In Focus 1: A vocabulary-driven, multi-skills critical thinking course (1版)
類似書籍推薦給您
【簡介】
《In Focus》是一套以語料庫為基礎(corpus-informed)的英語課程,由熟悉亞洲及北美教育體系的專業作者與編輯團隊共同編寫,致力於幫助學生累積高頻率詞彙,並培養批判性思考能力。適用於高中生、大專院校學生及一般成人學習者。
本系列教材使用超高頻《新通用詞彙表》(New General Service List, NGSL),透過語料庫研究,精心設計核心詞彙學習進程(lexical syllabus),幫助學生掌握最重要的英語詞彙,全面提升閱讀能力、批判性思考、討論技巧。同時,也提供聽力與寫作的練習,確保學生在各方面均衡發展。
此外,每冊教材均搭配完整的線上學習資源,不僅能幫助學生鞏固與拓展學習內容,也能有效減少教師備課時間,提高教學效率。
各級數對應CEFR(歐洲共同語言參考標準)如下:
《In Focus 1》 —— 對應 CEFR A2/B1(適合基礎學習者)
《In Focus 2》 —— 對應 CEFR B1/B2(適合初中級學習者)
《In Focus Academic 1》 —— 對應 CEFR B2/C1(適合中高級學習者)
本系列教材適合不同英語程度的學習者,並提供系統化的詞彙學習與思辨能力訓練,幫助學生在學習環境中流暢運用英語!不僅適合大專院校英語課程,也適用於補習班與自主學習,透過全面的課程設計與豐富的數位資源,幫助學習者在聽說讀寫各方面穩步提升英語能力!
立即查看
In Focus 2: A vocabulary-driven, multi-skills critical thinking course (1版)
類似書籍推薦給您
【簡介】
《In Focus》是一套以語料庫為基礎(corpus-informed)的英語課程,由熟悉亞洲及北美教育體系的專業作者與編輯團隊共同編寫,致力於幫助學生累積高頻率詞彙,並培養批判性思考能力。適用於高中生、大專院校學生及一般成人學習者。
本系列教材使用超高頻《新通用詞彙表》(New General Service List, NGSL),透過語料庫研究,精心設計核心詞彙學習進程(lexical syllabus),幫助學生掌握最重要的英語詞彙,全面提升閱讀能力、批判性思考、討論技巧。同時,也提供聽力與寫作的練習,確保學生在各方面均衡發展。
此外,每冊教材均搭配完整的線上學習資源,不僅能幫助學生鞏固與拓展學習內容,也能有效減少教師備課時間,提高教學效率。
📊 CEFR 對應等級
各級數對應CEFR(歐洲共同語言參考標準)如下:
《In Focus 1》 —— 對應 CEFR A2/B1(適合基礎學習者)
《In Focus 2》 —— 對應 CEFR B1/B2(適合初中級學習者)
《In Focus Academic 1》 —— 對應 CEFR B2/C1(適合中高級學習者)
本系列教材適合不同英語程度的學習者,並提供系統化的詞彙學習與思辨能力訓練,幫助學生在學習環境中流暢運用英語!不僅適合大專院校英語課程,也適用於補習班與自主學習,透過全面的課程設計與豐富的數位資源,幫助學習者在聽說讀寫各方面穩步提升英語能力!
立即查看