Search

Selected option

Search Results

SearchLTE , find 3 items
  • Sort by
  • Most recent
  • Popularity
Watch time - 4:15
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 use cellular, such as LTE or NB-IoT, to connect to network 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
Training  Tool  Learning  Watch time - 8:36
Hello everyone, I am Morgan, the principal engineer of Nuvoton Technology. Today, I will show you how to use 4G LTE or NB-IoT with Mbed OS on NuMaker-IoT-M487 development board. This tutorial needs a cellular expansion board to work with NuMaker-IoT-M487 development board. You can purchase the 4G LTE expansion board, RF-EC21A, on Nuvoton Direct (https://direct.nuvoton.com/communication-module/). Please install your 4G LTE SIM card in the mini SIM card slot on the back, and install the antenna at the MAIN connector on the front of the board. Although there is an NB-IoT expansion board, it requires an NB-IoT SIM card. Using LTE is more convenient. Just use your own LTE SIM card which has data plan. Then install the expansion board to the Arduino UNO connector of the NuMaker-IoT-M487 development board. Because the power consumption of the 4G LTE module is higher, it is not enough to supply power from USB only. You need to plug in the 5V/2A power supply. If you use NB-IoT module, no additional power supply is needed. We used “New” to select a template to create a new project. This time, we use the example on GitHub to create a new project. The URL of template used for this tutorial is https://github.com/OpenNuvoton/NuMaker-mbed-Cellular-example In chrome browser, enter the URL https://ide.mbed.com to use Mbed Online Compiler environment. After you log in, make sure that NuMaker-IoT-M487 board already selected in the upper right corner. If not, please refer Nuvoton IoT Tutorial series “Get Started with Mbed OS” which has a detailed description of how to add a board. Click the second option “Import” on the upper left. In the Import Wizard, click “Click here” On the “Source URL:”, enter the tempalte URL https://github.com/OpenNuvoton/NuMaker-mbed-Cellular-example . Then move mouse cursor to “Import Name:” and click it, the Project name will be automatically fill in. Then click “Import” button. Now you can see that the sample code has loaded. Depending on the cellular module used, the configuration may need to be modified. Click on “Readme.md” to open it. It lists configurations for supported cellular modules. Because the tutorial uses RF-EC21A expansion board which includes a Quectel EC21 LTE module, let’s check and modify the configuration in mbed_app.json file. Click the “mbed_app.json” file to open it. It is a JSON file to customize compile time configuration parameters in Mbed OS. The “*” (asterisk) in “target_overrides” session indicates all development boards are applicable. You can set in the designated board session, so the settings are only applicable to the specified board. The default mbed_app.json file in the example has configured for RF-EC21A. Such as, "target.network-default-interface-type" has set to "CELLULAR" for cellular connection. Both "lwip.ppp-enabled” and "lwip.tcp-enabled" set to true. Use generic AT3GPP driver for RF-EC21A ("GENERIC_AT3GPP.provide-default": true) And the RF-EC21A UART connects on Arduino D0/D1 ("GENERIC_AT3GPP.tx": "D1" and "GENERIC_AT3GPP.rx": "D0") When your SIM card installed in your mobile phone, you can find the APN, username and password settings in your mobile phone. Or contact your telecom operator to get this information. In the example, APN has set to “internet”, no username, and no password. (Move mouse cursor around these settings) The final setting to check is PIN code. In the example, the setting is no PIN code. If your SIM card has PIN code, for example 1234, please set it like this “\”1234\”” (Move mouse cursor around the setting) Save it then build it. It is in compiling, please wait a moment. Then you can see 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 the folder based on your browser setting. In Chrome, you can click download file and select “Show in folder”. Then we connect the NuMaker-IoT-M487 USB port to your computer and don’t forget to plug in external 5V power supply. 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 favorite terminal tool. Here we use Putty. Open the COMx port with 115200 baud rate, 8 bits, 1 stop bit, none parity, and no flow control settings. Then “Open” it. Let’s back to the download folder where you can see the binary firmware file (NuMaker-mbed-Cellular-example.NUMAER_IOT_M487.bin). Drag and drop the file to NuMicro MCU drive. You will see the copying progress dialog box. You can see the connection messages printed on terminal. It shows that the board creates a TCP connection to server “echo.mbedcloudtesting.com”, send 4 bytes data and get the data back from server. That’s all for this tutorial. Thank you. For more information, please visit Nuvoton Technology: https://bit.ly/3hVdcmC Buy now: https://direct.nuvoton.com/tw/numaker-iot-m487 #tool #training #learning #intermediate #en
Watch time - 4:50
以新唐 NuMaker NUC980 IIoT 為平台,使用 Linux 進行開發,學習開發各式功能,觀看本片,您將學會在 NuMaker NUC980 IIoT 上使用 LTE 與 NB-IoT 連線。 哈囉大家好,我是新唐工程師阿群,今天為大家介紹如何在 NuMaker NUC980 IIoT 板子上如何使用 LTE 模組與 NB-IoT 模組。 首先我們先說明 LTE 模組的部分 NuMaker NUC980 IIoT 板子上的 USB port 位於右上角,請接上 LTE 模組才能上網。 在安裝 NUC980 開發環境 Buildroot 的過程中,我們下 “make nuvoton_nuc980_iot_defconfig” 產生 NUC980 IoT default configuration,當中 LTE 和 NB-IoT 模組相關的設定已經打開。 make 編譯 compile Buildroot 編譯完成後,透過 NuWriter 將 Linux kernel 下載到NuMaker NUC980 IIoT 板子上執行。Linux Kernel 開機完成後,設定 LTE 網路,輸入 “quectel-CM &”,下載檔案,輸入指令 ” wget -c http://http.speed.hinet.net/test_010m.zip ”, 可以看見檔案正在下載。 接下來我們說 NB-IoT 的部分,NuMaker NUC980 IIoT 板子上的 USB port 位於右上角,請接上 NB-IoT 模組才能上網。 需要拿到廠商附的軟體 linux-ppp-scriptsV1.2,根據linux-ppp-scripts裡面的文件說明將相關文件拷貝到 root file system 目錄中。 => unzip linux-ppp-scripts_V1.2.zip => cp linux-ppp-scriptsV1.2/linux-ppp-scriptes/* rootfs/etc/ppp/peers/ = > vim rootfs/etc/ppp/peers/quectel-chat-connect 修改 quectel-chat-connect 裡面 APN,此 APN 參數需要根據電信業者所提供第12行修改 APN 為“internet.iot” = > vim rootfs/etc/ppp/peers/quectel-ppp 修改 quectel-ppp 裡面的帳號密碼,帳號密碼需要根據電信業者所提供 第 6 行修改 user 和 password 為空白,然後重新 compile Linux Kernel。 編譯完成後,透過 NuWriter 將 Linux kernel 下載到 NuMaker NUC980 IIoT 板子上執行。 Linux Kernel 開機完成後, 設定 NB-IOT 網路 =>“pppd call quectel-ppp &” 設定 DNS =>“ echo "nameserver 8.8.8.8" > /etc/resolv.conf ” 下載檔案 =>”wget -c http://http.speed.hinet.net/test_010m.zip ” , 可以看見檔案正在下載。 以上是這次的 LTE 與 NB-IoT 使用教學影片。 - 更多產品資訊,請至新唐科技網站 https://bit.ly/3hVdcmC 購買管道:https://direct.nuvoton.com/tw/numaker-nuc980-iiot 聯絡我們: SalesSupport@nuvoton.com
This website uses cookies to ensure you get the best experience on our website. Learn more
OK