{{ 'fb_in_app_browser_popup.desc' | translate }} {{ 'fb_in_app_browser_popup.copy_link' | translate }}
{{ 'in_app_browser_popup.desc' | translate }}
{{word('consent_desc')}} {{word('read_more')}}
{{setting.description}}
價格均含稅,下單享優惠!歡迎大量採購,由專人提供專案報價。
{{ childProduct.title_translations | translateModel }}
{{ getChildVariationShorthand(childProduct.child_variation) }}
{{ getSelectedItemDetail(selectedChildProduct, item).childProductName }} x {{ selectedChildProduct.quantity || 1 }}
{{ getSelectedItemDetail(selectedChildProduct, item).childVariationName }}
產品貨號:368112100007
區號:Qf24-09
品牌:CIRCUS Pi
原廠貨號:
全店,滿千免運優惠(限郵寄和超商純取貨)
全店,本賣場無實體店面,無提供自取服務,敬請見諒。
商品存貨不足,未能加入購物車
您所填寫的商品數量超過庫存
{{'products.quick_cart.out_of_number_hint'| translate}}
{{'product.preorder_limit.hint'| translate}}
每筆訂單限購 {{ product.max_order_quantity }} 件
現庫存只剩下 {{ quantityOfStock }} 件
紅外線發射模組通過LED發射紅外線訊號,透過連接Arduino與micro:bit...等微控制器。能應用在模擬一般紅外線遙控器來控制家電,或是搭配紅外線接收模組製作遙控車、控制機器人與智能家居。
本範例使用 Arduino Uno Rev3 (原裝) ,連接 Circus 紅外線發射模組。
每隔5秒發送一次訊息。
使用設備:
本範例使用之程式庫為 「 IRremote」,可至Arduino IDE內的管理程式庫搜尋並安裝。
該程式庫已給定數位訊號腳位,因此本範例中的訊號腳位設為 「D3」 。
電路圖:
Arduino 程式撰寫範例
本撰寫範例將會有兩個步驟
1. 安裝程式庫
1-1. 確認網路是否已連線到網際網路。
1-2. 開啟 Arduino 的 IDE 介面後,請到上方的功能選項中,點選 「草稿碼」-> 「匯入程式庫」-> 「管理程式庫」。
1-3. 在搜尋欄位中,輸入 「IRremote」,找到該項目後便可點擊「安裝」按鈕,開始安裝程式庫。
2. 程式碼撰寫
供電電壓 | 3.3 ~ 5V DC |
LED尺寸 | 3 mm |
發射角度 | 36度 |
波長 | 940mm |