NuMaker-IoT-M487 (7) Control Temperature sensor on Mbed OS
- NuMicro MA35D0 Series Introduction
- Introduction to NUC980 IIoT Evaluation Board “NuMaker-IIoT-NUC980G2D/G1D”
- Introduction to NUC980 IIoT Evaluation Board NuMaker-IIoT-NUC980G2/G1
- Embedded World 2022 NUC980 - Edge Devices management
- 【Webinar Playback】【Nuvoton x AWS webinar】Ensure the End-to-End Security with AWS IoT Services
- How to build an AIoT device for Smart Manufacturing
- Nuvoton All-in-One IIoT Platform Solution Introduction
- Nuvoton NuMaker-IIoT-NUC980 (5) – Connect to AWS
- Nuvoton NuMaker-IIoT-NUC980 (4) – Use LTE and NB-IoT
- Nuvoton NuMaker-IIoT-NUC980 (3) – Use Ethernet
- NuMaker-IoT-M487 (11) Connect to Azure IoT Hub service
- Nuvoton NuMaker-IIoT-NUC980 (2) – Control GPIO
- Nuvoton NuMaker-IIoT-NUC980 (1) – Install Development Environment
- IoT Webinar: Nuvoton IoT Platform speeds up Developments for AWS, Azure, and other Clouds
- NuMaker-IoT-M487 (10) Connect to AWS IoT service
- Chili board – Complete Ethernet and webserver, USB camera, and NFS functions within 5 mins
- Nuvoton Chili board with Linux OS, featured in it's compact size, rapid in development
- NuMaker-IoT-M487 (9) Record and Play audio on Mbed OS
- NuMaker-IoT-M487 (8) Use SD Card on Mbed OS
- NuMaker-IoT-M487 (7) Control Temperature sensor on Mbed OS
- NuMaker-IoT-M487 (6) Use Ethernet
- NuMaker-IoT-M487 (5) Connect to Pelion Device Management on Mbed OS
- NuMaker-IoT-M487 (4) Use NB-IoT or 4G LTE on Mbed OS
- NuMaker-IoT-M487 (3) Use Wi-Fi on Mbed OS
- NuMaker-IoT-M487 (2) Control LED and Buttons on Mbed OS
- NuMaker-IoT-M487 (1) Get Started with Mbed OS
- Connecting to Multi-Cloud on NuMaker IoT Platform
- Nuvoton NUC980 Microprocessor – Industrial IoT Gateway
- The IoT Webinar co-hosted by Arm and Nuvoton
- Nuvoton Industrial IoT Processor – NUC980 Series
Introduction
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