Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to realize the MakeCode extension of X-NUCLEO-IKS01A3 Sensor Board

2025-02-20 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

How to achieve the X-NUCLEO-IKS01A3 sensor board MakeCode expansion, I believe that many inexperienced people do not know what to do, so this paper summarizes the causes of the problem and solutions, through this article I hope you can solve this problem.

This time, we will introduce the method of graphical programming by using X-NUCLEO-IKS01A3 sensor board in MakeCode.

First of all, you need to connect the microbit to the X-NUCLEO-IKS01A3 sensor board, only need to connect 3V, GND, SDA, SCL four wires. Because the power consumption of the X-NUCLEO-IKS01A3 sensor board is very low, it can be powered directly by the 3V of microbit.

Then add the relevant sensor extension to MakeCode, and you can program and read the data graphically (when adding the extension, paste the URL of the sensor extension into the search bar, then search, and finally click the sensor icon to add the sensor extension). Once added, the function of the sensor can be programmed by drag-and-drop using programming building blocks.

The following picture is the demonstration program of the gyro LSM6DSO sensor extension. After adding the sensor, send all the sensor data (3 acceleration data and 3 angular velocity data) to the serial port, and you can view the data value and the data curve in the MakeCode display console. It surpasses Arduino in terms of ease of use, download speed, aesthetic interface and data visualization.

The use and data Curve of LPS22 Air pressure Sensor

After reading the above, have you mastered how to implement the MakeCode extension of the X-NUCLEO-IKS01A3 sensor board? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report