Arduino sketch for the Smart Rat Trap featured in Make magazine