I agree that a gyroscope would be a better alternative to an accelerometer, but the expense will be considerable. It sounds like the TS wants a solution on the cheap.Artificial Horizons are made to measure pitch and roll of a moving body. maybe something like this can be used. A discrete alternative would be an inertial measuring unit (integrated 3-axis gyroscope and accelerometer), something to interpret the data (i.e. Arduino) and a display.
That is the perfect option. Easy - you can simply get three panel meters and display the X/Y and Z voltage or you can run them though an op Amp transfer function to get the output in degrees if you wish (0 - 0.9V out as full scale read as 0-90 degrees). You can even adjust the panel meter scale instead ot read the full scale of the ADXL335. A microcontroller is not needed if you go with the 3 panel meter (or three volt meter) option.Looking for a solution to show the pitch and roll angles. The result should be presented on two LED displays and the precision about one deg. Found an accelerometer ADXL335 on Ebay. Possible to use this? Ideas, someone?
Kenneth
Actually that is not true. Accelerometers are in fact devices that sense gravity. Accelerometers measure acceleration, often caused by motion. But when they are standing still, the only acceleration the accelerometer senses is due to gravity pulling down on it.I have never used these components but I would think a gyroscope would be more advantageous here as it uses the Earth's gravity to determine orientation (great for pitch and roll at any speed) whereas an accelerometer measures non-gravitational acceleration. Used in combination though they can greatly increase accuracy under different conditions (stationary, accelerating, decelerating etc.).
This IMU is SM but fairly cheap, I'll keep looking for other packages.
Not sure if you replied to the right message here as you pretty much just repeated what I saidActually that is not true. Accelerometers are in fact devices that sense gravity. Accelerometers measure acceleration, often caused by motion. But when they are standing still, the only acceleration the accelerometer senses is due to gravity pulling down on it.
The accelerometer is really going to report a proper measurement when it is standing still. if it is shaken, moved, bumped, or in free fall, the acceleration the accelerometer measures is no longer purely gravity based, and you are going to see that in your readings. If you need a clean reading during movement, you need a gyro and an accelerometer working in combination. Together they form something called an IMU – Inertial Measurement Unit.
Bottom line is the ADXL335 is not the right tool for this application.
not true. The acceleration of gravity is always 9.81m/sec2 so that is what the chip measures in the z-axis when the x and y axis is parallel to the ground. If it is not parallel, then there will be an x and y component. Look at the apps available for iPhone and Android. You can use them directly on your phone to see how the various orientations map tilt. If you do the programming of the app, you can be sure the data comes from the accelerometer vs. gyro or compass or other on-board whiz-bangs each new model of phone adds. Nonetheless, an accelerometer does not need to be "accelerating" to show tilt.Not sure if you replied to the right message here as you pretty much just repeated what I saidAn accelerometer can tell you when something is tilting but once it's stopped tilting as far as the accelerometer is concerned the platform is level again.
not true. The acceleration of gravity is always 9.81m/sec2 so that is what the chip measures in the z-axis when the x and y axis is parallel to the ground. If it is not parallel, then there will be an x and y component. Look at the apps available for iPhone and Android. You can use them directly on your phone to see how the various orientations map tilt. If you do the programming of the app, you can be sure the data comes from the accelerometer vs. gyro or compass or other on-board whiz-bangs each new model of phone adds. Nonetheless, an accelerometer does not need to be "accelerating" to show tilt.
In theory at least, when the side of the Jeep is parallel to the surface of the Earth, you don't need an inclinometer. They work quite well for detecting over tilt situations.You are right my bad sorry I was a bit absolute there, but this does requires some workaround for instabilities due to conditions where accelerometers become insensitive to the Earth's gravitational field vector. I just think the humble gyroscope gets overlooked these days for these applications.![]()
If he exceeds the safe angle by too much, the smart phone will start oscillating between your warning and "you have returned to a safe tilt angle" until the vehicle reaches the bottom of the hill.If you have a smartphone, chances are it has accelerometers already, and there are lots of apps available to give you a graphic display. I have an Android phone and I installed a free app called ON Level, but I'm sure others would work just as well. So all you'd need to do would be mount the phone so it's level at a time when you're satisfied the vehicle is level (or install a mount that keeps the phone at the correct angle any time you set it down there) and you've got what you wanted. Maybe there's an app out there which can be set for some limit angle, so it might shout at you, Danger, danger, excessive vehicle tilt angle!"
You have that incorrect.I have never used these components but I would think a gyroscope would be more advantageous here as it uses the Earth's gravity to determine orientation (great for pitch and roll at any speed) whereas an accelerometer measures non-gravitational acceleration. Used in combination though they can greatly increase accuracy under different conditions (stationary, accelerating, decelerating etc.).