• Mains voltage logger

    From David@21:1/5 to All on Sun Jan 26 15:54:52 2025
    From time to time (once or twice a day on average?) I see the lights
    flicker.

    It has been more pronounced today, but high winds may be making the supply
    a bit more glitchy (although we aren't using any overhead wires as far as
    I know).

    This made me wonder if I could monitor and log the mains voltage over a
    day.
    I assume the sampling rate would have to be high to catch momentary
    glitches, or a trigger which logs when the voltage strays outside a set
    range.

    Internet search has so far not helped much.

    Has anyone done something like this?

    Cheers



    Dave R

    --
    AMD FX-6300 in GA-990X-Gaming SLI-CF running Windows 10 x64

    --
    This email has been checked for viruses by Avast antivirus software. www.avast.com

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andy Burns@21:1/5 to David on Sun Jan 26 16:13:12 2025
    David wrote:

    This made me wonder if I could monitor and log the mains voltage over a
    day.
    I assume the sampling rate would have to be high to catch momentary
    glitches, or a trigger which logs when the voltage strays outside a set range.

    I've got a Seaward mains disturbance recorder, it can count transients,
    and give a yes/no for any dropouts longer than 1/2 a cycle or 2 cycles,
    or any voltages outside of 240V +/-6% (pre-EU harmonisation)

    It was used at a former employers to deflect blame from computers to
    energy suppliers!

    <https://securitytradesupplies.com/product/seaward-dr500-disturbance-recorder>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jim the Geordie@21:1/5 to David on Sun Jan 26 16:23:35 2025
    On 26/01/2025 15:54, David wrote:
    From time to time (once or twice a day on average?) I see the lights flicker.

    It has been more pronounced today, but high winds may be making the supply
    a bit more glitchy (although we aren't using any overhead wires as far as
    I know).

    This made me wonder if I could monitor and log the mains voltage over a
    day.
    I assume the sampling rate would have to be high to catch momentary
    glitches, or a trigger which logs when the voltage strays outside a set range.

    Internet search has so far not helped much.

    Has anyone done something like this?

    Cheers



    Dave R

    When I lived in rural Devon, I was at the 'end of the line'. I was a
    long time ago because the picture on my TV screen got smaller and
    smaller as the voltage dropped.
    I rang SWEB who provided me with a voltage monitor. They then installed
    a new transformer when I was proved not to be making it up.

    --
    Jim the Geordie

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andy Bennett@21:1/5 to David on Sun Jan 26 16:31:59 2025
    On 26/01/2025 15:54, David wrote:
    From time to time (once or twice a day on average?) I see the lights flicker.

    It has been more pronounced today, but high winds may be making the supply
    a bit more glitchy (although we aren't using any overhead wires as far as
    I know).

    This made me wonder if I could monitor and log the mains voltage over a
    day.
    I assume the sampling rate would have to be high to catch momentary
    glitches, or a trigger which logs when the voltage strays outside a set range.

    Internet search has so far not helped much.

    Has anyone done something like this?

    Cheers



    Dave R


    Yes we are out in the sticks, and I have a Extech Instruments DL150 Voltage/Current Datalogger which I use to monitor our supply.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Theo@21:1/5 to David on Sun Jan 26 16:33:25 2025
    David <wibble@btinternet.com> wrote:
    From time to time (once or twice a day on average?) I see the lights
    flicker.

    It has been more pronounced today, but high winds may be making the supply
    a bit more glitchy (although we aren't using any overhead wires as far as
    I know).

    This made me wonder if I could monitor and log the mains voltage over a
    day.
    I assume the sampling rate would have to be high to catch momentary
    glitches, or a trigger which logs when the voltage strays outside a set range.

    Internet search has so far not helped much.

    Has anyone done something like this?

    Many 'smart plugs' which have power measurement also record mains voltage.
    They may be able to log that to their platform which can be seen in their
    app. They may not have a very high sampling rate (eg I wouldn't expect more than 1Hz, probably less), or range (very out of spec voltages like 1kV
    spikes may not be recorded)

    If you have a logging platform (Home Assistant, Grafana, HomeKit, ...) it
    may be possible to log the data from such a plug externally.

    Theo

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From The Natural Philosopher@21:1/5 to David on Sun Jan 26 20:12:52 2025
    On 26/01/2025 15:54, David wrote:
    From time to time (once or twice a day on average?) I see the lights flicker.

    It has been more pronounced today, but high winds may be making the supply
    a bit more glitchy (although we aren't using any overhead wires as far as
    I know).

    Well sometimes LED lamps just flicker for no reaspn.

    Of course you are using overhead wires, unless you are bang on a power
    station. The 275kV is all overhead

    This made me wonder if I could monitor and log the mains voltage over a
    day.
    I assume the sampling rate would have to be high to catch momentary
    glitches, or a trigger which logs when the voltage strays outside a set range.

    Internet search has so far not helped much.

    Has anyone done something like this?

    Cheers


    Not a hard job for a Pi PICO W.

    You can sample the ADC at up to MegaHertz range

    Interleaving that with network calls is a bit tougher,.

    But then I like writing code.
    YMMV


    Dave R


    --
    “Those who can make you believe absurdities, can make you commit atrocities.”

    ― Voltaire, Questions sur les Miracles à M. Claparede, Professeur de Théologie à Genève, par un Proposant: Ou Extrait de Diverses Lettres de
    M. de Voltaire

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Rumm@21:1/5 to David on Mon Jan 27 01:45:00 2025
    On 26/01/2025 15:54, David wrote:
    From time to time (once or twice a day on average?) I see the lights flicker.

    It has been more pronounced today, but high winds may be making the supply
    a bit more glitchy (although we aren't using any overhead wires as far as
    I know).

    This made me wonder if I could monitor and log the mains voltage over a
    day.
    I assume the sampling rate would have to be high to catch momentary
    glitches, or a trigger which logs when the voltage strays outside a set range.

    Internet search has so far not helped much.

    Some UPS devices will connect to monitoring software and record events
    like this.

    Has anyone done something like this?

    Mostly... It would be a trivial job to get an arduino or similar dev
    board to do what you need.

    Something like the little hack I did for a real time power monitor:

    https://wiki.diyfaq.org.uk/index.php/DIY_Real_time_mains_power_meter

    could be greatly simplified and co-opted to do just voltage monitoring.

    You could take the circuit:

    https://wiki.diyfaq.org.uk/index.php/File:EnergyMonCircuitDiagram.png

    ditch all the current monitor capability (i.e. all the left hand side of
    the circuit). Lose the display, and just have it monitor the voltage (indirectly using the output from the 9V AC transformer as a proxy). Log
    that the serial console when there is an event of interest, or perhaps a
    SD card etc.

    --
    Cheers,

    John.

    /=================================================================\
    | Internode Ltd - http://www.internode.co.uk | |-----------------------------------------------------------------|
    | John Rumm - john(at)internode(dot)co(dot)uk | \=================================================================/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jeff Layman@21:1/5 to All on Mon Jan 27 11:16:43 2025
    On 27/01/2025 01:45, John Rumm wrote:
    could be greatly simplified and co-opted to do just voltage monitoring.

    You could take the circuit:

    https://wiki.diyfaq.org.uk/index.php/File:EnergyMonCircuitDiagram.png

    Puts on incredibly picky hat...

    Shouldn't T2 appear as 9V/240V AC rather than 240V/9V AC?

    Takes off hat...

    --
    Jeff

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Rumm@21:1/5 to Jeff Layman on Mon Jan 27 13:28:53 2025
    On 27/01/2025 11:16, Jeff Layman wrote:
    On 27/01/2025 01:45, John Rumm wrote:
    could be greatly simplified and co-opted to do just voltage monitoring.

    You could take the circuit:

    https://wiki.diyfaq.org.uk/index.php/File:EnergyMonCircuitDiagram.png

    Puts on incredibly picky hat...

    Shouldn't T2 appear as 9V/240V AC rather than 240V/9V AC?

    Am, yes fair point - depends rather on if you take that as a label or a
    part description.

    I have used it as a part description rather than using it to label the connections. It is fairly obvious on T1 on the left of the diagram, but
    could perhaps be misconstrued on the right.

    Takes off hat...

    I have added a note under the diagram to clarify:

    https://wiki.diyfaq.org.uk/index.php/DIY_Real_time_mains_power_meter#Circuit_and_theory_of_operation


    --
    Cheers,

    John.

    /=================================================================\
    | Internode Ltd - http://www.internode.co.uk | |-----------------------------------------------------------------|
    | John Rumm - john(at)internode(dot)co(dot)uk | \=================================================================/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jeff Layman@21:1/5 to John Rumm on Mon Jan 27 15:00:17 2025
    On 27/01/2025 13:28, John Rumm wrote:
    On 27/01/2025 11:16, Jeff Layman wrote:

    I have added a note under the diagram to clarify:

    https://wiki.diyfaq.org.uk/index.php/DIY_Real_time_mains_power_meter#Circuit_and_theory_of_operation

    :-)

    --
    Jeff

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)