The Level Sensor
Home Up The Level Sensor The Level 'Project' Accuracy Issues Software

 

LevelElement2.jpg (17552 bytes) This is a carpenters' String Level' available in many hardware stores for $3.00.  When level, the bubble will be between the two witness marks.
The light sensor is one of HiTechnic Products* EOPD units (ED2010), which resembles a standard LEGO light sensor, is assembled as shown on the right.  I have tried using a  LEGO unit without success.

*With a big thank-you to John Barnes

DSCN0947.jpg (30208 bytes)

DSCN0945.jpg (39599 bytes)

The string hanger holes seem to fit the yellow component nicely, allowing the spirit level to become part of the assembly.
And now the final assembly.  Note that the it pivots to place the spirit level on top of the light sensor.

DSCN0745.jpg (41580 bytes)

DSCN0951.jpg (50026 bytes)

What you see on the left are the XY axes with the spirit-level and light sensors locked securely to them (look for the green blocks).  Pivoting in the XZ plane will be detected by the level on the Y axis and pivoting in the YZ plane will be detected by the level on the X axis.
On the right see the XZ plot in red and the YZ plot in blue, taken at 1 second intervals.  When the edge of the bubble passes the light detector there is a difference of at least 15 light units.

We now have a LEGO Level Sensor to use in the project!!

BubblePlot1.jpg (34616 bytes)

And, on to the project...!!