The OP
Published on 2018-11-2 11:24
Only look at the author
This post is from MEMS sensors
Latest reply
There is long-term drift in the angle calculated by the gyroscope. It is recommended to use a magnetometer, or use a magnetometer in conjunction with a gyroscope. If you just want to determine whether the door is open, you can do it by judging the size of the angular velocity. When the door is not open, the angular velocity is close to 0. When the door is open, the angular velocity will increase. Because it is not an absolute data, if the door is opened slowly enough, it will not be detected.
Details
Published on 2018-12-29 15:21
| ||
|
||
littleshrimp
Currently offline
|
2
Published on 2018-11-2 17:11
Only look at the author
|
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
|
|
|
This post is from MEMS sensors
Comments
Take a look at this post, there is a complete project https://en.eeworld.com/bbs/forum.php?mod=viewthread&tid=649230&highlight=LSM6DSl
Details
Published on 2018-11-2 17:39
| ||
|
||
|
This post is from MEMS sensors
| ||
|
||
|
littleshrimp
Currently offline
|
5
Published on 2018-11-2 17:39
Only look at the author
This post is from MEMS sensors
| |
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
|
||
|
littleshrimp
Currently offline
|
7
Published on 2018-11-4 13:44
Only look at the author
This post is from MEMS sensors
| |
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
|
||
|
This post is from MEMS sensors
| ||
|
||
|
This post is from MEMS sensors
| ||
|
||
|
This post is from MEMS sensors
Comments
It should be possible. When the gyroscope is working, the current will be larger. Battery power supply needs attention. In addition, the gyroscope calculates the door opening angle as a relative angle, which can be used with acceleration to determine the door closing detection. Another method is to use a magnetometer, which is equivalent to placing a compass on the door. There is a fixed magnetic field around it, which can be infected through calibration.
Details
Published on 2018-11-25 07:56
| ||
|
||
|
littleshrimp
Currently offline
|
This post is from MEMS sensors
Comments | |
|
||
|
This post is from MEMS sensors
Comments
Normally you need to keep receiving data and then analyze the door opening angle. LSM6DS3 has a 4D or 6D threshold trigger interrupt function, which may not meet your requirements. [attachimg]388998[/attachimg] [attachimg]388999[/attachimg]
Details
Published on 2018-11-26 11:48
| ||
|
||
|
littleshrimp
Currently offline
|
13
Published on 2018-11-26 11:48
Only look at the author
This post is from MEMS sensors
| |
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
|
||
|
This post is from MEMS sensors
| ||
|
||
|
15
Published on 2018-12-27 14:20
Only look at the author
This post is from MEMS sensors
Comments
The angle calculated by the gyroscope has long-term drift. It is recommended to use a magnetometer, or use a magnetometer in conjunction with a gyroscope. If you just want to determine whether the door is open, you can do so by determining the magnitude of the angular velocity. When the door is not open, the angular velocity is close to 0. When the door is open, the angular velocity will increase. Because it is not absolute data,
Details
Published on 2018-12-29 15:21
| ||
|
||
|
littleshrimp
Currently offline
|
16
Published on 2018-12-29 15:21
Only look at the author
This post is from MEMS sensors
| |
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
|
||
|
EEWorld Datasheet Technical Support
EEWorld
subscription
account
EEWorld
service
account
Automotive
development
circle
About Us Customer Service Contact Information Datasheet Sitemap LatestNews
Room 1530, Zhongguancun MOOC Times Building, Block B, 18 Zhongguancun Street, Haidian District, Beijing 100190, China Tel:(010)82350740 Postcode:100190