LBRY Block Explorer

LBRY Claims • arduino-uno-brownout-data-logger-rtc

1b7e9ee1c083f24217a3e354f3c65c72c0d57d2a

Published By
Created On
22 Sep 2020 01:08:48 UTC
Transaction ID
Cost
Safe for Work
Free
Yes
ARDUINO UNO BROWNOUT DATA LOGGER RTC
Disclaimer:
AS THIS PROJECT USES MAINS VOLTAGE POTENTIAL AND CAN BE LETHAL, PLEASE ONLY ATTEMPT THIS PROJECT IF YOU FULLY UNDERSTAND THE DANGERS AND KNOW WHAT YOU ARE DOING!

For a while now we have been getting brownouts at home. This is where the mains voltage dips to such a low-level, lights will dim or flicker and in the case of mains powered digital clocks or electronic gear they may restart in an unpredictable way. Normally in our case the clocks will just need resetting and the router throws a wobbler. The electricity board has blamed swans or third-party tree’s! Basically, I wanted a way of recording when the brownouts occur as I’m not always home. In some cases, the electricity was not off long enough for the clock to need resetting although the lights would flicker. Our CCTV system is very sensitive to power fluctuations.

This is where the Arduino comes in. It will record very small interruptions in time even when I’m not home to watch the lights and record the time they happened so as I can go back to the electricity company armed with information.

I have used an old plug top PSU, 230v AC in 20v AC out which is ideal as I can rectify the AC and place minimal smoothing on the DC output. Also, as the PSU is fully isolated from the mains supply there is little chance of electrocuting myself. A big tick in the box for that! This way, when we get an interruption it isn’t masked with excessive smoothing on the output which would artificially keep the output stable, at least longer than I would want.

In the schematic you can see a standard full wave rectifier setup made of 4 IN4001 diodes (D1, D2, D3, D4) which feed across a potential divider (PD), namely 2 resistors, a 100k (R1) and a 20k (R2).

As the ratio of the PD is 5 to 1, I will be measuring about a fifth of the secondary AC winding supply across R2 (about 4volts).

I have also placed a 5v6 zenor (D5) across R2 just in case R2 ever gets pulled out of the bread board, this way the voltage on the Arduino pins can never get above 5.6volts.

I am then smoothing the output across R2 with a 4.7uf and a 100n capacitor. This output is connected to the Geekrobot (GR) RTC/SD shield that’s mounted to an Uno. Cathode of D5 to pin A0 and Anode to a ground pin of the GR board.

There is virtually no loading on the monitored supply due to the high impedance of the GR board so the results shouldn’t be affected too much.

The AC PSU is plugged into a normal mains power socket. The Arduino however is powered from a battery pack (power bank) which is being charged from the mains. So, if the supply to the house is interrupted the Arduino is happy to continue running from the power bank but the Brownout is recorded. Even if we lost power for hours, the power bank would keep the Arduino going
...
https://www.youtube.com/watch?v=fI03o4HNC28
Author
Content Type
Unspecified
video/mp4
Language
English
Open in LBRY

More from the publisher

Controlling
VIDEO
TD5 D
Controlling
VIDEO
SPRIN
Controlling
VIDEO
WOOHO
Controlling
VIDEO
MICRO
Controlling
VIDEO
LAND
Controlling
VIDEO
DEFEN
Controlling
VIDEO
XANES
Controlling
VIDEO
DEEP
Controlling
VIDEO
LARGE