Basic Motions sensors with an Arduino microcontroller