Timer 計時器或 Counter 計數器是微處理器中必備功能可以用來精確計算時間來完成控制程序,本文章將介紹 8051 的 Timer / Counter 操作方式與四種運作模式,以 VScode 編輯器搭配…
Universal Asynchronous Receiver / Transmitter, UART 通用非同步接收傳輸是一種常見的通訊協定屬於串列傳輸 ( Serial Transmission) ,8051 內建一組全雙工…
Interrupt 中斷是所有微處理器必備功能之一可以用來處理非預期事件。
Rotary Encoder 旋轉編碼器是一種人機互動裝置,提供使用者以旋轉方式進行輸入因此常見於各項需要手動設定與調整的裝置上。有別於一般旋轉編碼器在控制上除了輪詢 (…
Rotary Encoder 旋轉編碼器,是一種將機械位移轉換成類比或數位訊號的裝置。利用此特性可以用來偵測速度與位移量。本文章將介紹增量式旋轉編碼器 KY-040 模組並透過 Arduino…