|
OK you are not connecting immediately to a relay. The Relay board you have has opto coupling to the relay. To energise the relay the boards Inp needs to be switched to ground, which the controller will do. I apologise for being pedantic but I would suggest that you do not use the term -5v but preferably 0v. -5v is a voltage 5volts negative to 0v. That is not what you have.
Given your relay board the connections are > PSU 5v connect to VCC and PSU 0v connect to GND. This supplies the 5v for the operation of the relay. Now In1 or 2 connects to the M3/M5 terminal and Controller GND connects to GND. THIS IS NOT WHAT YOU HAVE. It is working but it is incorrect and you should change it. |
|