A spirit level is an “an instrument designed to indicate whether a surface is horizontal (level) or vertical (plumb).” Here’s a demo by Shawon Shahryiar of an electronic spirit level made using a Microchip PIC16F684, a SCA610 accelerometer and a handful of other discrete components.
Shawon writes, “This project used a one-axis accelerometer chip and therefore, the alignment can be measured in only one direction at a time. However, the concept can be extended for simultaneous measurements of orientation in two dimensions by adding one more SCA610 sensor or just choosing a dual axis accelerometer (like ADXL202).”
Project details as well as the schematic and source code link can be found in Shawon’s article at Embedded-Lab.











![little-wire[1]](http://dangerousprototypes.com/wp-content/media/2011/12/little-wire1.jpg)






