A tilt sensor capable of sensing tilt in multiple directions includes a backplane, a base, a cover, and a moving component. The invention also provides an adaptive learning system comprising one or more of the neural network modules of the invention. Another embodiment includes a plurality of latching extensions that engage an opposing latching housing, along with biased locking buttons for selectively locking the mechanism. The internal control signal is enabled during a read operation or disabled during a write operation.