Create motion sensor