Ok, this is a post in preparation for my current project. It will be a while before I post that project, but I thought I would knock this out first, then reference this thread later.
My next project will have a rotating monitor, so I thought I would try a different approach to turn off the monitor while it is rotating.
I used a relay to do that in my last project, but I wanted to try something different this time.
So i am playing around with a SSR (solid state relay).
I am using the Sharp S108T01 available from
Digikey.Data Sheetit has 4 leads, two for AC (less than 8 amps), and two for a 5 volt DC signal. (You MUST include a resistor in line with the 5 VDC. I used a 1000 ohm and it seems to work good, but for final product I will use a 600 ohm.)
I ordered two of these.
The first one I soldered two wires for the 5VDC pins and a lamp cord on the two AC pins.
Here is a pic.
This seemed to work great in my first tests, but after reading up on the datasheet, they recommend you use a snubber across the AC pins. So I made a snubber for the second one, and thats the one Im using now.
The datasheet calls for a .022 UF in series with a 47 ohm resistor. The closest I had was a .047 UF in my junk box so I used that. The capacitor needs to be rated for high voltage. I used one rated for 100 volts, but it probably needs to be higher than the AC voltage you are using. But I thought I would give it a try, since thats all I had laying around.
So far it seems to be working OK.
Next i made a trip to Lowes and picked up a Switched Plug, a metal "handy box" and a duplex cover:
The switched plug is a duplex device that has one outlet, one switch, and a small indicating light.
The switch controls the power to the outlet. I am using this switch for a bypass, just in case the SSR fails.
This device has a jumper between two black screws:
I removed this jumper and installed another one between one of the black screws and the bronze screw:
Why do this? Well, the indicator light on the front of the switch is connected to the neutral and the bronze screw, so with the metal factory jumper in, the light stays on even when the switch is off. I didnt like this, since I wanted to have a true indicator of power on to the outlet. Moving the jumper around like I did accomplishes this.
Next I wired the other SSR, and my snubber into the device: (Excuse blurred pic).
Last picture is kinda busy, but I tried to cover the resistor with heat shrink, then I insulated the back of the device with electrical tape (rated at 600 Volts).
I then attached the cord and ran it and the wires for the 5VDC through a romex connector in the handy box.
I then installed the device in the box, and put on the duplex cover.
I have more pictures if anyone is interested.
Here it is being tested with a "wall wart" plugged in.
I am currently testing it with a house fan plugged in. It has been running for an hour with no problems. 5 volt DC power supply on, fan is on, 5 volt power supply off, fan is off.
Flip switch on, fan is on, regardless of 5 volts.
Here is a pretty rough but quick drawing I made. I forgot to put in the snubber on this drawing, but it's just a capacitor and a resistor, wired in series and across the AC pins on the SSR. (I can post a better drawing if needed.)
Im debating as to whether or not this is really needed.
This little device could have several uses in our hobby. Add a 600 ohm resistor to one of the 5VDC pins on the SSR and it could be controlled by a USB port. (control everything else when PC turns on or off.)
Im going to use this setup to turn off the monitor while it is rotating, so thats why Im locating the said resistor out of the box. I will get into this when I post on my rotating project.
You could also use a regular duplex outlet, one of the outlets could be on all the time (plug PC in), and the other switched by the SSR.