Project contributors wanted and bright ideas as welcome, throw a comment!
I also do own a 3D-printer so if no viable relay options emerge I might build one from scratch.
Make a device that automatically properly disconnects my line from the DSL modem when a thunderstorm approaches.
To make the experience fit your profile, pick a username and tell us what interests you.
We found and based on your interests.
Project contributors wanted and bright ideas as welcome, throw a comment!
I also do own a 3D-printer so if no viable relay options emerge I might build one from scratch.
attiny84_modem_saver_current_final.inoCurrent running firmware. Might be final...ino - 24.40 kB - 08/07/2016 at 15:12 |
|
|
2016_05_23_18_18_07_Lightning_strikes_and_thunderstorms_on_lightning_maps_live_in_real_time_Map_Hi.pngMurphys Law Applied.Portable Network Graphics (PNG) - 1.50 kB - 05/23/2016 at 16:27 |
|
|
WP_20160415_17_12_27_Pro.jpgJPEG Image - 4.17 MB - 04/15/2016 at 16:35 |
|
|
WP_20160415_17_11_36_Pro.jpgJPEG Image - 4.25 MB - 04/15/2016 at 16:35 |
|
|
WP_20160415_17_12_09_Pro.jpgJPEG Image - 4.24 MB - 04/15/2016 at 16:35 |
|
|
A massive nasty thunderstorm blew by yesterday.
Sparks were observed comingout of the mains wall outlets.
All breakers with surgeprotection connected to them were tripped. Including the ground fault breaker.
All in all a storm that guaranteed would have cost me at least a dead DSL-modem and probably parts of my network.
Yesterdays damage report: zero damage.
So since the last log I've had another thunderstorm.
It was 04:20 at night when I woke up to an amazing thunderstorm. After calibrating my biological sensory I finally got up
and opened my DSL-saver locker. Only to discover indeed it had already disconnected. But I got alarmed by the fact that it appearantly had counted 0 (zero) strikes. I thought my firmware was broken. Waited a few more minutes. Next strike:
Over a 160 pulses on the strike interrupt counter! ( read the source code) Now this kind of data can be used for something!
This kind of data can be used to separate real strikes from static discharges and other electrical noise. All I need is more data. I feel I would really need to move to a really loaded part of the world to gather more data to use for a better firmware. Doing the same thing at my current location would just take too much time. I'm going to have to leave this post hanging just in the cause of not having enough data to rely on for a properly working firmware.
After the last blow I was kind of disappointed and almost about to give up. The modems ethernet ports all decided to die a few weeks later too. Luckily I had a new modem readily configured on standby.
I'm not really sure how to put this.
OMFG Yes! IT WORKS!!! OMG OMG OMG OMG!!!
Today a slowly approaching thunderstorm came and I have positive identification on strikes about 10 miles (15km) out.
I also recorded several disconnects that strikes might have been as far away as 40km.
The reason this now suddenly works(better?) is that the other day I changed out my 40cm antenna with a 2m long antenna (0.75 mm2 single coppwerwire).
Today it detected more than 24 strikes all more than 10km away.
This now appears to be a bit too sensitive for its task, but since this is just my home line its better to be safe than sorry.
This now being confirmed working will save me hundreds of $$$'s in modems and network gear in the coming years.
Not to mention the grief of beeing without a DSL-line for days due to damage and modems in the snailmail.
There might be an issue with the software where the reconnect timer is not being reset when new strikes are detected.
I will have to do a code review on that.
Finally one big thanks to the author of this detection circuit: charles@wenzel.com
also check out more of his awesome work at http://www.techlib.com/default.htm / http://www.techlib.com/electronics/lightning.html
Thank you so much!
ESD issues still haunting me.
Box did disconnect like it should , but a little bit too late. (I lost one ethernet port on my DSL modem, but i have 3 left ;)
That is probably because I should have attached a longer(better) antenna.
Since I made this a modular design I can take the radio receiver board out of the box, and place it somewhere more appropriate for avoiding unintended ESD reception and attach a better antenna.
updates will follow...
I once read that if you finish a windmillbuild it will be no wind for 3 weeks.
I am guessing the same thing goes for lightning detection devices.
Last night it was forecasted a thunderstorm and at 9pm things were looking very promising.
It was even heading in the right direction!
Skip forward one hour and the ligtningstorm stops dead in the water 90 miles out...
I'm throwing a small picture in the files from the lightningtracker at 10pm last night.
Over the past day or so I've had more unintended disconnects and every time someone either got off or sat down in my office chair. I will gladly accept comments on how to wire my chair to avoid ESD's that trigger my "borrowed" lightningdetector radio circuit ;)
I've been running this device live now for a few weeks, there has been no thunderstorms but I have had a few false positives.
The DSL Modem Saver is wallmounted right next to my officechair. I am pretty sure I have nailed the false positives to being static discharges from my office chair. Every time a disconnect has happened someone have been sitting in the chair.
I put together the last few missing bits and pieces the other night and mounted it all in its place.
I added some photos of the finished cabinet to the files.
Now, the live testing phase have started i basically just wait for the next thunderstorm. The thunderstorm season is probably about 3 months away so this is going to be one long phase.
Last post i listed 3 tasks remaining..
1. Build a PSU.
2. Make casing and/or mounts for all the circuits.
3. Software.
Then project updates went silent, the good news now is, these 3 tasks have been accomplished. I built the PSU, connected all PCB's together. Debugged the software and hardware. Lots of testing of the hardware and software have been done, hit a few roadblocks but managed to get around them. And learned a few things along the way. Kinda buzzed out right now, but I will try and make a complete list of my major learning experiences:
1. Somewhere along the line I decided to drop the ICSP. Fail!
2. Make sure your battery is disconnected from Vcc when you try to charge it. (RIP one attiny84)
3. 4xAA Ni-MH through a diode driving a big 4 Volt stepper is not enough. Next time this thing runs off a 12 Volts backupsourcebattery.
4. Interrupt pins are not messing around a lot. They do stuff when stuff happens. Have total control over what happens.
5. Don't start out a project with a maxed out I/O pincount, you will probably need more pins for stuff that shows up along the way(and you might want to add an LCD). If I were to choose a chip now I would have used an Atmega8.
6. Make sure your mechanics are sturdy. In this project I ended up mounting stuff vertically and some flimsy parts did not like that. (then again I'm too lazy to make a new part :P). This problem however is a combination of mechanics and too low voltage battery backup.
Anyways, a few weeks back my phone died, hence no photos and I'm too lazy to go downstairs and grabbing my DSLR.
Status quo right now is the project is pretty damn near done. Almost everything is mounted in the box and tested working, with a few software modifications. The transformer rectified and capped with a 10kµF puts out about 8 volts which is perfect. Running the stepper off bad batteries is a bit iffy(missing steps). but solved through software.
Anyway, stay tuned for more photos, videos and updated.
First i want to share with you the source of the lightning detection circuit: http://www.techlib.com/electronics/lightning.html
There is three major tasks left to stitch project into a working unit.
1. Build a PSU.
2. Make casing and/or mounts for all the circuits.
3. Software.
Create an account to leave a comment. Already have an account? Log In.
Blitzortung has a pretty strict policy about using their data for commercial purposes, sadly...
in 2000 worked with many stations that used modems and the main problem is that the station (PC, monitor, internal modem etc..) all were grounded. putting transformer on the mains give great results. also there is many existing products.. if you want to build something by yourself the main guidelines is to work the lightning down by putting elements that lower the voltage every time.. gas tubes, spark gaps.. and so on till the voltage in the range the modem or the outlet protector can handle it..
There are dozens of gadgets that can suppress transients on a DSL line and still permit the xDSL signal to pass. MOVs, avalanche diodes, gas tubes, etc. Inventing a device to detect thunderstorms and mechanically disconnect a line and reconnect it seems like over-engineering to fix an already-fixed problem.
You may want to look into Bourns TBU series transient suppressors. When combined with gas discharge tubes and MOVs, you have a very high-speed, high-surge capable solution. They even have a suggested application note for VDSL: http://www.bourns.com/docs/Products-General/Bourns_ITU-T_GR-1089-CORE_VDSL_Over_POTS_PortNote.pdf?sfvrsn=6 . I design devices protected to IEC 61000-4-5 surge at work, and we've used these devices to harden Ethernet with great success.
Plenty of examples around - I did a quick search for "transient protector circuit dsl" and came across many links. One of them looked pretty maker-friendly - have a look. Link: http://buju357.blogspot.com/2010/12/protection-for-telephone-line.html The gas discharge tube is the first line of defense and is usually followed by MOV or other transient protector devices.
I might very possibly build something like that to add an additional layer of safety.
There are a variety of arc tubes and even neon light bulbs that can absorb transients above 50 or 60V. Evidently those living in some parts of Australia commonly have issues with lightning and have developed protective electronic modules to get around it. It's less fun than building an electrostatic detection system and switch, but probably something that you can install and forget. This problem has been solved already.
I would really like to see the schematics for devices that can handle loads like that and do not degrade each strike.
have a look at http://www.blitzortung.org they are mapping thunderstorms by a self designed hardware.
blitzortung is fine and all, but how will my device know when the storm has passed if its disconnected itself? I also have to mention that cell-coverage where I currently live is total crap.
At least you know when to disconnect. As you mentioned before. It would be helpfull if others had the same units so you could triangulate the strikes. But without knowing how to get the data things get stuck at this point.
Even while you are offline the device itsself is capable of telling if there was a strike - so perhaps looking for strikes per time means you could tell when trying to reconnect your line is fine.
Another thing to think about is: Would you even like it to reconnect automatically? First thing is saving your pricy equipment. This job ist done. If your router and firewall are dead the downtime compared to a downtime by intentional disconnect is bigger and costs a lot more.
Also you could perhaps calculate the risk of upcoming strikes by using their network.
You could also use two ball bearings and a solenoid to push the assembly up and roll the bearings away from the contact. Additionally, another solenoid would push a ground plane metal shield in between the bearings and the contacts.
The part you really want to look for is called a VARISTOR. Put about 2+ of them on the line and they should absorb the spikes.http://www.mouser.com/ProductDetail/Littelfuse/V180ZA1P/?qs=sGAEpiMZZMuQmL5N8IqpX3FuOw5uPO8QOa4S1oc7GNQ=
I woudl put them connected between the phone lines as well as a few between earth and each phone wire(if your house or dsl has poor earth connection)
As far as relays your lookign for the spec Dielectric strength most standard ones can handel 1kv ish.
Sounds like a good idea, however after very much error and money wasted on dead modems and firewalls this project is in the state of "Overkill is never wrong."
Yeah coudl be there cheap enofe $0.50. Gas discharge tube would also be a good idea in parelel with a mov due to its speed, its faster than a mov.
Also as a side note on your broken modems check to see if the MOVs on it are shorted as that is often the failure conditon. And they genewraly save the rest of the modem. blue disks near the rj11 (you can just remove them to test).
Hi!
AFAIK dsl is pretty tolerant to poor wiring, so you probably will have little trouble installing any type of relay.
Become a member to follow this project and never miss any updates
You might wish to look into online lightning strike databases. There are free and paid-for commercial strike data providers used by insurance companies etc. Here's a free one http://en.blitzortung.org/cover_your_area.php