connecting a DPDT to Arduino

Hello
I have this DPDT
DS2E-M-DC12V
can someone explain to me how to I connect it to the Arduino?
I have pins : 1,4,6,8,9,11,13,16
so depend on the status of Arduino pin 3 (LOW\HIGH) - it will transfer data out
I have 2 inputs and 1 output I want to connect

Thanks,

This a 12v relay. data

So it will need 12v to one side of the coil and an NPN Tr, or, a logic level MOSFET to gnd on the other. Also a base R of a couple of thousand ohms.

Choose any output pin and use it to switch the Tr/relay on.

Weedpharma

O.k.
but can you show me in a sketch what to connect to where?

where do I connect the 2 input and where the 2 output ?

Thanks,

Never mind
I just understand how it's work
Thanks anyway

I didn't know I have 2 output and 4input

it will be mush smarter to write COM1,NO1,NC1 , and COM2,NO2,NC2