3658 views|9 replies

9721

Posts

24

Resources
The OP
 

BlueNRG-1+LSM303C for single door magnetic alarm test [Copy link]

 
The sensor is installed in the direction shown in the figure below. The Z axis is perpendicular to the door. The direction angle is calculated using the Y and Z axes.
  1. angle = atan2((double)data.i16bit[1], (double)data.i16bit[2]) * (180 / 3.14159265) + 180;
复制代码
BlueNRG-1 and the sensor are connected using I2C. The sensor is connected to the DIO11 pin of BlueNRG-1 through DRDY_MAG. DIO11 is used to generate a high level after the sensor data is ready to wake up the processor to read the data. Install the sensor on the door. Close the door and press the PUSH1 button for a while. The program reads the current angle and saves it. The yellow light is on when the direction is set, and the yellow light goes out after setting. According to the sensor ODR (set to 1.25Hz), the current angle is repeatedly read and compared with the saved angle. When the difference is greater than the specified threshold, the red light is on to indicate that the door is open. During the test, the sensor Bluetooth broadcasts data in real time. The mobile phone receives and displays the data. Blue is the current direction angle of the sensor. Green is the door opening angle. Pink is the alarm. 0 means no alarm and 50 means alarm. BlueNRG-1 LSM303C单体门磁报警器测试.rar (3.4 MB, downloads: 39)
This post is from ST - Low Power RF

Latest reply

Yes, isn't your post also about LSM303C? That's what the title says. It seems that ST has discontinued this product. It's embarrassing that I can only find the data sheet online.   Details Published on 2020-4-5 16:42
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
 
 

17

Posts

0

Resources
2
 
Can you please leave me your phone number? I need your help.
This post is from ST - Low Power RF

Comments

185244 paint 113 wine  Details Published on 2018-4-8 12:09
 
 
 

9721

Posts

24

Resources
3
 
Ailanshan Intelligence published on 2018-4-8 09:38 Can you please leave me your phone number? I need your help.
185244 paint 113 wine
This post is from ST - Low Power RF
 
 
 

17

Posts

0

Resources
4
 
QQ has
This post is from ST - Low Power RF
 
 
 

3

Posts

0

Resources
5
 

Does anyone know the working principle of this LSM303C? The instruction document does not explain it at all. Is it an AMR magnetoresistive sensor?

This post is from ST - Low Power RF

Comments

You can read this article https://bbs.eeworld.com.cn/thread-506257-1-1.html  Details Published on 2020-4-5 13:53
 
 
 

9721

Posts

24

Resources
6
 
yuandan779 Published on 2020-4-5 12:04 Does anyone know the working principle of this LSM303C? The manual does not explain it at all. Is it an AMR magnetoresistive sensor?

You can read this article

https://bbs.eeworld.com.cn/thread-506257-1-1.html

This post is from ST - Low Power RF
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
 
 
 

3

Posts

0

Resources
7
 
littleshrimp posted on 2020-4-5 13:53 You can read this article https://bbs.eeworld.com.cn/thread-506257-1-1.html

Hi, I have read this article, but it talks about LSM303DLH. I don't understand whether the difference in the names of the two only means that they are the same. Is LSM303C the same as it, and does it work in the same way?

This post is from ST - Low Power RF

Comments

The principles should be the same, but the parameters and packages may be different. I can't find the corresponding product information for the LSM303C you mentioned. Are you sure the model is LSM303C?  Details Published on 2020-4-5 16:33
 
 
 

9721

Posts

24

Resources
8
 
yuandan779 posted on 2020-4-5 16:25 Hi, I have read this article, but it talks about LSM303DLH. I don’t understand whether the difference in the names of the two products only lies in the letters after the numbers.

The principles should be the same, but the parameters and packages may be different. I can't find the corresponding product information for the LSM303C you mentioned. Are you sure the model is LSM303C?

This post is from ST - Low Power RF
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
 
 
 

3

Posts

0

Resources
9
 
littleshrimp posted on 2020-4-5 16:33 The principle should be the same, the parameters and packaging may be different. I can't find the corresponding product information for the LSM303C you mentioned. Can you confirm that the model is LSM ...

Yes, isn't your post also about LSM303C? That's what the title says. It seems that ST has discontinued this product. It's embarrassing that I can only find the data sheet online.

This post is from ST - Low Power RF

Comments

It's quite embarrassing to ask. I didn't even find the data sheet just now.  Details Published on 2020-4-5 21:24
 
 
 

9721

Posts

24

Resources
10
 
yuandan779 posted on 2020-4-5 16:42
Yes, didn’t you also use LSM303C in this post? That’s what the title says. It seems that ST has stopped production of this product. It’s embarrassing. I can only find it online...


It's quite embarrassing that I couldn't even find the data sheet just now

This post is from ST - Low Power RF
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

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