http://www.edcheung.com/automa/wiring.jpg