The circuit shown in the figure can be used as an indicator of presence and high voltage in a power line of any type. The operation can be done either from continuous or alternating voltages, whose value determines the resistor Rs, according to the following table. Output is TTL compatible.
Datasheet of (Vds ou Vacrms)|Rs|V + If (mW)
Datasheet of 30|470 k ohms|113
