搜尋

已選項目

搜尋結果

搜尋Sample Code , 共找到 64 筆
  • 排序
  • 依時間
  • 依熱門度
培訓  工具  學習  影片長度 - 8:57
Hello everyone, I am the principal engineer of Nuvoton Technology, Morgan. The development board we are using today is Nuvoton’s NuMaker-IoT-M487. It is powered by the NuMicro M487 microcontroller with Arm Cortex-M4 core, built-in RJ45 Ethernet, and Wi-Fi module allowing users to connect to clouds by wire or wirelessly. It supports several RTOS including Arm Mbed OS, Amazon FreeRTOS, and AliOS Things. Today, I will show you how to use Mbed OS on the NuMaker-IoT-M487 development board. First, open Chrome browser, enter the URL https://os.mbed.com to register an account if you don’t have one. Move the mouse cursor to the human icon in the upper right corner then click “Log in or Sign up” or click “Sign up for free” directly. Then click “Sign up” Fill in your e-mail address and relevant information, and finally click Sign up. Check your mailbox to receive the certification letter and authorize it. Then let’s log in to use the online compiler environment. Move to the human icon in the upper right corner, and then click “Log in or Sign up”. And enter your account and password. After a successful login, it will return to the first page and then click “Compiler” on the left side of the human icon. It will lead us to the online compiler web page. The following demonstration is all operated on this page Click “No device selected” in the upper right corner to add and select Nuvoton’s NuMaker-IoT-M487 development board. It opens the “Select a Platform” page. We click the button, show “Add Board” with green “+”, in the lower-left corner. Next, it shows the page, let us choose a board. Scroll down to find NuMaker-IoT-M487, and click it. It opens the NuMaker-IoT-M487 board page (https://os.mbed.com/platforms/NUMAKER-IOT-M487/). Scroll down the page to find the button “+Add to your Mbed Compiler”, and click it. Click “Compiler” on top of the page to return to the online compiler environment. If the “NuMaker-IoT-M487” small icon appears in the upper right corner, you can start to import a sample code. Otherwise, click “No device selected” again. At this time, you can see the NuMaker-IoT-M487 icon already in the “Select a Platform” dialog box, click the icon to select it and then click “Select Platform” in the upper right corner. It returns to the online compiler page, and the “NuMaker-IoT-M487” icon shows in the top right corner. You can now start to import a sample code. First, click “New” on the top left side, a small “Create new program” dialog box appears. The “Platform” selects “NuMaker-IoT-M487” automatically. In the “Template” field, please select “mbed OS Blinky HelloWorld” example code, click OK. You can see the sample project has been loaded on the page, click “main.cpp” to show the source code. Let’s add a printf() function to print out a string in the main program. Check if statements are correct, save it, and click “Compile” to build code. Now it’s compiling, let’s wait for a moment. And you can see a lot of messages at the bottom of the page. The last message is “Success!” The browser will download the binary firmware file directly after a successful compiling. It will be saved in a default download folder or any folder based on your browser setting. In Chrome, you can click download file and select “Show in folder”. Then we need to connect the NuMaker-IoT-M487 USB port to your computer and make sure the onboard LED lights up. Let’s head back to the download folder where you can see the binary firmware file (mbed-os-example-blinky.NUMAKER_IOT_M487.bin). Drag and drop the file to NuMicro MCU drive. You will see the copying progress dialog box. After the copy is completed, the firmware starts to execute. One LED on board starts blinking. To see the printout message, go on the following steps. Please find the virtual COM port assigned for NuMaker-IoT-M487 in Device Manager. In the demonstration, the “Nu-Link Virtual Com Port” is COMx. Then use your terminal tool of choice. Here we use Putty. Open the COMx port with 9600 baud rate, 8 bits, 1 stop bit, none parity, and no flow control settings. You can see “Hello World!” printed in the terminal. That’s all for this tutorial. Thank you for watching. If you want to know more information, please contact us at SalesSupport@nuvoton.com - For more information, please visit Nuvoton Technology Website: https://bit.ly/3hVdcmC Buy now: https://direct.nuvoton.com/tw/numaker-iot-m487 Contact us: SalesSupport@nuvoton.com #Tool #Training #Learning #Intermediate #en
培訓  工具  學習  影片長度 - 3:13
以新唐 NuMaker-IoT-M487 為平台,使用 Mbed OS進行開發,學習各種功能。觀看本片,您將學會使用NuMaker-IoT-M487開發板配合Mbed OS 範例程式控制 Thermo 6 Click溫度感測器以讀取數據。 哈囉大家好,我是新唐工程師Miya,今天為大家介紹如何使用新唐NuMaker IoT-M487在MbedOS使用溫溼度感測器,它是參考 Mbed 社群提供的溫度感測器的控制範例,很快速就能整合完成實際應用。 首先打開Chrome瀏覽器,輸入網址"https://ide.mbed.com/",登入後先確認右上方板子已經有帶出”NuMaker-IoT-M487及板子小圖示”了,如果沒有可參考教學影片”step by step讓你了解如何運行Mbed OS”,裡面有詳細的示範怎麼新增板子的方法! 首先點選左上方的”New”,會載入一個Create new program的小視窗,上面可以看到Platform,已經帶出NuMaker-IoT-M487。在Template: 這欄選取sample code,使用NuMaker Thermo-Sensor MAX31875這個sample,點一下OK。 現在可以看到sample code已經載入頁面,這份sample code已經內建好使用Sensor設定,可直接按Compile執行編譯程式碼,編譯中需要等待一下,編譯完成後下方會出現"success!"。 系統會把編譯完成的bin檔放在download資料夾, 直接從下方進入,上拉後,點一下”Show in folder”到預設的download夾。 接著需要將 Thermo 6 Click 溫濕度感測器板子插在 MikroBUS 上,注意感測器的方向要正確 再把NuMaker-IoT-M487板子跟PC接上USB,確認板子有亮燈就是通電了。 回到download資料夾,可以看到多了一個剛才compile完成的bin檔,按右鍵傳送到NuMicro MCU(E:) 這邊分配到哪一槽要看各位的電腦決定!有成功點選到的話會出現傳送過去的畫面。 到電腦的裝置管理員查看分配到的port編號,在本機按右鍵,點裝置管理員,找到連接埠(COM和LPT),找到USB序列裝置,就可以知道像這部PC分配給它的是COM9。 接下來使用終端機模擬軟體,各位可以用自己熟悉的軟體操作即可,設定Serial line為COM9, Speed為115200,到Serial將Flow control 改為None,接著OPEN。 之後在終端機摸擬軟體就可以看到目前的溫濕度感測數值回報等資料。 以上是這次的教學影片,感謝您的收看。 如果您想知道更多資訊歡迎聯絡我們! - 更多產品資訊,請至新唐科技網站 https://bit.ly/3hVdcmC 購買管道:https://direct.nuvoton.com/tw/numaker-iot-m487 聯絡我們: SalesSupport@nuvoton.com #Tool #Training #Learning #Intermediate #zh-Hant
培訓  工具  學習  影片長度 - 3:13
以新唐 NuMaker-IoT-M487 為平台,使用Mbed OS進行開發,學習各種功能。觀看本片,您將學會使用NuMaker-IoT-M487開發板配合Mbed OS 範例程式使用 Ethernet連接到伺服器並讀取回傳資料。 哈囉大家好,我是新唐工程師Miya,今天為大家介紹如何使用新唐NuMaker IoT-M487在MbedOS連接Ethernet。 首先打開Chrome瀏覽器,輸入網址 https://ide.mbed.com/,登入後先確認右上方板子已經有帶出”NuMaker-IoT-M487及板子小圖示”了,如果沒有可參考教學影片”step by step讓你了解如何運行Mbed OS”,裡面有詳細的示範怎麼新增板子的方法。 首先點選左上方的”New”,會載入一個Create new program的小視窗 上面可以看到Platform,已經帶出來NuMaker-IoT-M487。 在Template:這欄選取sample code,使用NuMaker Ethernet TCP這個sample,點一下OK,現在可以看到sample code已經載入頁面,這份sample code已經內建寫好連接Ethernet,直接按Compile編譯程式碼 編譯中需要等待一下,編譯完成後下方會出現”success!”。 系統會把編譯完成的bin檔放在download資料夾,直接從下方進入,上拉後,點一下”Show in folder”。 接著在不需要Proxy設定的網段中將網路線接上,再把NuMaker-IoT-M487板子跟PC接上USB,確認板子有亮燈就是通電了。 回到download資料夾,可以看到多了一個剛才compile完成的bin檔,按右鍵傳送到NuMicro MCU(F:),這邊分配到哪一槽要看各位的電腦決定,有成功點選到的話會出現傳送過去的畫面。 到電腦的裝置管理員查看分配到的port編號,在本機按右鍵,點選裝置管理員,找到連接埠(COM和LPT),找到USB序列裝置,就可以知道像這部PC分配給它的是COM9。 接下來使用終端機模擬軟體,各位可以用自己熟悉的軟體操作即可,設定Serial line為COM9,Speed為115200,到Serial將Flow control 改為None,接著OPEN。 設定好之後,在板子上按一次reset,接著在終端機摸擬軟體就可以看到目前板子已經成功連接網路,連到的測試網址及收到的回傳訊息等資料。 以上是這次的教學影片,感謝您的收看。 如果您想知道更多資訊歡迎聯絡我們! - 更多產品資訊,請至新唐科技網站 https://bit.ly/3hVdcmC 購買管道:https://direct.nuvoton.com/tw/numaker-iot-m487 聯絡我們: SalesSupport@nuvoton.com #Tool #Training #Learning #Intermediate #zh-Hant
前瞻應用  學習  影片長度 - 5:33
以新唐 NuMaker-IoT-M263A 為平台,使用 Mbed OS 進行開發,學習開發各式功能。觀看本片,您將學會如何以 Mbed OS 範例程式透過 NB-IoT 或 LTE 連接到伺服器並讀取回傳資料。 哈囉大家好,我是新唐工程師 Miya 。 今天為大家介紹如何讓新唐 NuMaker IoT-M263A 開發板在 MbedOS 上使用 NB-IoT 以及 4G 模組。 需要先進行組裝在新唐商店購買收到的 RF-BG96A NB-IoT 模組與子板 先翻至背面,在母板插入 SIM Card ,再翻至正面將 RF-BG96A NB-IoT 子板拆下鎖到母板上。 將母板上 SW3 上調整電壓 3V 為 ON ,再將 SW6 Mini PCIe 1 跟 2 的電都調到 ON 的位置,最後將天線插在子板的’’MAIN’’孔。 組裝好 NB-IoT 子板後,接下來到網址"https://ide.mbed.com/",登入後先確認右上方板子已經有帶出’’NuMaker-IoT-M263A’’及板子小圖示了,如果沒有可參考教學影片’’step by step 讓你了解如何運行 Mbed OS’’,裡面有詳細的示範怎麼新增板子的方法。 點選左上方的’’New’’,會載入一個 Create new program 的小視窗,上面可以看到 Platform ,已經帶出 NuMaker-IoT-M263A 。 在 Template 這欄選取 sample code ,使用 NuMaker Cellular(NB-IoT/4G) 這個 sample ,點一下 OK ,可以看到系統已將 sample code 載到頁面裡了。 到 mbed_app.json ,找到 target_overrides ,這版在第 18 行開始。 往下找到 nsapi.default-cellular-apn ,這版在第 33 行。 請先詢問提供 SIM 卡的電信業者關於 APN 設定, NB-IoT 和 4G LTE 也不一定相同,這裡示範是使用中華電信 NB-IoT 的 APN 設定,所以要將 internet 改成 internet.iot 。 接著往下找到 NUMAKER_IOT_M263A ,這版從第 42 行開始。 將下面3行子板定義改成 QUECTEL_BG96 ,這版是第 43 行到第 45 行。 改好之後存檔,編譯。 現在在編譯中,請稍候。 完成後最下面會秀出’’Success!’’,系統會把 compile 完成的 bin 檔放在 download 資料夾,直接從下方進入,上拉後,點一下’’Show in folder’’。 接著需要把 NuMaker-IoT-M263A 板子跟 PC 接上 USB ,確認板子有亮燈就是通電了。 到電腦的裝置管理員查看分配到的 port 編號,在本機按右鍵,點裝置管理員 找到連接埠 (COM和LPT) ,找到 USB 序列裝置,就可以知道像這部 PC 分配給它的是COM12 。 接下來使用終端機模擬軟體,各位可以用自己熟悉的軟體操作即可。 設定 Serial line 為 COM12 , Speed 為 115200 ,到 Serial 將 Flow control 改為 None ,接著OPEN。 再回到剛才的資料夾,可以看到多了一個剛才 compile 完成的 bin 檔,按右鍵傳送到NuMicro MCU(E:),這邊分配到哪一槽要看各位的電腦決定,點選成功,會出現傳送資料畫面。 接著回到終端機摸擬軟體,可以看到板子已經成功連到 echo.mbedcloudtesting.com server。 傳送 4 Bytes 資料後接收 4 Bytes 資料,比對正確,連線測試成功。 以上是這次的教學影片,感謝您的收看,歡迎訂閱我們的頻道。 如果您想知道更多資訊歡迎聯絡我們。 - 更多產品資訊,請至新唐科技網站 https://bit.ly/3hVdcmC 購買管道:https://direct.nuvoton.com/tw/numaker-iot-m263a 聯絡我們: SalesSupport@nuvoton.com #application #learning #intermediate #zh-Hant
培訓  工具  學習  影片長度 - 6:47
以新唐 NuMaker-IoT-M487 為平台,使用 Mbed OS 進行開發,學習各種功能。觀看本片,您將學會使用 NuMaker-IoT-M487 開發板配合 Mbed OS 與 Pelion 的範例程式連接 Pelion。 哈囉大家好,我是新唐工程師 Miya,今天為大家介紹如何使用新唐 NuMaker IoT-M487 在 MbedOS 跟 Pelion 上連接雲端。 因為憑證下載需求,所以操作前請先準備好一張 Format 好的 MicoSD Card 待用。 打開 Chrome 瀏覽器輸入網址"https://cloud.mbed.com/quick-start" 需要先啟動免費帳號,點選中間上方”Activate your free access” 後,下一個頁面點 Log in 登入您的帳號密碼,Log in。 啟動後,選擇中間選項"Start the Connect Tutorial",系統會自動轉到這個頁面,往下拉選取 NuMaker-IoT-M487 (WiFi)。 選好後,點"Get started",系統將導入此頁面,點選 1.2,將 pelion-example-common example 加進線上編譯平台。 確認系統匯入 pelion-example-common 後,點 Import。 Load code 中,請稍待片刻。 先點選"pelion-example-common program.",接著在 Online compiler IDE 環境的 menu bar 上,到 Pelion Device Management 中下拉選取"Manage Connect Certificates"來建立 Pelion 憑證。 API Key 這邊按一下 OK。 點"Create",輸入您想存的連接憑證名字,之後按 OK。 點一下您建立的憑證,再按 OK,OK。 點 Pelion Device Management 選取"Apply Update Certificate."會出現 Update Certificates 視窗,按 Create,點"Download Private Key"。 接著先確認右上方板子已經有帶出”NuMaker-IoT-M487 及板子小圖示”了,如果沒有可參考教學影片”step by step 讓你了解如何運行 Mbed OS”,裡面有詳細的示範怎麼新增板子的方法! 由於要使用 Wi-Fi,所以需要將 SSID 及密碼改成可符合您連線環境的設定。 找到 mbed_app.json 裡面 SSID 設定"wifi-ssid",此版 sample code 在第 9 行,更改為您使用無線網路所設定的 SSID (我使用的是 nu),接著再找到"wifi-password"設定,此版在第 10 行裡的 Password 改成您無線網路連接設定的密碼,改好後存檔,Compile,現在 Compile 中,需要等待一下,完成後看到最下方會秀出"Success!"。 系統會把 compile 完成的 bin 檔放在 download 資料夾, 直接從下方進入,上拉後,點一下”Show in folder”。 接著需要先把 format 過的 Micro SD Card 插入卡槽,再將 NuMaker-IoT-M487 板子跟 PC 接上 USB,確認板子有亮燈就是通電了。 回到剛才的資料夾,可以看到多了一個剛才 compile 完成的 bin 檔,按右鍵傳送到 NuMicro MCU(E:) 這邊分配到哪一槽要看各位的電腦決定!有成功點選到的話會出現傳送過去的畫面。 接著到電腦的裝置管理員查看分配到的 port 編號,在本機按右鍵,選管理,找到裝置管理員,到連接埠(COM 和 LPT) 可以看到 USB 序列裝置,就知道這部 PC 分配給它的是 COM9。 接下來使用終端機模擬軟體,各位可以用自己熟悉的軟體操作即可,設定 Serial line 為 COM9, Speed 為 115200,到 Serial 將 Flow control 改為 None,接著 OPEN。 設定好之後,在板子上按一次 reset,接著在終端機摸擬軟體就可以看到目前板子已經成功連接無線網路,看到雲端回傳的 Endpoint name 就代表連接成功囉! 以上是這次的教學影片,感謝您的收看。歡迎訂閱我們的頻道。 如果您想知道更多資訊歡迎聯絡我們! - 更多產品資訊,請至新唐科技網站 https://bit.ly/3hVdcmC 購買管道:https://direct.nuvoton.com/tw/numaker-iot-m487 聯絡我們: SalesSupport@nuvoton.com #Tool #Training #Learning #Intermediate #zh-Hant
創新產品  學習  影片長度 - 15:55
Nuvoton has provided all kinds of size panels from 3.5 to 7 inches that support i80 mode and RGB interface to show GUI. N9H series supports hardware 2D Graphics Accelerator and MJPEG codec to process images. To meet customers HMI needs, Nuvoton has already prepared low-end to high-end products including M0, M4, and Arm9 series. #Product #Learning #Basic #en - For more information, please visit Nuvoton Technology Website: https://bit.ly/3hVdcmC buy now: https://direct.nuvoton.com/tw/numaker-emwin-n9h30 contact us: SalesSupport@nuvoton.com 0:00 簡介 1:32 Nuvoton HMI Solutions 3:04 Nuvoton HMI Development Systems 4:40 emWin Supported HMI Solution 5:29 Nuvoton Homemade Free GUI Templates 5:55 HMI Successful Story 7:15 Nuvoton MCU Feature for GUI 7:58 NuMicro N9H Series 9:26 NuMicro M480 Series 10:26 What is HMI and emWin Library 11:01 Windows Tools 12:34 Use GUIBuilder to easily create GUI 13:32 em Win sample code path in Nuvoton BSP 13:54 How to build the project • Both of the BSP and hardware are right, the display should 14:10 Nuvoton Forum 14:57 Supported LCD driver IC List (the popular ones)
創新產品  學習  影片長度 - 26:19
The ML51 is a Flash embedded 1T 8051-based microcontroller. The instruction set of the ML51 is fully compatible with the standard 80C51 with performance enhanced and low power consumption. The ML51 runs up to 24 MHz at a wide voltage range from 1.8V to 5.5V, and contains up to 64/32/16/8 Kbytes Flash called APROM for programming code. The ML51 Flash supports In-Application-Programming (IAP) function, which enables on-chip firmware updates. The ML51 includes an additional configurable up to 4/3/2/1 Kbytes Flash area called LDROM, in which the Boot Code normally resides for carrying out the In-System-Programming (ISP). - For more information, please visit Nuvoton Technology Website: https://bit.ly/3hVdcmC buy now: https://direct.nuvoton.com/tw/ml51-series/ contact us: SalesSupport@nuvoton.com #Product #Learning #Basic #en 0:00 簡介 0:20 Agenda 0:45 NuMicro Product Portfolio 1:28 2019 Brand New MCU Platform 2:06 ML51/ML54/ML56 Series Portfolio 3:29 ML51 Series Low 4:50 NuMicro Naming Rule 6:06 NuMicro® ML51 Features 8:19 4 Different Power Modes 10:44 Low Power Mode Features • Wake up resource: WKT, ACMP, GPIO 12:37 Low Power VS Battery Life 13:28 ADC 15:00 Comparison of 8-bit Products Feature 17:13 Fire Fighting System 21:30 Battery Management System (BMS) 22:30 Gaming Phone 23:36 Development Board 24:13 Development Environment
前瞻應用  學習  影片長度 - 2:21
這是新唐科技做的溫控器的參考設計,在第一個畫面顯示的是目前的室溫 25 度。也可以透過這個加減去設定你的目標的溫度,中間的部分就是去改變目前的開關、開或是關,在這個 Temperature (溫度) 圖示 部分可以進去調整它的背光亮度,透過滑動的方式去改變。 你現在要進入的功能頁面,進到第二個畫面去做溫度功能的設定,這是冷氣的強度,可以透過加減或者是直接按圖示去做加減,也可以去改變暖氣的部分,還有除溼跟送風,在第三個畫面是一個行事曆,可以去設定日期,然後去做日期的開跟關的預設動作,以上是整個參考設計的全部。 接下來介紹一下板子上面零件的組成,在電路板的正中間是一個新唐科技的 Nuvoton-N9H20 的主控晶片,這主控晶片內置了 32M Byte 的 DDR 在裡面,所以你會看到整個電路板是很清晰的,整個硬件設計上面是非常容易的。那在上方是一個 1G bit 的 NAND Flash,可以存code還有圖片的部分。在左下方是一個連接器可以連接到 UART 的控制介面。在中間左邊的部分是一個 5V (Micro USB) 電源的輸入。在右上角是一個 RS485 的連線,透過這個綠色的接頭可以連接到 RS485 控制風扇、冷氣等等裝置,在右下角這一區是一個電源管理的晶片,還有一些零件組成,所以整個應用設計上面是非常簡潔有力的,以上是整個硬件的介紹,謝謝。 #application #Learning #Basic #zh-Hant - 更多產品資訊,請至新唐科技網站 https://bit.ly/3hVdcmC 購買管道:https://direct.nuvoton.com/tw/ 聯絡我們: SalesSupport@nuvoton.com
前瞻應用  學習  影片長度 - 4:0
以新唐 NuMaker-IoT-M263A 為平台,使用 Mbed OS 進行開發,學習開發各式功能。觀看本片,您將學會如何以 Mbed OS 範例程式透過 Wi-Fi 連接到伺服器並讀取回傳資料。 哈囉大家好,我是新唐工程師 Miya,今天為大家介紹如何使用新唐 NuMaker IoT-M263A在MbedOS 上使用 Wi-Fi。 首先打開 Chrome 瀏覽器,輸入網址"https://ide.mbed.com/"。登入後先確認右上方板子已經有帶出”NuMaker-IoT-M263A 及板子小圖示”了,如果沒有可參考教學影片” step by step 讓你了解如何運行 Mbed OS”,裡面有詳細的示範怎麼新增板子的方法喔! 首先點選左上方的”New”,會載入一個 Create new program 的小視窗,上面可以看到 Platform,已經帶出 NuMaker-IoT-M263A。 在 Template: 這欄選取 sample code,使用 NuMaker WiFi TCP Example 這個 sample,點一下 OK。 開啟 sample code 後,接著再點選 mbed_app.json 檔案來開啟程式內容,找到程式裡面 SSID 設定的地方,這版是在第8行,更改為您使用無線網路所設定的 SSID。 接著再把第 9 行裡的 Password 改成您無線網路連接設定的密碼,改好後存檔。接著 Compile,現在 Compile 中,等待一下。 完成之後可以看到頁面下方出現了說明描述,最下面會秀出"Success!"。 系統會把 compile 完成的 bin 檔放在 download 資料夾,直接從下方進入,上拉後點一下”Show in folder” 。 接著需要先把 NuMaker-IoT-M487 板子跟 PC 接上 USB,確認板子有亮燈就是通電了。 回到剛才的資料夾,可以看到多了一個剛才 compile 完成的 bin 檔,按右鍵傳送到 NuMicro MCU(E:) 這邊分配到哪一槽要看各位的電腦決定喔! 有成功點選到的話會出現傳送過去的畫面。 接著到電腦的裝置管理員查看分配到的 port 編號,在本機按右鍵,點裝置管理員,找到連接埠 (COM和LPT),找到 USB 序列裝置就可以知道像這部 PC 分配給它的是 COM12。 接下來使用終端機摸擬軟體,各位可以用自己熟悉的軟體操作即可,設定 Serial line 為 COM12, Speed 為 115200,到 Serial 也確認一下 baud: 115200, Flow:NONE 接著 OPEN。 設定好之後,在板子上按 reset 一次。 接著在終端機摸擬軟體就可以看到目前板子連接無線網路的狀態及相關資訊。 以上是這次的教學影片,感謝您的收看。 如果您想知道更多資訊歡迎聯絡我們! - 更多產品資訊,請至新唐科技網站 https://bit.ly/3hVdcmC 購買管道:https://direct.nuvoton.com/tw/numaker-iot-m263a 聯絡我們: SalesSupport@nuvoton.com #application #learning #intermediate #zh-Hant
前瞻應用  學習  影片長度 - 3:0
以新唐 NuMaker-IoT-M263A 為平台,使用 Mbed OS 進行開發,學習開發各式功能。觀看本片,您將學會如何以 Mbed OS 範例程式完成按鍵開關 LED 功能。 哈囉大家好,我是新唐工程師 Miya,今天為大家介紹如何使用新唐 NuMaker IoT-M263A 在 Mbed OS 控制 LED 與按鍵。 首先打開 Chrome 瀏覽器,輸入網址"https://ide.mbed.com/compiler"。 登入後先確認右上方板子已經出現”NuMaker-IoT-M263A 及板子小圖示”,如果沒有出現,可參考新唐 IoT 系列課程”三分鐘讓你了解如何運行 Mbed OS”,這部影片裡面有詳細示範怎麼新增板子的方法喔! 首先點選左上方的 ”New”,會載入一個 ”Create new program” 的小視窗,在上面可以看到 Platform 已經帶出來 NuMaker-IoT-M263A,在 Template 這欄選取 sample code,用 NuMaker GPIO Interrupt with Debounce Setting 這個 sample 來示範,點一下 OK。 現在可以看到 sample code 已經載入頁面,點一下 main.cpp,往下拉找到這份 sample code 設置 M263A 板子的 LED 按鈕開關,對應是 SW10,直接按一下 Compile 編譯檔案。目前正在 Compile 中,請稍後。 完成後可以看到頁面下方出現了說明描述,最下面會秀出 Success! 系統會把編譯完成的 bin 檔放在 download 資料夾,直接從下方進入,上拉後,點一下”在資料夾中顯示”。 接著需要把 NuMaker-IoT-M263A 板子透過 USB 接上 PC,確認板子有亮燈就是通電了。 回到剛才的資料夾,可以看到多了一個剛才 compile 完成的 bin 檔,按右鍵傳送到 NuMicro MCU(E:) 這邊分配到哪一槽要看各位的電腦決定喔!成功點選會出現傳送資料的畫面。 接下來按板子上的 SW10 按鈕來開關相對應的 LED,可以看到每次按下的動作,預設是開,再按一下就是關。 以上是這次的教學影片,感謝您的收看。歡迎訂閱我們的頻道。 如果您想知道更多資訊歡迎聯絡我們! - 更多產品資訊,請至新唐科技網站 https://bit.ly/3hVdcmC 購買管道:https://direct.nuvoton.com/tw/numaker-iot-m263a 聯絡我們: SalesSupport@nuvoton.com #application #learning #intermediate #zh-Hant
前瞻應用  學習  影片長度 - 5:21
以新唐 NuMaker-IoT-M263A 為平台,您將學會如何使用 Mbed OS 範例程式,並練習如何秀出 Hello World! 哈囉大家好,我是新唐工程師 Miya,新唐的 NuMaker-IoT-M263A 開發板,以基於 Arm Cortex-M23 為核心的 NuMicro M263 微控制器為主控,內建 Wi-Fi, BLE, LoRa 等模組,亦可直接搭配 LTE 或 NB-IoT 通訊模組,讓使用者有多種無線通訊的選擇。此開發平台提供 BSP 開發包外,也支援 Arm MbedOS,充分支援多種網路協議。 今天為大家介紹如何在新唐的 NuMaker-IoT-M263A 上使用 Mbed OS。 首先打開 Chrome 瀏覽器輸入網址 https://os.mbed.com/,註冊或登入帳號。 接著登入使用,點選右上角的人頭,選 Log in /Sign up,輸入帳號密碼,點選 Log in。再來點選人頭旁邊黃底黑字的 Compiler,網頁會自動導到線上開發平台頁面。 接下來的示範都是在這個頁面上操作,點選右上角的 No device selected,先新增新唐 NuMaker IoT-M263A 開發板。 系統會打開Select a Platform頁面,點選左下角顯示綠色”+” Add Board 的按鈕,接下來會自動開啟平台頁面,選擇板子。 找到 NuMaker-IoT-M263A 並點選,點選後會自動開啟 NuMaker-IoT-M263A 的介紹頁面,將頁面往下拉,右邊會有藍底白字的橢圓形按鈕,點選” +Add your Mbed Compiler”。 按一下上方 compiler,回到線上開發平台頁面,右上角會出現”NuMaker-IoT-M263A 及小圖示”點選開啟小視窗: 在小視窗選 NuMaker-IoT-M263A,確認板子有加入後就可以開始進行 Sample code 的下載。 首先點選左上方的”New”,會載入一個 Create new program 的小視窗,上面可以看到 Platform,已經帶出 NuMaker-IoT-M263A。 在 Template 這欄選取 mbed OS Blinky LED HelloWorld 這個 sample code,點一下 OK。 現在可以看到 sample code 已經 load 在頁面,點一下 main.cpp 示範印出 Hello World。所以在主程式裡加一行指令:printf(“Hello World!\r\n”); 確認一下有沒有寫錯,存檔,按一下 Compile。 現在 Compile 中等待一下。 之後可以看到頁面下方出現了描述,最下面會秀出 Success! 接著需要先把 NuMaker-IoT-M263A 板子跟 PC 接上 USB,確認板子有亮燈就是通電了。 系統會把 compile 完成的 bin 檔放在 download 資料夾,可以直接從下方進入,上拉後,點一下”Show in folder”。 可以看到多了一個剛才 compile 完成的 bin 檔,按右鍵傳送到 NuMicro MCU(E:) 這邊分配到哪一槽要看各位的電腦決定喔! 到電腦的裝置管理員查看分配到的 port 編號,本機按右鍵,點管理。 找到裝置管理員,連接埠(COM和LPT),找到 USB 序列裝置就可以知道這部 PC 分配給它的是 COM10,有成功點選到的話會出現傳送過去的畫面。 接下來使用終端機摸擬軟體,各位可以用自己熟悉的軟體操作即可,設定 Serial line 為COM10, Speed 為 9600,到 Serial 也確認一下 baud: 9600, Data bits: 8, Stop bits: 1, Parity: None, Flow control: None. 接著 OPEN,就可以看到剛才編輯的 Hello World! 印出來了。 以上是這次的教學影片,感謝您的收看。 如果您想知道更多資訊歡迎聯絡我們! - 更多產品資訊,請至新唐科技網站 https://bit.ly/3hVdcmC 購買管道:https://direct.nuvoton.com/tw/numaker-iot-m263a 聯絡我們: SalesSupport@nuvoton.com #application #learning #intermediate #zh-Hant
影片長度 - 4:33
Tubular motors can be easily seen everywhere such as curtains, rolling doors, and automatic clothes racks. As the concept of home automation is spreading widely, those products become more and more popular. Nuvoton provides completed platform, ML51 series for different needs of tubular motors. It’s based on 1-T 8051 core, running up to 24 MHz core speed. It provides 12-bit ADC detecting motor current and up to 2 sets of analog comparators for overcurrent and overvoltage protection. Much higher safety features for the tubular motors are realized. 105-degree high-temperature resistance makes it suitable for control box exposed outdoors. As for the multiple noises and inference environment, ML51 series provides strong immunity like 8 kV ESD and 4.4 kV EFT. Hello, everyone, welcome back to Nuvoton’s YouTube channel, I am the product manager of microcontrollers. Today I am going to show you our successful story, home automation with the Tubular motor, which adopts our latest industrial microcontroller, ML51 series. Today the topic we are going to talk about is the home automation and motorization system for curtain and doors. These tubular motors can be easily seen around everywhere, like curtain, rolling door, garage door, and automatic clothes rake…and so on. As the concept of home automation is spreading widely, those products are more and more popular. For example, the automatic curtain is popularly applied in hotel, new building, hospital and new store, why is this product become more and more popular? Lazy economy becomes a new type of consumption demand, people pursue a time-saving and labor-saving product, imagined if you have an emitter to control curtain automatically, and smart adjustment with the brightness of outdoor. And the new product hit the shelf is automatic clothes rake, now this new product is not only a hanger but also integrated with UV light disinfection, heating function and fan controller. About the garage door, now integrated more security function, such as overcurrent protection for device longevity, infrared system can be added to increase anti-pinch security. Nuvoton provides completed platform, ML51 series for different needs of tubular motors. It’s based on 1-T 8051 core, running at 24MHz core speed, provides 12-bit ADC can detect motor current, up to 2 sets of analog comparator to have overcurrent and over voltage protection so can provide much higher safety feature for the tubular motors. ML51 series also provide from 1.8V to 5V power supply, so whether the AC power or the battery supplied can easily be adapts to different power source. This series has up to 105-degree high temperature resistance, which also can be very suitable for control box explore at outdoors. As for the multiple noise and inference environment, ML51 series provides strong immunity like 8 kV ESD and 4.4 kV EFT. Nuvoton provides an easy-to-use development environment, which includes NuMaker board, Nu-Link, BSP and sample codes, those tools can help you shorten your development cycles. On the backside of each development board, you can find the website which the comprehensive information is available. Nuvoton has some successful case in China and Europe. We hope to have more new opportunities after releasing this video. Thanks for watching, if you like this video please give it a thumbs up, if you have any question can also leave a message at bottom, we will have personal to reply the question soon. The ML51 NuMaker boards are now available at Nuvoton official eStore direct.nuvoton.com. Thank you again for staying with us. Hope to see you soon. Bye~ For more information, please visit Nuvoton Technology Website: https://bit.ly/3hVdcmC buy now: NuMaker-ML51PC/ http://direct.nuvoton.com/numaker-ml51pc NuTiny-ML51EB9AE/ https://direct.nuvoton.com/tw/nutiny-ml51eb9ae contact us: SalesSupport@nuvoton.com