Search

Selected option

Search Results

Searchprogramming tool , find 65 items
  • Sort by
  • Most recent
  • Popularity
Training  Tool  Learning  Watch time - 5:0
Hello everyone, I am Morgan, the principal engineer of Nuvoton Technology. Today, I will show you how to record and play audio 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 audio playback" for this tutorial. Then click OK. Now you can see that the sample code has loaded on the page. The sample code has three functions: 1. Record 10 seconds sound and save to Micro SD card 2. Play sounds stored in Micro SD card 3. Loopback. Record sound and play it immediately. Click main.cpp to open it. Then scroll down to line 421. You can see the functions calls here. It set to loopback only. Let’s do a little modification. Hit a key on console to start record 10 seconds then play it, and then do loopback. printf("Press a key to start recording 10 seconds..."); getchar(); demo_record(); demo_play(); demo_loopback(); Save it and click “Compile” to build the code. Compilation takes a while, please wait. After the compilation is completed, “Success” will appear in the compile output window. The browser downloads the binary firmware file directly after a successful compiling. It will be saved in a default download folder. In Chrome, you can click download file and select “Show in folder”. Please plug an earphone commonly used for mobile phone in headphone jack on NuMaker-IoT-M487 board. For demonstration, we use a headphone splitter cable to connect a microphone and a speaker. Do not put the microphone and speaker too close to avoid feedback howling. Then connect the USB port to your computer and make sure the onboard LED lights up. Back to the folder you just download the binary firmware file (NuMaker-mbed-AudioPlayback-example.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 favorite terminal tool. Here we use Putty. Open the COMx port with 9600 baud rate. And no flow control settings. Then “Open” it. Press “Reset” on board to run the firmware again. Press a key on terminal to start record. Speak for about 10 seconds, then your voice will be played. 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 “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:55
Hello everyone, I am Morgan, the principal engineer of Nuvoton Technology. Today, I will show you how to use SD card 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 SD-File-System with SD mode" for this tutorial. Then click OK. Now you can see that the sample code has loaded on the page. LittleFS uses less memory, supports power failure protection. However, LittleFS is different from the FAT file system, so after uses littleFS, the SD card will be formatted as LittleFS. The sample code uses FAT file system as default. Just click “Compiler” to build the example. It is in compiling, please wait a moment. After the compilation is complete, “Success” will appear in the compile output window. 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”. Please insert a micro SD card into the card slot on the back of NuMaker-IoT-M487 board, then connect the USB 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-SD-FileSystem-example.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 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” on board to run the firmware again. You can see the messages on terminal while accessing SD card. 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 “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: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 - 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)
Watch time - 9:40
以新唐 NuMaker NUC980 IIoT 為平台,使用 Linux 進行開發,學習開發各式功能,觀看本片,您將學會在 NuMaker NUC980 IIoT上使用 Ethernet 連接到 AWS IoT 服務。 大家好我是新唐工程師 Miya,今天要為各位介紹,如何使用 NuMaker NUC980 IIoT 開發平台連接 Amazon 的物聯網,以下簡稱 AWS 連結網址 https://aws.amazon.com/ ,登入 AWS 帳號 點擊右上角的 “Sign In to the Console”,進入帳號登入頁面 輸入您的帳號密碼,點擊 “Sign In” 進行登入 登入之後,進到 “AWS 管理控制台” 頁面 在搜尋欄位,輸入 “IoT Core”,會出現 IoT Core 連結,點擊進入 在左邊的欄位選擇 “入門” 頁面 在 “設定裝置” 點擊 “開始使用” ,開始設置 IoT 裝置 選擇連接 AWS IoT連線方式。platform 請選擇 Linux, SDK 請選擇 Python。 點擊 “下一步” 進到下一個頁面。 接下來開始註冊一個 IoT Thing,有三個步驟。 首先命名 IoT Thing,接著按下一步。 這個連線套件不會用到,按取消之後跳到下一步。 接下來2個頁面直接按 “完成” “完成”。 系統會跳回到管理頁面。 點擊左側選單 “管理”  “實物”。可以看到剛剛建立的 my-IoT 出現在 IoT Thing 裡面了。 接下來要對這個新建立的 Thing 做一些設定,直接點擊新建立的 Thing-my-IoT,進入管理頁面。 在左側選單,選擇 “互動” 。 在互動頁面裡可以看到 Thing 的 HTTPS 連結。 複製此 HTTPS,用戶端應用程序需要知道這個連結,才能夠連接到這個 IoT Thing。 接下來下載安全憑證,請在頁面左側選單,點擊 “安全”,進入憑證頁面。 然後點擊 “建立憑證”。 憑證建立完成會產生三個檔案,分別是憑證、公鑰及私鑰。分別點擊 “下載”以下載這三個檔案,NuMaker NUC980 IIoT 開發平台用戶端進行 AWS IoT 連線的時候會用到。 下載完成之後,點擊 “啟用”,使這個安全憑證生效。 接著還需要下載 AWS IoT 的根憑證,點擊 “CA 下載” 連結,以開啟另一個瀏覽頁面。 點 CA Certificates for Service Authentication 連結,系統會跳到 AWS IoT root CA 的下載頁面。 請選擇第一個根憑證,RSA 2048 bit key,按滑鼠右鍵,另存連結,存到檔案 “AmazonRootCA1.pem”。 下載完成之後,回到剛剛的頁面。 接下來,點擊 “連接政策”,進行 policy 設定。 點擊 “建立新政策”以建立一個新的 policy。 先輸入 policy 名稱。 選擇 “進階模式”,直接編輯 policy 內容。 在Effect 敘述輸入 Allow,允許操作。 在 Action 敘述輸入 “I:*”,接受所有的 IoT 命令。 在 Resource 敘述輸入 “*”, 允許取用 resource。 按 “建立” 建立新的 Policy。 在左側選單,重新點擊 “管理”→ “實物”,選擇 my-IoT thing,回到 my-IoT 頁面。 再次點擊 “安全”,然後選擇剛才建立的憑證。 在憑證頁面左側的選單選擇 “政策”。目前 Policies 還是空的。 打開右上角的 “動作”下拉選單,選擇 “連接政策”。 在 Policy 列表裡面,會出現剛才新建立的 Policy。打勾選取,然後按 “連接 “,完成 policy 的附加。 這時候 Policies 頁面就會出現我們所選擇的 Policy 了。到這邊已經建立好了雲端的 IoT Thing。接下來,要在 NuMaker NUC980 IoT 板上建立用戶端 IoT 應用。 請連接網址 tls.mbed.org/download 以下載 mbedTLS library。 點擊連結 mbed TLS 2.16.3(Apache) 進行下載儲存。 接下來要將把下載的 mbedTLS library 複製到 NUC980 Linux 開發環境下;先解壓 mbedTLS library後,用 git 下載 AWS 的 SDK。 git clone https://github.com/aws/aws-iot-device-sdk-embedded-C 下載完成之後,先刪除他在 external lib 目錄下的 mbedTLS 目錄,這是個空目錄。 將先前下載解壓後的 mbedTLS 目錄移動到 external lib 目錄下就可以直接編譯 AWS SDK 的範例了。 進到 AWS SDK 的 samples 目錄下的 Linux 目錄下可以看到 5 個 範例。要使用的範例是最底下這個 subscribe_publish_sample。 進到這個範例的目錄下。 有三個檔案,需要作一些修改。 首先修改 makefile,將 compiler linker 由 gcc,改為 NUC980 Linux toolchain 的 compiler linker。 51. 往底下找到 CRYPTO_LIB_DIR,修改路徑,將 crypto 刪除,這樣 makefile 就完成修改了。 (~00:25) 52. 接著是 header file,修改MQTT HOST 連結路徑,先前我們在 IoT thing 的 “互動” 頁面所複製 的 HTTPS 連結,將它貼到這裡。(~00:46) 53. CLIENT ID 請任意取一個名稱,不要與其他用戶端名稱重複即可。(~00:55) 54. MY THING NAME 要用前面建立的 IoT Thing 的名稱: my-IoT。(~01:02) 55. 底下的 ROOT CA file name,IoT Certificate file name,以及 IoT private key filename。 56. 前面在建立 IoT Thing 安全憑證過程中,有下載了 Root CA 及 IoT 安全憑證幾個檔案,請將 檔案名稱填寫到這裡。 最後是修改 點 C,系統會將範例程式執行檔放到 root file system 的 usr/bin 目錄下,並將憑證檔案放到 usr/certs 目錄下。 這裡請將憑證指定目錄改為 相對路徑的 ../certs。 接著打 make 直接進行編譯。 編譯需要幾分鐘的時間,影片跳過了編譯部分。 接下來,將編譯好的應用程序複製到 rootfs 的 /usr/bin 目錄下。 然後將根憑證及 IoT 安全憑證檔案複製到 rootfs 的 /usr/certs 目錄下。這裡已經事先複製好了。完成後到 BSP Linux 目錄下,編譯 kernel。 將 kernel 上傳到 IoT 開發板上面執行。 下 ifconfig + udhcpc 指令連接網絡。 由於憑證有時效性問題,需要修改系統時間,以免因為憑證過期導致無法連接。 進到 usr/bin 目錄下,執行 AWS用戶端範例程序。 可以看到用戶端已經成功連接 AWS 雲端。這個範例會不斷地發佈並且接收訊息。 - 更多產品資訊,請至新唐科技網站 https://bit.ly/3hVdcmC 購買管道:https://direct.nuvoton.com/tw/numaker-nuc980-iiot 聯絡我們: SalesSupport@nuvoton.com
Watch time - 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
This website uses cookies to ensure you get the best experience on our website. Learn more
OK