I'm working on a fog machine controller and I took apart my fog machine's remote.
I already have a relay installed to switch it on/off, but I would like to be able to tell if the fog machine is heated or not.
The remote has/had a status indicator light, which has 230VAC going through when the fog machine is heating and 10VAC when it's heated.
What's the easiest way to determine this huge voltage drop with an Arduino?
I want to replace the indicator light with a normal LED. (With the LED connected to the Arduino, of course).
I don't want to light the LED directly, because I want to be able to detect the status (heated/heating) with software. Is that also possible with an opto-isolator?
Yes you do. The LED is inside the opto isolator you need to light it up in order to detect the signal on the arduino. You do not see this LED but the circuit needs to light it up.
Oh you mean the LED inside the Opto-isolator... I thought you meant a separate one.
I was looking at the PC817 opto-isolator/optocoupler, but I'm not entirely sure how it would be connected. Would you be willing to help me out? I bet you have a lot more experience than me and I don't want to damage anything (or hurt myself) because I'm dealing with high voltage.