Search

Selected option

Search Results

Searchvirtual serial port , find 25 items
  • Sort by
  • Most recent
  • Popularity
Training  Tool  Learning  Watch time - 4:32
Hello everyone, I am Morgan, the principal engineer of Nuvoton Technology. Today, I will show you how to control the temperature and humidity sensor with Mbed OS on NuMaker-IoT-M487 development board. For this tutorial, we choose the “Thermo 6 Click” board. It is a mikroBUS board with a MAX31875 sensor. It is easy to install on NuMaker-IoT-M487 board because it has a mikroBUS connector. The part of control code refer from community, it is easy and quick to be integrated into real application. Open Chrome browser, and enter the URL https://ide.mbed.com to use the Mbed Online Compiler. After 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 “New” on the left of menu bar, a “Create new program” window will be displayed. You can see that the Platform has been set to NuMaker-IoT-M487. In the Template, select the "NuMaker Thermo-Sensor MAX31875 " for this tutorial. Then click OK. Now you can see that the sample code has loaded on the page. The sample code includes the MAX31875 control from community, declares an I2C object used on NuMaker-IoT-M487’s mikroBUS and a sensor object with the I2C object. Get the temperature value then print it. No modification needed, just click “Compile” to build the sample code. It is in compiling, please wait a moment. Then you can see the last message is “Success!” after compile completed. The browser downloads 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”. Now is the time to install the Thermo 6 Click temperature and humidity sensor board on the mikroBUS, please pay attention to the correct orientation of the board. Then we connect the NuMaker-IoT-M487 USB port to your computer and make sure the onboard LED lights up. Let’s back to the folder you just download the binary firmware file (NuMaker-mbed-Sensor-MAX31875.NUMAKER_IOT_M487.bin). Drag and drop the file to NuMicro MCU drive. You will see the copying progress dialog box. Please find the virtual COM port assigned for NuMaker-IoT-M487 in Device Manager. In the tutorial, 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 And no flow control settings. Then “Open” it. You can see the current temperature in Celsius and Fahrenheit printed on terminal. That’s all for this tutorial. Thank you for watching. Welcome to subscribe to our channel. If you want to get more information, please contact us at SalesSupport@nuvoton.com - For more information, please visit: https://bit.ly/3hVdcmC Buy now: https://direct.nuvoton.com/tw/numaker-iot-m487 Contact us: SalesSupport@nuvoton.com #tool #training #learning #intermediate #en
Training  Tool  Learning  Watch time - 8:37
NuMaker-IoT-M487 (5) Connect to Pelion Device Management on Mbed OS Hello everyone, I am Morgan, the principal engineer of Nuvoton Technology. Today, I will show you how to connect to Pelion Device Management with Mbed OS on NuMaker-IoT-M487 development board. Because the demonstration needs to store certificate, a MicroSD card is required. Open Chrome browser, enter the URL https://cloud.mbed.com/quick-start If you didn’t use Pelion Device Management before, you need to activate your Mbed account to access Pelion. Click the “Activate your free access”. Then log in your Mbed account. Click “Activate Pelion Device Management account“… Select the “Start the Connect Tutorial” Then scroll down to select NuMaker-IoT-M487 (WiFi) --After selected, scroll down and click “Get started”-- If you have completed previous tutorial, the NuMaker-IoT-M487 board has been selected in your Mbed account. Please click the “2.2” to import the Pelion Connect Tutorial into your Online Compiler. It shows the import dialog box, please click Import. Wait for a moment while importing the sample code. Click “mbed-os-example-pelion” project name, Then click “Pelion Device Management” on menu bar, select “Manage Connect Certificates” in pull-down menu to create a Pelion certificate. You need to provide API key. You can create a new one here. Log in your mbed account. Accept Then click New API key Assign an API Key name Click Close After created an API key, back to online compiler, Then click Manage Connect Certificate again. API Key automatically filled here. Click OK. Click “Create”, then assign a name for the certificate. Click OK. Click the certificate just created to select it, then click OK. The online compiler will automatically update source code with the selected certificate. Click “Pelion Device Management” on menu bar again, select “Apply Update Certificate”. An “Update Certificates” dialog box appears. Create it. Click Download Private Key and save it. Please 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. In order to use Wi-Fi, you have to configure SSID and password to match your Wi-Fi access point setting. In the mbed_app.json file, the default Wi-Fi security set to WPA and WPA2 in “nsapi.default-wifi-security” field. Please modify the field “nsapi.default-wifi-ssid” to your Wi-Fi SSID Then modify “nsapi.default-wifi-password” to your Wi-Fi password. Click on “Compile” to build it. Have to wait for a while. Then you can see the last message is “Success!” at the bottom of this page. 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 make sure the onboard LED lights up. Let’s back to the download folder where you can see the binary firmware file (mbed-os-example-pelion.NUMAKER_IOT_M487.bin). Drag and drop the file to NuMicro MCU drive. You will see the copying progress dialog box. Please find the virtual COM port assigned for NuMaker-IoT-M487 in Device Manager. In the tutorial, the “Nu-Link Virtual Com Port” is COMx. Then use your 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. Press Reset button on board to run again. You can see the connection messages printed on terminal. It shows the board’s IP address obtained from the Wi-Fi access point, and the Endpoint Name. Then you can see the device resource in Pelion Device Management Portal. Log in Pelion Portal with the same Mbed account. Click Device directory. Find the device ID which should be registered state. Click the Device ID, it shows the Device details. Click RESOURCES, find the resource 3200/0/5501. Click the resource. Now, you can press keys in terminal to increase the counter. Or the counter automatically increase 1 by one second. The demo code also updates the counter to Pelion. You will see the value change in the graph. That’s all for this tutorial. Thank you for watching. Welcome to subscribe to our channel. 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
Training  Tool  Learning  Watch time - 4:13
NuMaker-IoT-M487 (6) Use Ethernet Hello everyone, I am Morgan, the principal engineer of Nuvoton Technology. Today, I will show you how to use Ethernet with Mbed OS on NuMaker-IoT-M487 development board. Open Chrome browser, and enter the URL https://ide.mbed.com to use the Mbed Online Compiler. After 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 “New” on the left of menu bar, a “Create new program” window will be displayed. You can see that the Platform has been set to NuMaker-IoT-M487. In the Template, select the "NuMaker Ethernet TCP" for this tutorial. Then click OK. Now you can see that the sample code has loaded on the page. The network default configuration is Ethernet, so we don’t have to manually modify mbed_app.json file. The sample code automatically acquires IP address, connects to web server and display the return message. Just click “Compile” to build the sample code. It is in compiling, please wait a moment. Then you can see the last message is “Success!” after compile completed. The browser downloads 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”. Connect the LAN cable in the network that does not require proxy settings. Then we connect the NuMaker-IoT-M487 USB port to your computer and make sure the onboard LED lights up. Let’s back to the download folder where you can see the binary firmware file (NuMaker-mbed-tcp.NUMAKER_IOT_M487.bin). Drag and drop the file to NuMicro MCU drive. You will see the copying progress dialog box. Please find the virtual COM port assigned for NuMaker-IoT-M487 in Device Manager. In the tutorial, 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 And no flow control settings. Then “Open” it. Press Reset button on board to run again. You can see the connection messages printed on terminal. It shows the board’s IP address, sends a simple HTTP connection to server, and the result of return. That’s all for this tutorial. Thank you for watching. Welcome to subscribe to our channel. If you want to get 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
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
Training  Tool  Learning  Watch time - 5:29
Hello everyone, I am Morgan, the principal engineer of Nuvoton Technology. Today, I will show you how to use Wi-Fi with Mbed OS on NuMaker-IoT-M487 development board. First, open Chrome browser, enter the URL https://ide.mbed.com Please make sure that NuMaker-IoT-M487 board already selected in the upper right corner after you log in. 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 “New” on the upper left, a “Create new program” window will be displayed. You can see that the Platform has been set to NuMaker-IoT-M487. In the Template field, select the "NuMaker WiFi TCP Example" for this tutorial. Then click OK. Now you can see that the sample code has loaded on the page. Click on “mbed_app.json” to open it. In order to use Wi-Fi, you have to configure SSID and password to match your Wi-Fi access point setting. In the mbed_app.json file, the default Wi-Fi security set to WPA and WPA2 in “nsapi.default-wifi-security” field. Please modify the field “nsapi.default-wifi-ssid” to your Wi-Fi SSID Then modify “nsapi.default-wifi-password” to your Wi-Fi password. Click on “Compile” to build it. It is in compiling, please wait a moment. Then you can see the last message is “Success!” at the bottom of this page. 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 make sure the onboard LED lights up. Let’s back to the download folder where you can see the binary firmware file (NuMaker-mbed-wifi-tcp.NUMAKER_IOT_M487.bin). Drag and drop the file to NuMicro MCU drive. You will see the copying progress dialog box. 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. 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. Press Reset button on board to run again. You can see the connection messages printed on terminal. It shows the board’s IP address obtained from the Wi-Fi access point, sends a TCP/HTTP connection to server, and the result of return. That’s all for this tutorial. Thank you for watching. Welcome to subscribe to our channel. 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
Training  Tool  Learning  Watch time - 3:51
Hello everyone, I am the principal engineer of Nuvoton Technology, Morgan. Today, I will show you how to use Mbed OS on the NuMaker-IoT-M487 development board to control LED and buttons. First, open Chrome browser, enter the URL https://ide.mbed.com. Please make sure that NuMaker-IoT-M487 board already selected in the upper right corner after you log in. If not, please refer Nuvoton IoT Tutorial series “Get Started with Mbed OS” which has a detailed description of how to add a board. Then click the “New” on the upper left, a “Create new program” window will be displayed. You can see that the Platform has been set to NuMaker-IoT-M487. In the Template field, select the "NuMaker GPIO Interrupt with Debounce Setting" for this tutorial. Then click OK. Now you can see that the sample code has loaded on the page. Click on “main.cpp”, this sample code uses SW2 button for demonstration. Click on “Compile” to build it. It is in compiling, please wait a moment. Then 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 the folder based on your browser setting. In Chrome, you can click download file and select “Show in folder”. Then we have 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 (NuMaker-mbed-GPIO-Interrupt.NUMAKER_IOT_M487.bin). Drag and drop the file to NuMicro MCU drive. You will see the copying progress dialog box. Next step is to press the SW2 button on the board to toggle LED. You can see the reaction of each press. That’s all for this tutorial. Thank you for watching. Welcome to subscribe to our channel. 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
Training  Tool  Learning  Watch time - 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
Product  Learning  Watch time - 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
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
Watch time - 2:45
以新唐 NuMaker NUC980 IIoT 為平台,使用 Linux 進行開發,學習開發各式功能。本片示範如何啟用乙太網路連接網際網路。 哈囉大家好,我是新唐工程師 Kevin,今天為大家介紹如何在 NuMaker NUC980 IIoT 板子上透過 Ethernet 連網。 NuMaker NUC980 IIoT 板子上的 Ethernet port 位於右上角,請記得接上網路線才能連網。 在安裝 NUC980開發環境 Buildroot 的過程中,我們下 “make nuvoton_nuc980_iot_defconfig” 產生 NUC980 IoT default configuration,當中 Ethernet 相關的設定已經打開。今天我們要使用一個網路應用程式,curl,在 NUC980 IoT default configuration 中,這個選項是關起來的,所以要透過 “make menuconfig” 打開。 進入選單後,選擇 “Target packages ”,”Libraries ”,” Networking ”,把 “libcurl”和 “curl binary” 這兩個選項打開。儲存設定後離開 menuconfig。 然後再下 make 重新 compile Buildroot。 透過 NuWriter 將 Linux kernel下載到NuMaker NUC980 IIoT 板子上執行 Linux Kernel 開機完成後,輸入 “udhcpc –i eth0” 向 DHCP server 要一個 IP address。 先測試網路的狀況,輸入 “ping google.com”,可以看到網路是通的。 接下來我們要透過剛才安裝的 curl 來下載檔案,我們輸入 “curl http://os.mbed.com”,就可以下載 mbed 首頁的 html。 - 更多產品資訊,請至新唐科技網站 https://bit.ly/3hVdcmC 購買管道:https://direct.nuvoton.com/tw/numaker-nuc980-iiot 聯絡我們: SalesSupport@nuvoton.com
Watch time - 3:31
以新唐 NuMaker NUC980 IIoT 為平台,使用 Linux 進行開發,學習開發各式功能,觀看本片,您將學會如何控制 GPIO 使 LED 閃爍。 哈囉大家好,我是新唐工程師 Kevin,今天為大家介紹如何在 NuMaker NUC980 IIoT 板子上透過 GPIO 讓 LED 燈閃爍。 NuMaker NUC980 IIoT 板子的 Power-on Setting上方有 3 個 LED 燈,分別由不同的 GPIO 控制。最左邊,編號 LED03 的 LED 燈是由 GPIO B8 這根 pin 控制。今天示範如何用程式控制 GPIO B8 讓 LED 燈閃爍。 這是 LED 燈閃爍的程式,在看程式之前,我先為各位說明,在 Linux kernel 中,每一根 GPIO pin 都有編號。每一個 GPIO Group 占用 32個編號,編號為 0 到 31,分配給 GPIO Port A 這個 group,編號 32 到 63 分配給 GPIO Port B,以此類推。 LED03 這個 LED 燈是由 GPIO B8 這根 pin 控制,GPIO B8 在 Linux 中的編號是 40。 回到程式中,我們看到這個程式是透過 system function 執行系統命令,透過 Linux kernel 的 sysfs 控制 GPIO。 第 23 行 system("echo40 /sys/class/gpio/export"); 是將 GPIO B8 設定成可以用sysfs 控制。 第 24 行 system("echo out /sys/class/gpio/gpio40/direction"); 是將 GPIO B8 設定為 output。 接下來在 while loop 中,透過 system("echo 1/sys/class/gpio/gpio40/value"); 讓 GPIO B8 輸出 high;再透過 system("echo 0 /sys/class/gpio/gpio40/value"); 讓 GPIO B8 輸出 low,中間延遲 1 秒鐘,就可以做到 LED 燈閃爍的功能。 這個程式,main.c,儲存後,進行 compile 輸入 arm-linux-gcc main.c -o gpio_toggle (輸入 ls) 產生一個執行檔 gpio_toggle 將 gpio_toggle 拷貝到 root file system 目錄中, (輸入 sudo cp gpio_toggle ../rootfs) 然後重新 compile Linux Kernel 透過 NuWriter 將 Linux kernel 下載到NuMaker NUC980 IIoT 板子上執行 Linux Kernel 開機完成後,輸入 ./gpio_toggle,執行閃爍 LED 的程式。 此時可以看到 NuMaker NUC980 IIoT 板子上的 LED 正在閃爍。 - 更多產品資訊,請至新唐科技網站 https://bit.ly/3hVdcmC 購買管道:https://direct.nuvoton.com/tw/numaker-nuc980-iiot 聯絡我們: SalesSupport@nuvoton.com
Product  Learning  Watch time - 4:26
NUC980 Series Microprocessor is a solution designed for industrial control and industrial IoT applications, such as gateway, serial server, remote control unit, plug and play data collector and IoT development platforms. NUC980 series embedded with an ARM9 core supports Linux, FreeRTOS and Non-OS Board Supporting Package. By using MCP technology, NUC980 series supports up to 128 MB DRAM. Not only can NUC980 simplify your hardware design, but help your product time to market. A less-layered PCB and a reduced PCB size can lower the BOM cost. NUC980 supports 2 High Speed and 6 Full Speed USB Host controllers that can be used for a replaceable module due to the plug and play feature of USB interface. Other interfaces include 10 UART, 4 I2C, 3 SPI, 4 CAN BUS, and 2 Camera sensor interface. Designers can use these interfaces to collect or convert the data needed. NUC980 features AES, RSA, SHA and ECC hardware crypto accelerator for CPU offloading. This crypto engine can be applied at data transfer, identification, and key exchange.Nuvoton also provides IoT protocols like HTTP, HTTPS, MQTT, CoAP, openSSL to help customers accomplish a security IoT platform easily. Nuvoton NUC980 adopts MCP technology supporting up to 128 MB DRAM. Developers can design a secure IoT product fast and convenient with the help of the hardware crypto engine. Next, I will introduce related development platforms. NuMaker NUC980 Serial Server Board is suitable for applications like serial server or serial to Ethernet gateways. This develop board includes 2 10/100 Ethernet ports, 8 UART ports, 1 MicroSD Slot, 2 USB ports and 16MB SPI NOR Flash. NuMaker NUC980 USB developer board is suitable for data collection applications. This board includes 1 10/100 Ethernet port, 8 USB ports, 5 UART ports, and 128 MB NAND Flash. NuMaker NUC980 Industrial IOT developer board is suitable for IOT applications. This board includes 1 10/100 Ethernet Port, 2 USB ports, microphone input, earphone output, 128 MB SPI NAND Flash and an Arduino Compatible interface. - For more information, please visit Nuvoton Technology Website: https://bit.ly/3hVdcmC buy now: http://direct.nuvoton.com/arm9-mpus/ contact us: SalesSupport@nuvoton.com #Product #Learning #Basic #en
This website uses cookies to ensure you get the best experience on our website. Learn more
OK