I am using a HK19F relay in a simple wiring circuit. Pin 2 is connected to the Arduino is coded so that it goes to 5V/GND and switches the transistor on and off.
However, when I bring pin 2 to 5V, the relay doesn't click and it doesn't seem to be on.
Could anyone take a look at my wiring and suggest what might be wrong? [The resistor in the circuit is 1k ohms]
Ok. Anyway, I wouldn't drive a relay with any Arduino power output because it can't give the required current.
Power the relay directly from the adaptor you use for Arduino if using a 5V relay, or you need another power adapter or add a step-down.
The cathode of the diode and the wire connecting to 3.3V are supposed to be in the same row as pin 1 [the small green wire at the top is only because I couldn't resize the diode.]