Arduino Micro-based programmable relay switch with voltage sensing