how to make motion sensor automatic light without arduino