beginner help

hello
i brought this relay( Pololu Basic SPDT Relay Carrier with 12VDC Relay (Assembled) ) for my arduino but i can"t figure out what pins need to be connected and how would i add a 9v battery in the circut.

sorry if this question frustrated or annoyed because of the simplicity.

thank you

jimmy

The connections seem to be shown very clearly on the product web page that you linked to. I don't understand what your question is about.

Perhaps if you described how you are thinking of connecting things I could understand what is confusing you.

PP3 9v batteries contain very little energy and are usually a bad idea as they run out very quickly. Also their peak current output is poor. They are quite unsuitable for powering an Arduino, especially if they are also expected to power something else.

...R

The datasheet you referrenced doesn't show the current rating of the coil. I suspect that you'll need a separate 12V supply for the relay as the Arduino pins cannot supply enough voltage or current. Connect your arduino ground to the module's input pin 1 and your arduino output pin to the module's input pin 3. Connect the 12V ground to the module's input pin 1 and 12V +ve to the module's input pin 2.
That should get the relay switching on when you output a HIGH to the arduino's output pin.