Search
Search Results
Searchgrade 2 ,
find 163 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 - 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 - 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 - 3:6
低功耗8051產品低功耗運行模式特色介紹。ML51系列工具及應用推薦。
-
更多產品資訊,請至新唐科技網站 https://bit.ly/3hVdcmC
購買管道:https://direct.nuvoton.com/tw/ml51-series/
聯絡我們: SalesSupport@nuvoton.com
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
Watch time - 2:49
介紹工控網關的系統架構與功能需求,介紹 NuMicro M487 系列的豐富周邊如何適用於工控網關應用,M487 系列支援的 RTOS,以及新唐所提供的將資料上傳雲端的軟體範例代碼。
-
更多產品資訊,請至新唐科技網站 https://bit.ly/3hVdcmC
購買管道:https://direct.nuvoton.com/tw/numaker-iot-m487
聯絡我們: SalesSupport@nuvoton.com
Watch time - 3:29
本短片介紹了可符合 AMI 2.0 國際標準的智慧電錶設計。該設計即將在一大型電力公司所服務的供電區域進行大規模部署。同時也透過手機APP演示了遠程線上自動讀錶的功能。
-
更多產品資訊,請至新唐科技網站 https://bit.ly/3hVdcmC
購買管道:https://direct.nuvoton.com/tw/
聯絡我們: SalesSupport@nuvoton.com
Application
Learning
Watch time - 3:49
A HMI and RTU industrial automation solution demo which is designed by Nuvoton’s partner. Nuvoton NUC970 series supports 2D Graphic and RGB 24-bit LCD display interface. With different LQFP package and DRAM embedded, NUC970 provides a solution platform for HMI products. NUC980 series does not have graphic engine, but supports up to 10 UARTs with DMA mode. Using DMA mode can reduce CPU loading and provides a better computing requirement. NUC980 series also supports different wireless modules. It is suitable for Industrial IoT applications.
#Application #Learning #Basic #en
-
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
Application
Learning
Watch time - 3:30
Automotive Data Logger consists of NuMicro® NUC131 microcontroller and N9H30 microprocessor. NUC131 supports CAN Bus to log On-Board Diagnostics-II (OBD-II) data, which includes vehicle velocity, engine RPM, engine coolant temperature, temperature in car from engine control unit (ECU) emulator. Then NUC131 converts the OBD-II raw data and transmits the above information to N9H30 by UART. N9H30 shows the received information on 7” TFT-LCD human machine interface enhanced by emWin.
#Application #Learning #Basic #en
-
For more information, please visit Nuvoton Technology Website: https://bit.ly/3hVdcmC
buy now: https://direct.nuvoton.com/tw/
contact us: SalesSupport@nuvoton.com
Application
Learning
Watch time - 4:54
The NDA102 DALI digital lighting control solution is based on Digital Addressable Lighting Interface (DALI) technology developed by Digital illumination interface alliance (DiiA). This solution includes DALI protocol libraries from Nuvoton and have been tested. Nuvoton is a DiiA associate member and has successful experiences for DALI product certification.
#Application #Learning #Basic #en
-
For more information, please visit Nuvoton Technology Website: https://bit.ly/3hVdcmC
buy now: https://direct.nuvoton.com/tw/
contact us: SalesSupport@nuvoton.com
Application
Learning
Watch time - 3:16
This short video clip introduces a real smart meter design in starting volume deployment in South Korea. A real meter machine and mobile phone APP show the auto meter reading online.
#Application #Learning #Basic #en
-
For more information, please visit Nuvoton Technology Website: https://bit.ly/3hVdcmC
buy now: https://direct.nuvoton.com/tw/
contact us: SalesSupport@nuvoton.com