I'm working on a project with a raspberry pi involving some sensor and a relay.
Actually I'm Using a board like this one:
So I connect GND,5V, and a GPIO to the IN pin to control the relay state: ON/OFF.
Now I'm starting to move from the prototype stage..
I'm working on create the PCB, and I'm wondering if I can drive the Relay, with a "naked" version like this:
-
is it possible? Why all the other components are required on the board, figure 1? resistor, transistor etc..
-
I'm expecting to connect:
- D to the source and one between A or B to the destination
- C to GND
- E to a GPIO ..correct?
-
Maybe I'm using "rocket to kill an ant".. I'm using the relay for control a low voltage (between 12V and 24V DC)..is there any more appropriate component or integrated circuit that you can propose?
Best Answer