H48C Data logger on the propeller - how fast can the H48C be sampled?
OakGraphics
Posts: 202
Hello - I am looking at making an accelerometer data logger with the prop - something that could show when I exceeted say 2 g on any direction, and flag an alarm, or show me graphically, or send out the real-time values out via usb· / rs282 so I can monitor it on a pc.· But my question is how fast could the h48C be sampled accurately from the propeller?· I have read posts of the bs2 doing maybe 4 samples a second - which is way too slow for the application I was looking for.· I would hope for· 100 x that, and would be happy if it could do 1000x faster then that.· Any hope of these type of samples per second?·· If not with this device (H48C) - any suggestions on what I could use?
Comments
According to the datasheet,· the H48C is limited to 200 samples per second. Reference: http://www.parallax.com/dl/docs/prod/acc/HitachiH48C3AxisAccelerometer.pdf
There is no reason preventing the Propeller from being able to meet that requirement.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
I was doing some searching, and noticed sparkfun had a 5 dof sensor that might do the trick for my application:
http://www.sparkfun.com/commerce/product_info.php?products_id=741
It also does the 3g of detection, but could be sampled faster (500/second), as well as giving 2 rotation axis.·
I am also wondering if I need to detect higher levels of g-force as well.·· I guess the question is what can a human withstand in shock in g-force?·· I would like to make a sensor that detects when possible harmful levels of g-force shock is done.
·
They had a guy withstand 35 Gs when strapped in securely to this rocket sled! So I guess you need to redesign your sensor!
http://www.improbable.com/airchives/paperair/volume9/v9i5/murphy/murphy1.html
Anyway,·when a very quick impulse hits your body (less than a second or so), it pretty much passes through the body unaffected.· This is because according to F=MA or Force = Mass x Acceleration, the time needed for a Force to cause a change in speed is inversely proportional to and multipled by the Mass that force is affecting.· This is the property called inertia or an object's tendency to stay at the speed an directly of travel it is currently at.·· Or stated another way, the impulse of a very quick change in acceleration is more of a shock wave then an accelerating force for objects with appreciable mass. Bascially, if the force lasts for 1/1000 of a second it has very little appreciable effect on most things.· It's more of a sub-sonic vibration·with such a small impulse. ·Only things with very very tiny mass are affected by such accelerations as far as can be measured by most devices.
For what it's worth, at the sensor's maximum acceleration of 3g's, you are· going to have a hard time even standing up.· I don't think you'll need the sensor to tell you something's wrong at that point.·
Post Edited (mcstar) : 9/25/2007 3:32:47 PM GMT