Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

How to switch 5V DC on or off using 115V AC?

Although a specific device would be nice, any ideas will be helpful. Thank you!

In the system shown in the link, when the 10 watt solenoid is activated, 115VAC is sent over the wire and the solenoid pulls approximately 100mA. The microcontroller can both output 5V DC and can input 5V DC. I need a device or configuration of some sort in the diagram where the "?" is so that when the solenoid turns on it can make a connection and switch on the 5V to the microcontroller. When the solenoid is off there should be no connection, so the 5V DC does not come back to the microcontroller. What sort of device or configuration can I use? I was thinking possibly another solenoid or a relay. The "?" part does not have to be in parallel, it can be in series. I also do not want to affect the function of the 10W solenoid. Any help or ideas will be appreciated. Thanks.

The diagram of what I'm talking about is here:

http://img18.imageshack.us/img18/7674/question2k.j...

3 Answers

Relevance
  • 1 decade ago
    Favorite Answer

    Or fit a microswitch, to be operated by the solenoid as well.

  • ?
    Lv 7
    1 decade ago

    Use one relay rated 115V a.c.coil voltage shall do the job. Take any set of Normal Open contacts to control the 5 volts.

  • 4 years ago

    placed a comparator on the enter, and then placed a P-channel FET or a relay on the output of the comparator. you will additionally choose some reference point that's guaranteed to be between your extreme and occasional.

Still have questions? Get your answers by asking now.