This is what it says on the top of them:
Red: Nothing
Black:
And this is under the relay:
Red: Nothing
Black: there are the pins named by these numbers: 1, 4, 6, 8, 9, 11, 13, 16
I'm a beginner at electronics, but I have worked with Infrared and 4093, 4030 and those normal ones.
I don't really know if these actually are relays, but if they are, could someone help me to use them? and connect them to the arduino and maybe use the ReadAnalogVoltage example provided by the Arduino IDE to read the voltage output from the relay?
connect them to the arduino and maybe use the ReadAnalogVoltage example provided by the Arduino IDE to read the voltage output from the relay?
That says to me that you do not know what a relay is.
You do not read anything from it. A relay is an output only device.
It is an electromechanical switch. You provide voltage to the coil and it will switch over a set of contacts, thus allowing you to switch a much bigger current and voltage that the arduino can do alone. It also provides isolation between what you are switching and the arduino.
You need to drive it with a transistor because the arduino can not supply enough current to drive most relays and there needs to be a diode across the coil.
Grumpy_Mike:
That says to me that you do not know what a relay is.
You do not read anything from it. A relay is an output only device.
It is an electromechanical switch. You provide voltage to the coil and it will switch over a set of contacts, thus allowing you to switch a much bigger current and voltage that the arduino can do alone. It also provides isolation between what you are switching and the arduino.
You need to drive it with a transistor because the arduino can not supply enough current to drive most relays and there needs to be a diode across the coil.
Alright, thanks, but if I have some kind of a motor that needs 12volt and the arduino only gives 5volt, isn't a relay what i need to power up the motor?