USB-IRPC: Upgrade Socket Module

    The last time in the comments received sensible proposal to put together solid state relays ordinary electro.
    What I actually did.
    A week ago, the SSR-25 DA relays themselves arrived:

    They are controlled by a voltage of 3 to 32V. Commutated load up to 25A from 24V to 380V. Exactly what is needed.
    Silent, there is a large red LED on the case that lights up when the circuit is closed.

    I took off the old unit, fixed two solid-state relays in its place, connected the power part in the same way as to ordinary relays, and the control signals are given simply - the ground is common, it is connected to the terminal “-”, and to the terminal “+” the wire from the foot of the microcontroller . The current consumption is only about 8.2 mA according to my measurements, so there is no significant load for the MK relay.
    He made contacts to the relay through the contact pad, so that it would be more convenient to change if: “ USB-IRPC SS Relays Module v2 ” Black - ground, yellow and green - relay control signals.
    USB-IRPC SS Relays Module v2


    +5 is fed through the white wire, but it is not used, since the relays do not require separate power. In principle, this allows three relays / sockets to be controlled via the same 4-wire cable. It is only necessary to bring one more leg with MK to the cable.
    After checking the connection, be sure to isolate the contacts. Be careful, check and double-check the power unit!
    My relays arrived without plastic covers, so I had to isolate it like this: “ USB-IRPC SS Relays Module v2 ” It is even better to put it in a hard case.
    USB-IRPC SS Relays Module v2



    Benefits


    • Solid-state relay life is significantly higher
    • Silent switching
    • Lower consumption
    • No additional power is needed, which means that 4, but not 2, relays can be controlled via 4 wires.
    • More reliable - because of interference from mechanical relays, sometimes the device itself was buggy when one of the relays was disconnected.

    The cost of such a relay is $ 3.79 along with delivery.
    I immediately bought 5 pieces in reserve.

    Code Changes


    Since the relay is controlled by direct logic - 1 is on, 0 is off, and not reverse, like electromechanical ones, I changed the display in the relay status program to the opposite.
    The changes are primitive, but if anyone needs to, write in the comments - I will post a new version of the program for the PC.

    Also popular now: