Greetings all,
Apologies if the post is long winded, but too often than not I see topics change direction because the OP did not provide all the relevant information up front. I know I find that frustrating when I'm reading through it, and would like to avoid that scenario.
TL;DR - I need a
SAFE circuit to detect the presence of 24VAC from a mains connected appliance and feed into an MCU.
I'm in the beginning stages of project with my son, and am looking for some sound advice. I've built numerous LV DC projects, but openly admit that my AC skills are limited to killing a breaker to replace a receptacle.
The problem:
Our washer & dryer are located 2 floors below our bedrooms, which leads to my son taking all day to complete 4 loads of laundry due to getting side tracked, not hearing the buzzer, throwing the dryer back on a wrinkle release cycle, not hearing the buzzer, throwing the dryer back on a wrinkle release cycle, ad infinitum...
The idea:
As we have yet to escape California, chaining him to the washer & dryer until his chores are finished is out of the question.
With this in mind, I was leaning towards some sort of wireless notification to alert him when certain events occur: 1 - the washer has completed its cycle (the washer always finishes first, so this will serve as an early warning), 2 - the dryer has signaled the end of its cycle (the dryer sounds off 1 minute prior to actually stopping the heat and tumble), and 3 - the 1 minute since the dryer signaled the end of its cycle has passed (you should have been headed down there already).
The solution (or part of it) to date:
I'm planning to use a couple of ESP8266s in direct communication for the project. I believe they can handle the comms and the little bit of processing required for the required results. I have the receiving end figured out: 1 - upon receiving signal
X, light a green LED, 2 - upon receiving signal
Y, light a red LED, 3 - 45 seconds after receiving signal
Y, produce a 50% duty cycle 2.5V PWM to sound a 2kHz buzzer. Throw in a button to stop the buzzer, reset the LEDs, and start monitoring again and we're good. For the sending side, I was thinking a simple voltage follower tapped off the washer's LED (or so I assumed...), and a trigger from the dryer's buzzer, could be used to signal the local ESP to send a message to the remote unit in his room. After hunting down service manuals for the washer and dryer, I was surprised to find that the LED is not an LED, but a 24VAC neon lamp. The dryer's manual does not list voltages, and I have yet to get into it with my meter, but I'm expecting it will be AC as well.
The roadblock:
I've searched here, as well as Google, for "AC detection circuit" with little success. Most of the threads I've found seem to devolve into forum combat between the "this can be done with $2 worth of passives and a diode" crowd, and the "you really need an opto, MOV, and X/Y caps" crowd. I am inclined to go with the latter, purely for the safety factor. We live within a National Forrest, in a stud frame home, with wood panel siding, in a state in perpetual drought, and fire is always a major concern. I have no issue with the project cost increasing by $20 to prevent the risk of fire, electrocution, etc. However, I do not have the knowledge or experience to determine what qualifies as safe in regards to 24VAC from a mains connected appliance.
The research:
I've taken a look at the datasheets for the H11AA1, and the HCPL-3700, as they were the most often referenced. I believe the H11AA1 to be adequate for the task, and much easier to implement than the HCPL-3700, but again, am not comfortable making that decision with my limited AC knowledge.
I welcome any input, suggestions, alternative solutions, or
constructive criticism you wish to share. I ask that you share the theory behind your input, and link to any relevant reading that will improve my understanding of the circuit, theory, etc. My son is currently undecided between mechanical or electrical engineering (he's got another year of math to finish before he needs to make up his mind), and I'm excited that he is interested in this project. Although I did see him start to nod off and drool a little while trying to make it through the 15 page app notes for the HCPL-3700...
thx,
BFJ