alan smith wrote: > Had someone ask me....about building an electronic level sensor. > Essentially he has 4 jacks and wants to read sensors on each jack > to determine if the table is level. > > So, what kind of sensor is used? He said accelormeter but from > what I know...it wont give you a X and Y will it? Alan: If you have an accelerometer mounted vertically, it'll "see" the full acceleration of gravity. With its sensing axis horizontal, it will see NO gravitational acceleration. Angles in-between give readings proportional to the sine of the angle. -Andy === Andrew Warren -- aiw@cypress.com === Principal Design Engineer === Cypress Semiconductor Corporation === (but open to offers) === === Opinions expressed above do not === necessarily represent those of === Cypress Semiconductor Corporation -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist