www.homeseer.com    
 

Go Back   HomeSeer Message Board > Weather Plug-ins > Weather Discussion

Reply
 
Thread Tools Display Modes
  #101  
Old July 9th, 2017, 12:04 PM
Pete's Avatar
Pete Pete is online now
OverSeer
 
Join Date: Jan 2001
Location: House
Posts: 13,227
Understood and thank you Switchdoctor.
__________________
- Pete

Automator
Reply With Quote
  #102  
Old July 9th, 2017, 12:29 PM
brientim brientim is offline
Seer Deluxe
 
Join Date: Sep 2011
Location: Australia
Posts: 279
Lightning Detection for Homeseer

Pete identified in early post, he is also using the AS3935 breakout board and this is a Contains AS3835 Franklin Lightning Sensor IC with embedded algorithm. See http://www.playingwithfusion.com/pro...=22&catid=1012

As I indicated a little earlier, this is now starting to make its way into weather station with storm and lighting detection including directions, distance.



Reply With Quote
  #103  
Old July 9th, 2017, 01:04 PM
Pete's Avatar
Pete Pete is online now
OverSeer
 
Join Date: Jan 2001
Location: House
Posts: 13,227
Imagine one bolt of lightning powering your home for a few days or automobile for a week....

Too bad no one has figured out how to harness this free energy yet.
Reply With Quote
  #104  
Old July 9th, 2017, 01:41 PM
Switchdoctor Switchdoctor is offline
Seer
 
Join Date: Feb 2017
Location: Texas
Posts: 30
I now understand why intensity data is important, by looking at the commercially available lightning detecting weather stations (that i never knew existed until now!).
The intensity data is used along with timing to determine if a strike is approaching or passing.

The method would be "pretty accurate" with the right algorithm.

However, the reason that "I" would never had decided to do it this way is because lightning discharge intensity is a sort of crapshoot in reality.
If two strikes happen next to each other, one from a lower cloud to the ground and the other from the ground to a higher point, they will measure as grossly different intensity. So using intensity and assuming it will be a constant seems flawed.

Except that reality works in favor of sensing:
During the entirety of a single storms condition/lifespan, the variance of cloud level charges does not change quickly if at all, so in reality during the storms passing this data is fairly consistent. (exception being dual storms).

Never gave it that much thought before....


Now I get why intensity is important... (along with timing)

(except in my situation of course- I still just don't want to ride lightning while I ride a tractor or horse, I still would never trust a sensor with my life saying the storm was mostly passed!)
Reply With Quote
  #105  
Old July 9th, 2017, 03:30 PM
Pete's Avatar
Pete Pete is online now
OverSeer
 
Join Date: Jan 2001
Location: House
Posts: 13,227
It all relates mostly to the Franklin lightning sensor chip by AMS. It is now around $3 USD bulk purchase of 1000.

I had to tune the board virtually (via python script) I purchased to the capacitor value uses which in turn uses a chart for lightning frequency.

For tinkerers they sell a lightning frequency generator ($200 plus). Would be interesting some day to see a lightning bolt generator. (geez you can seed clouds today; imagine generating your own lightning).

Name:  as3935.jpg
Views: 69
Size:  60.7 KB

Lightning internet site blitzortung is using a directional lightning sensor board with multiple antennas. It is over $200 USD and you have to assemble it.


Name:  blitz.jpg
Views: 68
Size:  116.7 KB


Owners of this device are putting a Franklin sensor inside of the box connecting it to the Blitzortung device just for comparison sake.

It is basically a fine tuned radio. Over the years all of the lightning sensor circuits related to the fine tuning of a lightning bolt.

The old Hobby boards dual counter lightning sensor needs a ground for it to function. It is omnidirectional and counters only count lightning strikes. When there is no lightning around here it is always at zero. An approaching storm the numbers go from a hundred or so to hundreds of thousand counts. I used it somewhat for a rain / storm predictor for soil moisture content Evapotranspiration numbers. Hard numbers though relating to UV mostly.

And golfing.

Best always though is sight, sound and smell (using your senses).

What is the frequency of lightning?

Lightning Strikes create powerful radio waves in the frequency range of 3 KHz (audio, VLF) through 10 MHz (shortwave radio). The VLF (3000 Hz to 30000 Hz) "lightning signatures" can travel around the world, allowing monitoring of world-wide lightning.

In the 1960's any AM radio / television could see local EMP static stuff (lightning and tornados). NOAA only reports actual visuals of tornadoes and funnel clouds and conditions for a tornado. IE: the volunteer NOAA storm watcher call to local NOAA.
Reply With Quote
  #106  
Old July 10th, 2017, 02:10 PM
Wadenut's Avatar
Wadenut Wadenut is offline
OverSeer
 
Join Date: May 2007
Location: Nova Scotia, Canada
Posts: 3,340
Just finished setting up the AS3935 breakout board with an Arduino Uno.
It's chugging away.
Now, since this will end up located nowhere near a USB port on the HS machine, I just need to figure out the Serial shield (which came without documentation).

Perhaps another day.
__________________
Real courage is not securing your Wi-Fi network.
Reply With Quote
  #107  
Old July 10th, 2017, 02:35 PM
Pete's Avatar
Pete Pete is online now
OverSeer
 
Join Date: Jan 2001
Location: House
Posts: 13,227
Good news Greg!!

I purchased the AS3935 breakout board that you recommended and connected it for time bean to original Homeseer RPi Zee and testing with some python scripts.

Did you solder pins or just wires on to the breakout board to connect to your Ardunio?
Reply With Quote
  #108  
Old July 11th, 2017, 07:57 AM
Wadenut's Avatar
Wadenut Wadenut is offline
OverSeer
 
Join Date: May 2007
Location: Nova Scotia, Canada
Posts: 3,340
Quote:
Originally Posted by Pete View Post
Did you solder pins or just wires on to the breakout board to connect to your Ardunio?
Wires for now while I'm testing.

Figured out the RS232 shield. And have data transfer over that interface to the computer.
Now to connect to HS via a remote serial port (Quatech) and have some real fun.

I used the PWF sample sketch in the Arduino with some modification for now. I found it a bit verbose for my needs. All that's really necessary is strike detection information.
Reply With Quote
  #109  
Old July 11th, 2017, 08:20 AM
Pete's Avatar
Pete Pete is online now
OverSeer
 
Join Date: Jan 2001
Location: House
Posts: 13,227
Good news Greg!!

Is the serial data delimited text?

Noticed there are three values to tune the device.

Thinking it is the capacitor value for frequency, inside and outside sensitivity and a floor value.

The sketch shows the values as follows:

Welcome to the MOD-1016 (AS3935) Lightning Sensor test sketch! Thinking this is from Sparkman's sketch?

Code:
TUNE	IN/OUT	NOISEFLOOR
6	10010	5
Python demo script shows:

sensor.set_indoors(False)
sensor.set_noise_floor(2)
# sensor.calibrate(tun_cap=0x0D)
sensor.calibrate(tun_cap=0x0F)

I am having difficulties understanding what works the best (macro wise with the python scripts).

One user said to leave it configured for outdoors for best sensitivity.

Another user is mentioning to adjust it once you have it where it will remain (indoors or outdoors).

So here have the capacitor value set, outdoor use and playing now with the noise floor.

Last edited by Pete; July 11th, 2017 at 08:37 AM.
Reply With Quote
  #110  
Old July 11th, 2017, 08:33 AM
Wadenut's Avatar
Wadenut Wadenut is offline
OverSeer
 
Join Date: May 2007
Location: Nova Scotia, Canada
Posts: 3,340
If by delimited you mean does it include CR/LF, then yes, but that would be determined by whatever script/sketch you use.

The capacitor value will be printed on the bag the board came in; in my case 112pf. Set for Indoors as that's where the device will ultimately be located, although I'm not convinced that will make much difference unless you have aluminum siding on the house, or it's not located near an outside wall, or near something with a motor. Haven't touched the Floor value yet; I'll decide later. That will probably set the ultimate sensitivity as in ignoring weak or very distant strikes.

Connected now to HS machine & reading the data via Hyperterm. Just have to do a bit of programming to read the serial port into HS.

Quote:
Originally Posted by Pete View Post
Good news Greg!!

Is the serial data delimited text?

Noticed there are three values to tune the device.

Thinking it is the capacitor value for frequency, inside and outside sensitivity and a floor value.

I am having difficulties understanding what works the best (macro wise with the python scripts).
Reply With Quote
  #111  
Old July 11th, 2017, 09:05 AM
Pete's Avatar
Pete Pete is online now
OverSeer
 
Join Date: Jan 2001
Location: House
Posts: 13,227
Thank you.

Yes here still playing with an RPi/lightning sensor next to a window.

Outside it is brick except for the window.

Reading too that an earth ground makes it less sensitive.

The old Hobby Boards dual counter Lightning sensor doesn't work without a ground.

I attached the EMP sensor (well now three) such that it is powered by a 3VDC lithium battery. We had some storms here yesterday with much lightning.
I went to just watching and hearing the sounder on the board.
Reply With Quote
  #112  
Old July 11th, 2017, 09:51 AM
Pete's Avatar
Pete Pete is online now
OverSeer
 
Join Date: Jan 2001
Location: House
Posts: 13,227
Unrelated to lightning question:

What is the difference between these two tires?

1 - 235/50ZR18 101W
2 - 235/40ZR18 92W

Can I use both on one SUV?

Which one's would you recommend for the front tires?

1 - 101 W
2 - 92 W

I see a big difference here and wondering rather to stagger the tires.

Tire Size Comparison - staggered big on back tires.

Specification Sidewall Radius Diameter Circumference Revs/Mile Difference
235/50-18 4.6in 13.6in 27.3in 85.6in 740 0.0%
255/45-18 4.5in 13.5in 27.0in 84.9in 746 -0.8%

Specification Sidewall Radius Diameter Circumference Revs/Mile Difference
235/40-18 3.7in 12.7in 25.4in 79.8in 794 0.0%
235/50-18 4.6in 13.6in 27.3in 85.6in 740 7.3%

Answering my own question the SUV has the options of:

1 - 235/50-18 on all 4 tires
2 - 255/45-18 on all 4 tires
3 - staggering the 235's in front to the 255's in back.

Probably just wait on getting the 235/50-18's for all four tires.

Last edited by Pete; July 11th, 2017 at 11:17 AM.
Reply With Quote
  #113  
Old July 15th, 2017, 08:28 AM
brientim brientim is offline
Seer Deluxe
 
Join Date: Sep 2011
Location: Australia
Posts: 279
Lightning Detection for Homeseer

There is significant weight difference and depending on your SUV, I would verify the weight rating required.

The 101 and the 92 represents the weight rating. See https://m.tirerack.com/tires/tiretec....jsp?techid=35

The other considerations is the lower the profile, the potentially harder the ride and less shock can be absorbed by the tires. Therefore, this is either absorbed by the suspension or transferred to the vehicle and as a consequence felt more by the passengers. The additional risk depends on rims and lower profile, hard bumps and edge can result in more stress on the rims and potentially cracks etc.

The BMW X5 were running similar to option 3.. 21 in but 102w.

Last edited by brientim; July 15th, 2017 at 08:39 AM.
Reply With Quote
  #114  
Old July 15th, 2017, 09:07 AM
Pete's Avatar
Pete Pete is online now
OverSeer
 
Join Date: Jan 2001
Location: House
Posts: 13,227
Thank you Tim.

Yes this is for a BMW X3. I am allowed two sizes from reading the documentation.

IE:

235/50-18 101W and 255/45-18 92W (if I recall)

All four can be one or the other size or I can stagger the sizes front and back.

The issue was / is that I originally was going to stagger the tires now decided to go to 4 235/50ZR18 101W tires.

Been using the Miata Tire Size calculator here:

Tiresize calculator

Tire Size Comparison

Specification Sidewall Radius Diameter Circumference Revs/Mile Difference
235/50-18 4.6in 13.6in 27.3in 85.6in 740 0.0%
255/45-18 4.5in 13.5in 27.0in 84.9in 746 -0.8%



Thing is that I purchased two of the 235/50ZR18 tires about a month ago and cannot find another pair. I can't find the 255/45-18 tires either now.

This was my mistake for waiting as they were available about two weeks ago.

I created this issue.

I will just be waiting now here for availability of the tires as the vehicle is not be used right now here in the summer. (winter vehicle).

Last edited by Pete; July 15th, 2017 at 09:20 AM.
Reply With Quote
  #115  
Old July 21st, 2017, 03:14 PM
Wadenut's Avatar
Wadenut Wadenut is offline
OverSeer
 
Join Date: May 2007
Location: Nova Scotia, Canada
Posts: 3,340
Finally, some results with the AS3935 (still set up in breadboard mode until I get the box I've ordered for permanent installation outside, solar powered).

I was away at the time, in the middle of the actual storm, 20 miles from home. The chip recorded several strikes here, the last one at a reported distance of 5km (~2 miles). No evidence that it rained here at all, but where I was we were drenched.

During the same period, the EMP sensor only detected one strike.
Reply With Quote
  #116  
Old July 21st, 2017, 03:23 PM
Pete's Avatar
Pete Pete is online now
OverSeer
 
Join Date: Jan 2001
Location: House
Posts: 13,227
Good news Greg!!!

Here moved the AS3935/RPi next to the HB dual counter in the attic.

Not getting much in the attic with the AS3935. The HB boards counter is working fine there in the attic.

The AS3935 worked best facing a window in the kitchen (which was low on the WAF).

Today moved it to office window - well and IRQ wire fell off and resoldered it.

I read that the antenna on the AS3935 is very directional.

Thinking of doing similar to you using solar power.

Found a small 5VDC power supply to charge cell phones and was going to see about trickle charging the small battery pack with a solar cell.

First test will probably be just putting everything outside in a large plastic bag.

Looked on All Electronics and see a few there.

The two new EMP sensors and old EMP sensor are not showing any activity in the house whether connected to an RPi or a battery.

All said it appears that both of these sensors work best on batteries with no earth ground.

I believe you set up an Arduino with the AS3935 on your breadboard; eh?

Last edited by Pete; July 21st, 2017 at 07:50 PM.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to detect lightning ? bruce l HomeSeer General Discussion Area 34 May 28th, 2017 06:19 PM
Homeseer and Z-wave Motion Detection Skywanderer HomeSeer Z-Wave Plug-in 12 April 9th, 2005 09:24 PM
Lightning Psalm871 HomeSeer General Discussion Area 2 March 12th, 2004 12:14 AM


All times are GMT -4. The time now is 10:35 AM.


Copyright HomeSeer Technologies, LLC