A simple arduino sketch demonstrating using the Seeeduino arduino relay shield, but works with other relays too.