I'm working on a project that involves an Arduino Uno and some external electronics. I have a 12 V power supply that will connect to an outlet, and I want to be able to control this power using a relay connected to the Arduino (i.e. the Arduino will control the voltage that turns the switch on or off).
Though I understand it theoretically, I have no idea what I'm actually looking for. I was hoping someone here could point me in the right direction. All my searching has brought me to larger components. I was hoping I could find something that would fit on a typical breadboard. Do relays like this exist? Or is there another, easier method of doing what I'm trying to do?
EDIT: I went to RadioShack and tried to pick out things that fit the descriptions you guys described. Here's what I got:
Relay: http://www.radioshack.com/product/index.jsp?productId=2062480
Diode: http://www.radioshack.com/product/index.jsp?productId=2036270
Transistor: http://www.radioshack.com/product/index.jsp?productId=2062610
I also picked up some 1.5k Ohm and 1k Ohm resistors.
Will these work with the circuit diagram below?