2092 views|2 replies

1w

Posts

25

Resources
The OP
 

MakeCode driver for the magnetic field sensor LIS2MDL [Copy link]

 

Demo program : https://makecode.microbit.org/_X1qKJtVXWeJrExtension
URL : https://github.com/makecode-extensions/LIS2MDLThis content is originally created by dcexpert


, a user of EEWORLD forum. If you want to reprint or use it for commercial purposes, you must obtain the author's consent and indicate the source

This post is from MEMS sensors
 
 

1w

Posts

25

Resources
2
 

Magnetic field detection, following the method in MakeCode, encapsulate the sensor data into a function and detect it through parameters

This post is from MEMS sensors
 
 
 

1w

Posts

25

Resources
3
 

The magnetic field data read from the register is not the actual magnetic field strength, and needs to be converted to the actual value. According to the method in Table 3 in the data sheet, the magnetic field strength (mG) can be calculated and finally converted to uT.

This post is from MEMS sensors
 
 
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list