Equipment suggestions to build device that

I can also use a 0-5v input signal, still needs Opto isolation

When you post a block diagram or schematic we can talk about that.