如何使用嵌入式C找到自由落体检测? [英] How to find Free-Fall Detection using Embedded C ?
本文介绍了如何使用嵌入式C找到自由落体检测?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在创建自动跌倒检测设备,其中两个传感器加速度计和陀螺仪用于分析身体位置的变化。
那么,如何找到免费 - 使用嵌入式C代码进行瀑布检测?
嵌入式C中是否有可用于自由落体检测的库?
或
传感器融合库是否可用于嵌入式C?
I am creating Automatic Fall Detection device, in which two sensors accelerometer and gyroscope are used to analyze changes in a body's position.
So, how to find Free-Fall Detection using Embedded C code?
Does any library available in Embedded C for Free-Fall detection?
OR
Does Sensor Fusion library available in Embedded C ?
推荐答案
取自此堆栈交换回答: http://arduino.stackexchange.com/questions/4223/enable -free-fall-detection-using-arduino [ ^ ]
将加速度计平放在长凳上将在3个轴中产生1G的值。
自由落体加速度计(假设你没有达到终端速度)应该在所有3个轴上读到接近零。
我不知道你可以为此设置的模式,但是如果你检查3轴的值并且都接近零,那么你可能处于自由落体状态。
Taken from this stack exchange answer: http://arduino.stackexchange.com/questions/4223/enable-free-fall-detection-using-arduino[^]
"Sitting an accelerometer flatly on a bench will produce a value of 1G in one of the 3 axes.
Free fall of an accelerometer (assuming you haven't reached terminal velocity) should read near zero on all 3 axes.
I am not aware of a mode you can set for this, but if you check the values of the 3 axes and all are close to zero, you are probably in a free fall condition."
我认为谷歌的效率远高于此处的要求。
请仔细选择加速度计,因为并非所有加速度计都有用。
请看:
http://cache.freescale.com/files/sensors/doc/app_note/AN3151.pdf [ ^ ]
http://www.analog.com/library/analogdialogue/archives /43-07/fall_detector.html [ ^ ]
http://electronics.stackexchange.com/questions/83093/fall-detection-using-accelerometer [ ^ ]
您问嵌入式C中是否提供传感器融合库?
这是什么意思?没有通用的嵌入式库这样的东西。你在用什么处理器?
I think Google will be far more productive than asking here.
Choose your accelerometer carefully as not all are useful for this purpose.
Look at:
http://cache.freescale.com/files/sensors/doc/app_note/AN3151.pdf[^]
http://www.analog.com/library/analogdialogue/archives/43-07/fall_detector.html[^]
http://electronics.stackexchange.com/questions/83093/fall-detection-using-accelerometer[^]
You ask "Does Sensor Fusion library available in Embedded C ?"
What does that mean? There is no such thing as a generic "embedded" library. What processor are you using?
这篇关于如何使用嵌入式C找到自由落体检测?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文