Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Possibly, but it depends on what you are trying to do.
1) I assume that power to your PC is AC. A standard transistor won't work for AC. You could use a Triac though.
2) Neither a transistor nor a Triac will give you isolation. A relay does give you galvanic isolation between the coil and the contacts. But you could achieve that by using an opto coupler t drive the Triac.
Is there a specific reason you don't want to use a relay?
I suggest using a solid state relay then. Which is an opto coupler and a triac in a single module.
They are expensive
Alright so this:
Updated the image in my previous post to reflect the changes suggested.