搜尋

已選項目

搜尋結果

搜尋Class , 共找到 9 筆
  • 排序
  • 依時間
  • 依熱門度
前瞻應用  學習  影片長度 - 10:23
新唐 NuMicro M031BT 雙模藍牙低功耗 5.0 (Bluetooth Low Energy, BLE5.0) 提供了 BLE UART 透傳的展示,並實際操作如何使用 AT 命令模式來作設定與使用資料傳輸模式來收發資料。 【KEIL MDK Nuvoton edition M0/M23(Free License)】 https://www2.keil.com/nuvoton/M0-M23 【Nu-Link_Keil_Driver】 https://www.nuvoton.com/resource-download.jsp?tp_GUID=SW1120200221180521 【M031 BLE AT Command User Guide】 M031_Series_BSP_CMSIS_V3.xx.xxx\SampleCode\NuMaker-M03xBT_XXXXXX\BLE\Doc\M031 BLE AT Command User Guide.pdf 【Related sample codes in the BSP (Board Support Package)】 BSP_ Library\M031_Series_BSP_CMSIS_V3.xx.xxx\SampleCode\NuMaker-M03xBT_xxxxxx\BLE\Demo ATCMD 【App】 App Store (Apple devices): https://apps.apple.com/tw/app/nuvotonble/id1514073524 Google Play Store (Android devices): https://play.google.com/store/apps/details?id=com.nuvoton.nuble 大家好,我是新唐的工程師 Oliver,今天爲大家介紹 M031BT 的 BLE UART 透傳範例程式的展示,另外也會簡單介紹一下 M031BT 的特點。 M031BT 的特點是它是一個有豐富周邊且帶有 BLE 5.0 無線傳輸的 MCU,在系統方面 CPU 可以運行到 48MHz,Flash 最多可達 128 KB,SRAM 最多可達 16KB,封裝是 QFN 5x5mm,在 48 pin 的 IC 中算是非常小的,在類比周邊部分 ADC 是 12-bit 且采樣速度可以高達 2 MSPS,另外還有 2 組比較器;數位周邊也非常的豐富,像是UART有3組、I2C有2組、PWM有12通道,且PWM解析度可以高達2倍的系統頻率96 MHz、Timer有4個;在無線傳輸部分支援BLE 5.0或2.4G私有協議,可調整的發射功率可達+8 dBm,接收靈敏度可達 -94 dBm 新唐對於藍牙的開發支援了透傳/HOGP/heatbeat三種profile並且有OTA功能,此外central mode/peripheral mode的切換功能,有更多元場景應用的可能性,對於不熟悉藍牙開發的客戶我們也支援AT command協助客戶可以快速開發,透過新唐所推出的M031BT您可以應用在個人醫療儀器、個人保健照護、量測儀器或是智慧門鎖等應用 接下來介紹今天demo的BLE UART透傳,在demo的系統中會有個HOST透過UART傳資料給M031BT,M031BT再經由BLE將資料傳送給手機,或由手機發資料透過BLE傳送到M031BT,再由M031BT的UART傳給HOST,再這個dome中分爲兩種模式一種是AT Command,是用來對M031BT做基本設定,另一種模式是資料傳輸模式也就是透傳模式,M031BT會將UART收到的資料轉爲BLE送出去,或將BLE收到的資料轉爲UART再給HOST,這兩種模式的切換是透過HOST控制高低准位並且輸入到M031BT的GPIO來切換 在開始測試之前我們需要先準備測試環境,我們使用NuMaker-M031BTYE一台電腦當作HOST,NuMaker-M031BTYE上的Nu-Link2-Me當作USB轉UART的橋接器,M031BT的UART脚位PA0/PA1會經由VCOM switch連接到Nu-Link2-Me 的UART引脚,我們只要把VCOM指撥開關的Pin1/Pin2撥到ON就可以連接 另外M031BT的模式控制脚位PB0若連接到VDD是AT command 模式,若連接到GND是資料傳輸模式,模式控制脚位預設內部上拉至VDD,所以預設是AT command 模式 現在我們將USB線接上NuMaker與電腦後,開啓裝置管理員確認com port是否有連接上,確認是COM3就可以關掉了,接著電腦上需要安裝任一種的串列通訊軟體,影片中我們使用Putty當作範例,安裝完Putty之後,開啓Putty選擇Serial,輸入剛剛確認的COM3還有115200的波特率,按下OPEN 再來我們需要將AT Command的固件下載到M031BT,我們開啓ATCMD這個範例的專案,按下編譯,編譯完之後按下載等待下載完成,下載完成後我們可以看到Putty的視窗中已經有打印出一些信息了,代表燒錄成功 再來是如果安卓裝置要在Google Play Store下載App若是iOS的話要在App Store下載後安裝,影片中以安卓來當作範例,開啓Paly Store並輸入Nuvoton BLE看到後點選安裝,等安裝完成後初步的環境設置就算完成了 接著來看看ATCMD支援的命令有哪些,這是AT command 的列表,主要都是用來查看M031BT的參數或是設定M031BT的參數 例如輸入AT是測試命令,查看M031BT在AT command模式是否正常; 輸入AT+HELP? 是查看支援那些命令; 輸入AT+UART是察看UART波特率是多少,預設是115200,也可以設定波特率,目前支援五種不同的波特率; AT+NAME可以看裝置名稱或修改裝置名稱; AT+ADVINT可以查看目前的廣告間隔時間與設定廣告間隔時間; AT+ADVEN可以開啓廣告,讓手機可以搜尋的到,要注意的是預設沒有開的AT+TXPWR可以設定輸發射功率,目前有三種段數可設定,分別是0/4/8 dBm; AT+SLEEP可以讓M031BT沒發送資料時候進入睡眠模式,節省功耗 其他詳細說明可以參考這份表格或M031 BLE AT Command User Guide這份文件,這個文件在BSP裏面可以找到 接下來我們來實際操作,這一頁說明ATCMD這個範例程式的預設參數設定,像是波特率是115200,發射功率是+8 dBm,大家可以參考一下。 我們先前開啓過裝置管理員確認設定是COM3還有波特率是115200,接著NuMaker-M031BTYE的reset 按鍵,就可以看到M031BT AT Command的字顯示在PuTTY的視窗中,那預設模式脚位的PB0預設是上拉到VDD,所以預設是AT command 模式 接著使用鍵盤輸入AT按下enter按鍵,若出現OK代表AT command 模式是正常,即可輸入其他指令 若要查看支援那些指令,可以輸入AT+HELP?再按下enter鍵,就會出現全部支援的指令有哪些 若要看現在的波特率設定輸入AT+UART? 再按下enter鍵,就可以知道UART目前的波特率 廣告的間隔時間可以查看也可以修改,輸入AT+ADVINT? 就可以得到目前的廣告間隔時間,看到目前是160,這個數值每個單位是0.625us,也就是100ms,間隔時間的設定會影響到平均的功耗,這時間也可以修改,間隔時間越長平均功耗越低,不過也是要看應用需要多少時間 再來我們輸入AT+ADVINT=320可以看到回復OK,代表時間已經改爲200ms,我們可以再次輸入AT+ADVINT?得到間隔時間是320,確認修改成功 輸入AT+ADVEN可以開啓廣告讓手機可以搜尋的到,預設並沒有開啓,所以輸入開啓的指令 輸入AT+ADDR?可以查詢BLE設備位址 再來我們可以輸入AT+NAME?來查詢BLE設備的名稱,我們可以看到裝置名稱是NVT-M031BT, 打開手機的APP來搜尋看看,搜尋到的就是NVT-M031BT 那也可以修改BLE設備的名稱,只要依據前面的表格下指令就可以 再來是數據傳輸模式演示,也就是透傳模式,我們首先再AT command模式下輸入AT+ADVEN啓用廣告可讓手機搜尋的到,再來開啓NuBLE掃描並連接到NVT-M031BT,接著我們必須要手動將模式控制引脚PB0如畫面上的連接到GND,就可以切換成爲數據傳輸模式也就是透傳模式 再來我們在文字輸入欄位中輸入字符串,然後點擊SEND按鍵,那麽手機上輸入的資料就會透過BLE傳送資料到M031BT,M031BT再將收到的資料經由UART透過Nu-Link2-Me傳送到PC的終端窗口中 剛剛已經演示過兩種模式的使用方式,在相關資源部分 基本的開發環境KEIL我們提供的免費許可證,依照連結網頁內的步驟來做只要使用新唐的M0/M23 MCU就可以免費使用,另外Nu-Link的driver也提供連結下載 另外關于影片中的M031 BLE AT Command用戶指南已經放入BSP內,裏面有更詳細的操作與說明,BSP可從官網下載,APP部分也附上連結,方便大家使用 以上是這次的教學影片,感謝您的收看。歡迎訂閱我們的頻道。 如果您想知道更多資訊歡迎聯絡我們! #zh-Hant #Learning #Basic #Application - 更多產品資訊,請至新唐科技網站 https://bit.ly/3hVdcmC 購買管道:https://direct.nuvoton.com/tw 聯絡我們:SalesSupport@nuvoton.com
培訓  前瞻應用  學習  影片長度 - 14:34
Introduce MCU security function classification and related hardware functions. As well as the benefits and effects of these security features. #en #Learning #Intermediate #Application - For more information, please visit Nuvoton Technology Website: https://bit.ly/3hVdcmC buy now: https://direct.nuvoton.com/ contact us: SalesSupport@nuvoton.com
影片長度 - 2:44
Take Nuvoton NuMaker-IIoT-NUC980 running Linux as the platform and learn how to develop various functions. Watch this video, you will learn how to connect to network via Ethernet on NuMaker-IIoT-NUC980 board. - For more information, please visit Nuvoton Technology Website: https://bit.ly/3hVdcmC Buy now: https://direct.nuvoton.com/tw/numaker-nuc980-iiot Contact us: SalesSupport@nuvoton.com
培訓  工具  學習  影片長度 - 2:27
說明如何使用目標晶片的 20 根針腳的 ETM 介面連接至 Nu-link2-Pro,並在 Keil 中開啟 NuTrace 視窗來追蹤 CPU 的指令執行過程進行除錯。 #zh-Hant #Tool #Training #Intermediate #Learning - 更多產品資訊,請至新唐科技網站 https://bit.ly/3hVdcmC 購買管道:https://direct.nuvoton.com/tw/nu-link2-pro 聯絡我們:SalesSupport@nuvoton.com
培訓  工具  學習  影片長度 - 0:41
The new-generation Nu-Link2-Pro has debugging functions, ETM tracking, serial data analysis, and USB-to-serial communication bridge. The fast programming speed and convenient firmware upgrade of ISP products allow customers to process more quickly and conveniently at every stage from development to mass production, increasing the development and mass production efficiency. It is an indispensable weapon for engineers' product development and mass production upgrade. - For more information, please visit Nuvoton Technology Website: https://bit.ly/3hVdcmC Buy now: https://bit.ly/3bk0AD8 Contact us: SalesSupport@nuvoton.com #en #Tool #Training #Intermediate #Learning
影片長度 - 3:13
Take Nuvoton NuMaker-IIoT-NUC980 running Linux as the platform and learn how to develop various functions. Watch this video, you will learn how to control GPIO to blink the LED on NuMaker-IIoT-NUC980 board. - For more information, please visit Nuvoton Technology Website: https://bit.ly/3hVdcmC Buy now: https://direct.nuvoton.com/tw/numaker-nuc980-iiot Contact us: SalesSupport@nuvoton.com
影片長度 - 5:11
Loudspeakers are highly nonlinear and time-variant systems. Signal distortion, heating, aging, climate and other external influences limit the maximum level and the quality of the reproduced sound. This video shows how Nuvoton smart amplifier can greatly improve the speaker performance and the sound quality by offering mechanical & thermal protection, automatic system alignment, active compensation of transducer nonlinearities, and active stabilization of the voice coil rest position based on the Klippel Controlled Sound (KCS) technology.
影片長度 - 5:10
Loudspeakers are highly nonlinear and time-variant systems. Signal distortion, heating, aging, climate and other external influences limit the maximum level and the quality of the reproduced sound. This video shows how Nuvoton smart amplifier can greatly improve the speaker performance and the sound quality by offering mechanical & thermal protection, automatic system alignment, active compensation of transducer nonlinearities, and active stabilization of the voice coil rest position based on the Klippel Controlled Sound (KCS) technology.
影片長度 - 3:32
The NAU82011YG is a highly efficient, filter-free, mono Class-D audio amplifier with variable gain, which is capable of driving a 4Ω load with up to 2.9W output power. This device provides chip enable pin with extremely low standby current and fast start-up time of 4ms. The NAU82011YG is ideal for battery driven portable applications. NAU82011YG features 91% efficiency, low quiescent current (i.e. 1.25mA at 3.6V) and superior EMI performance. The audio input of this device can be configured as either single-ended or differential input mode. Target Applications: • Portable Audio Device/Speaker • Portable Navigation Device • Tablet PC Key Features: • Audio Input - Differential / Single-end input - DC PSRR Typ.@95dB - CMRR Typ.@63dB • Audio Output - Powerful Mono Class-D Amplifier - 2.9W (4Ω @ 5V, 10% THD+N) - 2.3W (4Ω @ 5V, 1% THD+N) - Low Output Noise: 20 μVRMS • Advance Feature - Low Current Shutdown Mode - Click-and Pop Suppression - Integrated Image Reject Filter - Integrated feedback resistor of 300 kΩ • Operating Characteristics - voltage range: 2.5 V to 5.5 V - Temperature range: -40°C to 85°C - Low Quiescent Current: 1.2mA@3.6V, 1.7mA@5V • Package - WLCPS-9
This website uses cookies to ensure you get the best experience on our website. Learn more
OK