在此篇論文裡我們研發設計的家用智慧烘豆機,烘豆程序從放置咖啡豆的鍋爐預 熱、咖啡豆入豆溫度、咖啡豆升溫時產生梅納反應、咖啡豆一爆、烘豆完成、咖啡豆 冷卻,全藉由手機控制,對於沒有烘豆經驗的新手而言,想要烘焙出不同風味的咖啡 豆不再困難,本論文將家用爆米花機電路改裝,Android 手機 APP 透過通訊晶片傳送 與接收資訊,Arduino 使用 Uart 與通訊晶片交握及 I2C、SPI 介面控制周邊裝置。 此家用烘豆機有六種模式;一、秤重模式:咖啡烘焙前須先量測重量,二、一鍵烘 焙模式:點選後即可烘焙,三、雲端菜單模式:可從雲端下載烘焙參數進行烘焙,四、 咖啡豆辨識模式:利用影像辨識,辨識咖啡生豆並烘焙,五、加熱曲線繪製及記憶模 式:繪製烘焙曲線及參數存檔與執行,六、手動模式:設定烘豆參數並執行。 除此之外,加熱系統使用溫度控制演算法控制溫度;偵測環境濕度並自動調整烘 焙參數,在濕度較高環境就不必擔心烘焙咖啡豆如何調整參數的問題。藉由以上系統, 使用者對於烘焙不同種類的咖啡豆,調整烘焙參數烘豆。 關鍵字:家用咖啡烘豆機、溫度控制演算法、Android APP、影像辨識。;In this paper, we developed and designed a smart home coffee roaster. The roasting pro cess includes preheating the boiler for coffee beans, the temperature of the beans entering the pot, the Maillard reaction that occurs when the beans are heated, the beans popping, the roast ing being completed, and the beans being cooled. All of these processes are controlled by a mobile phone. For novices without roasting experience, it is no longer difficult to roast coffee beans with different flavors. This paper modified the circuit of a home popcorn machine and used an Android phone app to transmit and receive information through a communication chip. The Arduino uses Uart to communicate with the communication chip and I2C and SPI interfaces to control peripheral devices. This home coffee roaster has six modes: 1. Weighing mode: the weight must be meas ured before coffee roasting. 2. One-click roasting mode: click to roast. 3. Cloud menu mode: download roasting parameters from the cloud for roasting. 4. Coffee bean recognition mode: use image recognition to recognize green coffee beans and roast them. 5. Heating curve draw ing and memory mode: draw the roasting curve and save and execute the parameters. 6. Man ual mode: set the roasting parameters and execute them. In addition, the heating system uses a temperature control algorithm to control the tem perature. It detects the environmental humidity and automatically adjusts the roasting param eters. In a high humidity environment, there is no need to worry about how to adjust the roasting parameters for coffee beans. With the above system, users can adjust the roasting parameters for roasting different types of coffee beans. Keywords: home coffee roaster, temperature control algorithm, Android APP, image recog nition