BLE - UART DHT 功能
確保您的手機上已安裝兼容的BLE UART應用程序,該應用程序可在以下位置獲得:
– Google Play Store:
https://play.google.com/store/apps/details?id=com.adafruit.bluefruit.le.connecta>
https://play.google.com/store/apps/details?id=de.kai_morich.serial_bluetooth_terminal
– Apple App Store:
https://apps.apple.com/us/app/bluefruit-connect/id830125974
打開範例, “Files” -> “Examples” -> “AmebaBLE” -> “DHT_over_BLEUart”.
上傳代碼並在上傳完成後按Ameba上的重置按鈕。
在手機上打開應用程序,掃描並連接到顯示為“AMEBA_BLE_DEV”的Ameba開發板,然後在應用程序中選擇UART功能。
啟動UART功能後,應每5秒鐘收到包含所測溫度和濕度的通知。
Copyrights ©瑞晟微电子(苏州)有限公司 2021. All rights reserved. Terms of Use