3 ms·
I don't think he cares about accuracy of the result; all he needs is a binary on off. So you measure the output of the circuit with the TV off, make a note, me
by jrockway 15y ago
I don't think he cares about accuracy of the result; all he needs is a binary on off. So you measure the output of the circuit with the TV off, make a note, measure the output of the circuit with the TV on, make a note, and set the threshold (in software), somewhere in between. Then you know if the TV is off or not.
(I would personally have pasted a photocell onto the power LED, if I really needed to know the TV's state, but that's just me. My TV doesn't have a button for "power on", but it responds to a remote code for one.)