张高兴的 Windows 10 IoT 开发笔记:红外温度传感器 MLX90614
本文约 128 字,包含 1 张图片,3 个代码段,阅读时间约 1 分钟
在手机上查看此页面
This is a Windows 10 IoT Core project on the Raspberry Pi 2/3, coded by C#.
GitHub : https://github.com/ZhangGaoxing/windows-iot-demo/tree/master/MLX90614
Connect
- SDA - Pin3
- SCL - Pin5
- VCC - 5V
- GND - GND
Reference
Files and datasheet -> https://github.com/ZhangGaoxing/windows-iot-demo/tree/master/MLX90614/Reference
Screenshot
How to Use
- First, you need to create a MLX90614 object. After that you should call InitializeAsync() to initialize.
MLX90614 sensor = new MLX90614();
await sensor.InitializeAsync();
- Second, Read().
MLX90614Data data = sensor.Read();
- If you want to close the sensor, call Dispose().
sensor.Dispose();