Bild hier  

...und vor "Port" (12v/0V) noch ein Vorwiderstand für 6V/20mA, ca. 330Ohm