Using the Relay: circuitry and duty cylce questions
Posted: Thu Oct 10, 2019 2:31 pm
I am trying to use the 4x Isolated Solid State Relay Phidget to control a device. But I have a few questions about the relay
1) I can use the relay to control the connection between the ground and the device. However, controlling the connection between the device and vcc does not seem to work.
Hooking up the relay as follows does not seem to work.
[+]---[relay]---[device]---[-]
But this does work:
[+]---[device]---[relay]---[-]
Why is this? Is there something in the relay that prevents it from switching the connection to the positive terminal?
2) I am trying to use the setDutyCycle() function. However, calling this function does not seem to result in the desired effect. If I hook up my oscilloscope's terminals as follows, I expect to see a block wave. But I don't see any variation in the signal when calling setDutyCycle(). I can toggle the relay using the SetState() function, though.
[+]---[terminal1] [terminal2]---[relay]---[-]
Any ideas about what I am doing wrong? Or does anybody have some python code showing how to use the setDutyCycle() function
1) I can use the relay to control the connection between the ground and the device. However, controlling the connection between the device and vcc does not seem to work.
Hooking up the relay as follows does not seem to work.
[+]---[relay]---[device]---[-]
But this does work:
[+]---[device]---[relay]---[-]
Why is this? Is there something in the relay that prevents it from switching the connection to the positive terminal?
2) I am trying to use the setDutyCycle() function. However, calling this function does not seem to result in the desired effect. If I hook up my oscilloscope's terminals as follows, I expect to see a block wave. But I don't see any variation in the signal when calling setDutyCycle(). I can toggle the relay using the SetState() function, though.
[+]---[terminal1] [terminal2]---[relay]---[-]
Any ideas about what I am doing wrong? Or does anybody have some python code showing how to use the setDutyCycle() function