本研究主要的目的在設計一套多功能泛用型的微控制器學習教材與開發環境,讓未修習過微控制器課程的學生或其他領域專業人士,可以不必親自設計複雜的硬體電路,與學習門檻頗高的組合語言,即可使用微控制器所有功能,實現無需連接個人電腦即可獨立作業的可程式化控制功能,配合使用者本身專業領域,達成快速雛形開發的目標。 本系統硬體部分為Microchip公司的PIC16F877單晶片微控制器為核心的單板控制器(10 x 5 x 1.5 cm3),除了具有大容量快閃記憶體便於程式更新之外,並提供多種網路通訊功能,可加裝16x2的LCD顯示器與3x4鍵盤等,此外,板上還有擴充電路開發區以及切換式功率放大器可用來驅動總功率在40W以下的負載。軟體部分採用C語言為開發工具,我們也建立了許多常用的函式與範例程式,並自行開發易於使用系統韌體ICP( In Chip Programmer )做為程式下載燒錄及系統功能測試的工具,不僅可省去一般程式燒錄器的費用更大幅簡化開發系統的複雜性。教學部分提出建議的教學大綱與教學流程,以供相關課程教學使用,並建立教學網站提供相關問題討論與檔案下載。 本系統不僅在實際的教學過程與課後問卷獲得正面的評價與回饋,並在一年的時間內成功的應用於許多專題研究之用,足見本系統在教學上與快速雛形開發上已達成明顯的成效。
The main purpose of this research is to design a multi-function micro-controller system so that students and users without background in micro-controller field can fully use the functions of micro-controller and do not need to design complex hardware by themselves. This system is programmable and independent of control equipment without connecting to personal computers. Each user who has professional knowledge can make quick prototype by using this system. The micro-controller system uses Microchip PIC16F877 micro-controller. This system not only contains a high-capacity Flash memory for the convenience of program renewal, but also provides various functions for internet communications. A 16x2 LCD module and a 3x4 keyboard can be added to this micro-controller. The board has a circuit expanded area and an 8-channel half-bridge driver, which can drive power below 40W. In software, the system uses C language as a software developmental tool, and it includes many functions and examples in common use. In addition, we developed In Chip Programmer (ICP) firmware, which is a tool for downloading programs and testing system functions. It not only saves expenses from buying chip programmers, but also reduces the complexity of the developed system. In teaching, I proposed an educational program and process for related courses. Moreover, a teaching website is established to provide users a place for discussions and related file downloads. The micro-controller system has received positive feedback from practical teachings and after-class evaluation survey, and it also successfully applied to many researches within one-year time frame. Those evidences show that the micro-controller system has reached a remarkable success in teaching and in developing quick prototype.