Lab9 Preview Report - Jian-PingWang/EE2405 GitHub Wiki

Topics

  • Programming microcontroller board

Programming microcontroller board

  • Introduction

微控制器(microcontroller),是把中央處理器、記憶體、定時/計數器(timer/counter)、各種輸入輸出介面等都整合在一塊積體電路晶片上的微型電腦。與應用在個人電腦中的通用型微處理器相比,它更強調自供應(不用外接硬體)和節約成本。

它的最大優點是體積小,可放在儀表內部,但儲存量小,輸入輸出介面簡單,功能較低。由於其發展非常迅速,舊的單晶片的定義已不能滿足,所以在很多應用場合被稱為範圍更廣的微控制器。

微控制器與通用型中央處理單元晶片的不同之處在於,前者一般很容易配合最小型的外部支援晶片製成工作電腦,這樣就可以很容易的把單晶片系統植入裝置內部來控制裝置了。但傳統的微處理器是不允許這麼做的。它要完成微控制器的工作,就必須連線一些其他晶片。比如說,因為晶片上沒有資料記憶體,就必須要添加一些RAM的儲存晶片,雖然所添加記憶體的容量很靈活,但是至少還是要添加。另外還需要添加很多連線來傳遞晶片之間的資料。

而微控制器時脈通常較同時代的電腦晶片低,但它價格低廉,能夠提供充足的程式記憶體、豐富的片上介面。某些架構的單晶片生產廠商眾多,例如8051系列、Z80系列。一些現代的微控制器更支援一些內建的高階程式語言,比如BASIC語言、C語言、C++等。

  • Related part in our lab

這次lab我們會用到Propeller BOE,是一款Propeller 的八核同步多工控制器。

The form of the original Board of Education meets the powerful function of the multicore Propeller microcontroller. A built-in set of peripherals makes it ready to support an amazing array of projects, prototypes, hands-on activities, and kits. The Propeller Board of Education is ideal for learning the basics of electronics, programming and robotics. It also simplifies advanced applications that require RF-linked communication, audio/ visual peripherals, and gigs of SD memory.

  • Questions for the topics or our lab

目前尚無。