Search
Search Results
SearchUSB-to-serial communication bridge ,
find 16 items
- Sort by
- Most recent
- Popularity
Training
Tool
Learning
Watch time - 8:36
Hello everyone, I am Morgan, the principal engineer of Nuvoton Technology. Today, I will show you how to use 4G LTE or NB-IoT with Mbed OS on NuMaker-IoT-M487 development board.
This tutorial needs a cellular expansion board to work with NuMaker-IoT-M487 development board. You can purchase the 4G LTE expansion board, RF-EC21A, on Nuvoton Direct (https://direct.nuvoton.com/communication-module/). Please install your 4G LTE SIM card in the mini SIM card slot on the back, and install the antenna at the MAIN connector on the front of the board.
Although there is an NB-IoT expansion board, it requires an NB-IoT SIM card. Using LTE is more convenient. Just use your own LTE SIM card which has data plan.
Then install the expansion board to the Arduino UNO connector of the NuMaker-IoT-M487 development board.
Because the power consumption of the 4G LTE module is higher, it is not enough to supply power from USB only. You need to plug in the 5V/2A power supply. If you use NB-IoT module, no additional power supply is needed.
We used “New” to select a template to create a new project. This time, we use the example on GitHub to create a new project. The URL of template used for this tutorial is https://github.com/OpenNuvoton/NuMaker-mbed-Cellular-example
In chrome browser, enter the URL https://ide.mbed.com to use Mbed Online Compiler environment.
After you log in, make sure that NuMaker-IoT-M487 board already selected in the upper right corner. If not, please refer Nuvoton IoT Tutorial series “Get Started with Mbed OS” which has a detailed description of how to add a board.
Click the second option “Import” on the upper left.
In the Import Wizard, click “Click here”
On the “Source URL:”, enter the tempalte URL https://github.com/OpenNuvoton/NuMaker-mbed-Cellular-example . Then move mouse cursor to “Import Name:” and click it, the Project name will be automatically fill in. Then click “Import” button.
Now you can see that the sample code has loaded. Depending on the cellular module used, the configuration may need to be modified. Click on “Readme.md” to open it. It lists configurations for supported cellular modules.
Because the tutorial uses RF-EC21A expansion board which includes a Quectel EC21 LTE module, let’s check and modify the configuration in mbed_app.json file.
Click the “mbed_app.json” file to open it. It is a JSON file to customize compile time configuration parameters in Mbed OS. The “*” (asterisk) in “target_overrides” session indicates all development boards are applicable. You can set in the designated board session, so the settings are only applicable to the specified board.
The default mbed_app.json file in the example has configured for RF-EC21A. Such as,
"target.network-default-interface-type" has set to "CELLULAR" for cellular connection.
Both "lwip.ppp-enabled” and "lwip.tcp-enabled" set to true.
Use generic AT3GPP driver for RF-EC21A ("GENERIC_AT3GPP.provide-default": true)
And the RF-EC21A UART connects on Arduino D0/D1 ("GENERIC_AT3GPP.tx": "D1" and "GENERIC_AT3GPP.rx": "D0")
When your SIM card installed in your mobile phone, you can find the APN, username and password settings in your mobile phone. Or contact your telecom operator to get this information. In the example, APN has set to “internet”, no username, and no password. (Move mouse cursor around these settings)
The final setting to check is PIN code. In the example, the setting is no PIN code. If your SIM card has PIN code, for example 1234, please set it like this “\”1234\”” (Move mouse cursor around the setting)
Save it then build it.
It is in compiling, please wait a moment.
Then you can see the last message is “Success!”.
The browser will download the binary firmware file directly after a successful compiling. It will be saved in a default download folder or the folder based on your browser setting. In Chrome, you can click download file and select “Show in folder”.
Then we connect the NuMaker-IoT-M487 USB port to your computer and don’t forget to plug in external 5V power supply.
Please find the virtual COM port assigned for NuMaker-IoT-M487 in Device Manager. In the demonstration, the “Nu-Link Virtual Com Port” is COMx.
Then use your favorite terminal tool. Here we use Putty. Open the COMx port with 115200 baud rate, 8 bits, 1 stop bit, none parity, and no flow control settings. Then “Open” it.
Let’s back to the download folder where you can see the binary firmware file (NuMaker-mbed-Cellular-example.NUMAER_IOT_M487.bin). Drag and drop the file to NuMicro MCU drive.
You will see the copying progress dialog box.
You can see the connection messages printed on terminal. It shows that the board creates a TCP connection to server “echo.mbedcloudtesting.com”, send 4 bytes data and get the data back from server.
That’s all for this tutorial. Thank you.
For more information, please visit Nuvoton Technology: https://bit.ly/3hVdcmC
Buy now: https://direct.nuvoton.com/tw/numaker-iot-m487
#tool #training #learning #intermediate #en
Watch time - 4:59
Secure Smart Metering Communication Reference Design
Hi everybody, today we are going to introduce a reference design of Smart-Metering communication card based on NuMicro M2351 Series microcontroller. You can find useful security features based on the Arm Cortex-M23 CPU core with Nuvoton’s in-house technology integration.
The auto-metering is an infrastructure for automatic, remotely, wire or wireless meter data reading. It’s highly possible to be intervened if there is no security mechanism. That is a very typical IoT security issue in the IoT era.
In many countries, there are a lot of Auto-Metering Infrastructure (AMI) projects being undertaken by main electricity power companies worldwide. Most projects start from upgrading the communication modem cards as the first step rather than retiring the meters. The modem card can play as a gateway to monitor the incorrect device operation and data transmission security. Issues of modem card security are covering:
First, a limited performance due to crypto computation efficiency
Second, speed limitation due to interface choice
The third, cost burden due to extra hardware modules for different communication protocols
Nuvoton’s reference design of Secure Smart Meter Communication is an end-to-end security solution for AMI. With the collaboration with SPI-Korea, the solution incorporates a lot of advantages such as TrustZone security for firmware, a range of interfaces for device communication, secure over-the-air firmware update, and remote management. With the complete hardware specification of M2351, a security software company, SPI-Korea, can easily implement their secure AMI solution for modem card which connects meters and cloud servers. M2351 also contributes the crypto acceleration during the cryptographic computing in order to save CPU time for different communication protocol modules by its powerful hardware functionalities during message transmission outside of a microcontroller unit.
SPI-Korea has developed a range of Armv8-M TrustZone based technologies. Her expertise covers Boot Manager, Key Manager, and Device Manager, which is very useful for microcontroller security and certainly shows the stability of a microcontroller device. Also, they are certified by Korea Electricity Company. We hope this successful experience can be further adopted in other areas worldwide because it’s a secure, accurate and environmentally safe solution for AMI.
This slide is a picture for SPI-Korea AMI modem card design. NuMicro Family microcontrollers can be utilized for designs of auto-metering infrastructure devices. We start from AMI modem card and we are confident to support meters of any next-generation of AMI. We now integrate M23-based microcontroller with M4-based or Arm9-based microcontroller as a proposal for next-generation modem card of Korea AMI and we hope to provide high-performing cost-effective solution for all AMI devices in the future.
-
For more information, please visit Nuvoton Technology Website: https://bit.ly/3hVdcmC
contact us: SalesSupport@nuvoton.com
Product
Learning
Watch time - 3:48
This video is going to show you our latest Low power ML51 series microcontroller. The ML51 platform features high performance and pin-to-pin compatibility with our 32-bit microcontrollers, such as M480, M031, and M261 series .
ML51 series supports up to 24MHz operation frequency, and 1.8V to 5.5V operating voltage, it provides four power modes: normal run mode, low power run mode, low power idle mode, and power down mode. In power down mode with multiple wake-up sources. The power consumption in low power idle mode is down to 13 μA and in power down mode it is less than 0.8 μA. When the clock runs at internal RC oscillator can also allow 9600 baud rate for UART communication. ADC supports up to 8 channels of 12-bit ADC, analog comparator and five levels of the internal reference voltage, ML51 provide two channels of PDMA, strong immunity like 8 kV ESD and 4.4 kV EFT.
-
For more information, please visit: http://www.nuvoton.com
buy now:
NuMaker-ML51PC/ http://direct.nuvoton.com/numaker-ml51pc
NuTiny-ML51EB9AE/ http://direct.nuvoton.com/nutiny-ml51eb9ae
contact us: SalesSupport@nuvoton.com
#Product #Learning #Basic #en
Watch time - 2:57
新唐低功耗8051微控制器 - ML51 系列 產品、應用及開發環境介紹。
ML51 平台的速度高達 24 MHz。並具有 1.8 ~ 5.5V 的寬工作電壓,同時功耗也提供非常低,在正常運行模式下功耗僅需 80 μA / MHz,在休眠模式下功耗更可以低至 0.8 μA;類比部分我們提供 8 組 12 位 ADC、2 組比較器以及 5 階內置參考電壓。另外我們也內建 2 組 PDMA,ESD 部分可以高達 8 kV 以及 EFT 可以高達 4.4 kV,我們還提供許多豐富週邊、像是三路串口以及 2 路 I2C 還有 2 路 SPI。
ML51 系列適合於在各種需要電池的裝置,舉例來說,我們可以讓一個225mAh 的鈕扣電池持續工作 3 年而不需要更換電池。另外我們提供的寬工作電壓可以供電低至 1.8V 也不需要外加 LDO 在 PCB 板、舉例像是 TWS 的無線藍芽耳機或者是獨立式的煙霧感測器都是非常適合 ML51 的產品。
ML51 提供的開發板可以直接與電腦相連,不需要額外的燒錄器。ML51 提供的開發板以及相關的 sample code 都能讓各位快速上手、另外我們新的開發板上面,背面都印有一個短網址、輸入短網址進入網頁後可以在上面找到相關的開發資訊。
-
更多產品資訊,請至新唐科技網站 https://bit.ly/3hVdcmC
購買網址:
NuMaker-ML51PC/ http://direct.nuvoton.com/numaker-ml51pc
NuTiny-ML51EB9AE/ http://direct.nuvoton.com/nutiny-ml51eb9ae
聯絡我們:SalesSupport@nuvoton.com
This video is going to show you our latest Low power ML51 series microcontroller. The ML51 platform features high performance and pin-to-pin compatibility with our 32-bit microcontrollers, such as M480, M031, and M261 series .
ML51 series supports up to 24MHz operation frequency, and 1.8V to 5.5V operating voltage, it provides four power modes: normal run mode, low power run mode, low power idle mode, and power down mode. In power down mode with multiple wake-up sources. The power consumption in low power idle mode is down to 13 μA and in power down mode it is less than 0.8 μA. When the clock runs at internal RC oscillator can also allow 9600 baud rate for UART communication. ADC supports up to 8 channels of 12-bit ADC, analog comparator and five levels of the internal reference voltage, ML51 provide two channels of PDMA, strong immunity like 8 kV ESD and 4.4 kV EFT.