This document discusses microelectromechanical systems (MEMS) devices such as cantilever beams that can be used for sensing applications. It describes the governing equations of motion for cantilever beam oscillation and methods for analyzing beam frequency and damping. Experimental data on beam resonant frequency is shown for various beam lengths. Applications discussed include logic gates built using electrostatically actuated beams. Pull-in voltage is measured and hysteresis due to stiction is observed. In summary, the document analyzes the dynamics and operation of MEMS cantilever beams and their potential use in sensors and basic logic circuits.