Author Topic: AS3595 not Detecting Strikes  (Read 37214 times)

0 Members and 2 Guests are viewing this topic.

Offline Jet

  • Member
  • *
  • Posts: 27
Re: AS3595 not Detecting Strikes
« Reply #50 on: June 22, 2014, 01:00:46 PM »
Your observations about the 500KHz noise also fit with having better results with not allowing "auto" calibration and using a fixed calibration table setting.

Interesting.  I'm using auto-calibration and it's stable, i.e. it always calibrates to the same value (5 in the 4 tautics I have), also across parameter changes.
(although the reason for recalibration after parameter change is not for cap value, it's for the internal oscillator).  I found that the typical
way on the Arduino of timing pulses over a delay cycle isn't accurate enough, and lead to some variance between adjacent cap settings, so I used the oscillator built into
the realtime clock as that's very accurate for timing. (more accurate than the cpu oscillator)

It might be possible to have opto-isolators for the I2C lines, and float the AS3935 with a coin cell like you are suggesting, Jet.
That's a great idea, also means the range could be increased for the I2C too.

Driving the LEDs in the optocoupler would likely require moving from coin cell to a bunch AA batteries, which
would work fine for me, because I could get the Lithium AA's, and put them and the AS3935 in the cold attic.

Found this:
http://www.nxp.com/documents/application_note/AN10364.pdf

Also, there's toslink, with that the distance could be considerably greater.   

These could be a workable solution apart from interfering with the auto cal as Don has mentioned.

If we can get the RED software to store a cal value in the AS3935 settings in the interface instead, that solves that issue
(apart from needing to externally calibrate, but that's a one off).

Another way to tackle this would be a remote AS3935 with MCU, but that would need software support at the RED end.
Station 1046: Calgary, Alberta, Canada

Offline dfroula

  • Forecaster
  • *****
  • Posts: 551
Re: AS3595 not Detecting Strikes
« Reply #51 on: June 22, 2014, 01:08:17 PM »
The cap cal value can be stored in the Red interface now, which disables that part of the cal routine.

The oscillator calibrations are still performed periodically.

Don
WD9DMP

Offline Jet

  • Member
  • *
  • Posts: 27
Re: AS3595 not Detecting Strikes
« Reply #52 on: June 22, 2014, 01:27:03 PM »
That's good.  Is it 100KHz or 400KHz i2c on Red?
Station 1046: Calgary, Alberta, Canada

Offline dfroula

  • Forecaster
  • *****
  • Posts: 551
Re: AS3595 not Detecting Strikes
« Reply #53 on: June 22, 2014, 03:23:56 PM »
Default I2C speed is 50KHz, configurable up to 400KHz.

Don

Offline Jet

  • Member
  • *
  • Posts: 27
Re: AS3595 not Detecting Strikes
« Reply #54 on: June 22, 2014, 05:53:00 PM »
Here's a solution I think may work, I like this as it's a no battery solution, with isolated 5V, isolated 0V and isolated i2C, plus handles the IRQ line.
That allows the red controller to be grounded if desired, and the AS3935 to be not grounded, but doesn't require remote power or batteries.


RED CONTROLLER DAUGHTER BOARD:

2 x P82B715TD118
(i2c Bus Extender SDA + SCL + IRQ signal, this is optional to provide longer run length)
http://www.mouser.com/ProductDetail/NXP-Semiconductors/P82B715TD118/?qs=sGAEpiMZZMvKM5ialpXrmmzVfheuROjE
CAT 5 socket


AS3935 DAUGHTER BOARD:

CAT 5 socket

Powered by 5V from the Red Controller Board:
2 x P82B715TD118
(i2c Bus Extender SDA + SCL + IRQ signal, this is optional to provide longer run length)
http://www.mouser.com/ProductDetail/NXP-Semiconductors/P82B715TD118/?qs=sGAEpiMZZMvKM5ialpXrmmzVfheuROjE

1 x ADuM5010
(Isolates 5V Supply and generates new regulated 5V supply for AS3935 and AS3935 side of the MAX14850)
http://www.mouser.com/ProductDetail/Analog-Devices/ADUM5010ARSZ-RL7/?qs=sGAEpiMZZMtitjHzVIkrqYThiPHWFX9aHiKMF61fbLU%3d

Powered by isolated 5V from ADuM5010:

1 x MAX14850
(Galvanic isolation for SDA + SCL + IRQ)
http://www.mouser.com/ProductDetail/Maxim-Integrated/MAX14850ASE+/?qs=sGAEpiMZZMtKtLvoHD9hC3S8brOmfjZV

AS3935 + associated circuitry

CAT5/6 shielded from RED to AS3935 daughter board.

Notes:
The ADuM5010 has a very high switching noise, (125MHz with 600KHz PWM).  The 600KHz is above the 500KHz listening frequency of
the AS3935, but not by much.  It will have to be tested to make sure that it's not generating EMI that interferes with the AS3935, but theoretically I think it
should work.

Maximum distance should be around 30m from the controller @ 100KHz.

I also looked at opto isolation, but that generally has a higher part count.  The galvanic isolation transceivers are relatively new and have less external part count.

Any thoughts on the above design before I pull the plug on it?

Also, can anyone with ESD / Ham experience tell me if having the AS3935 completely isolated with no charge at elevation (say in the attic / on roof) above the controller, will lead
to any build up of charge on it that could exceed the 600V isolation voltage of the MAX14850 and bridge across to the red controller due to electric field gradient?   (Obviously, direct lightning strikes excluded)

Thanks
Station 1046: Calgary, Alberta, Canada

Offline miraculon

  • Sunrise Side Weather
  • Forecaster
  • *****
  • Posts: 4107
  • KE8DAF
    • Sunrise Side Weather in Rogers City MI USA
Re: AS3595 not Detecting Strikes
« Reply #55 on: June 22, 2014, 06:10:37 PM »
Quote
Also, can anyone with ESD / Ham experience tell me if having the AS3935 completely isolated with no charge at elevation (say in the attic / on roof) above the controller, will lead
to any build up of charge on it that could exceed the 600V isolation voltage of the MAX14850 and bridge across to the red controller due to electric field gradient?   (Obviously, direct lightning strikes excluded)

Ground straps and benchtop mats typically have a 1M resistor in series with the ground wire. Maybe that is high enough not to cause problems, yet drain off static charges.

Greg H.


Blitzortung Stations #706 and #1682
CoCoRaHS: MI-PI-1
CWOP: CW4114 and KE8DAF-13
WU: KMIROGER7
Amateur Radio Callsign: KE8DAF

Offline Dr Obbins

  • Forecaster
  • *****
  • Posts: 1152
Re: AS3595 not Detecting Strikes
« Reply #56 on: June 29, 2014, 02:34:54 PM »
Well I think I figured out what the AS3539 really does - it keeps storms away! #-o
On 6/14 I think I may have the settings correct, but in the 2 weeks since, no storms have passed over to verify or adjust settings. During the same time though, many, many storms have passed over KY. I have received 0.04" in the past 15 days and again today, the storms are avoiding Cave Country. :???: At least the grass doesn't need cutting.

Offline Jumpin Joe

  • Forecaster
  • *****
  • Posts: 1073
    • Joe’s Weather
Re: AS3595 not Detecting Strikes
« Reply #57 on: June 29, 2014, 03:35:42 PM »
Well I think I figured out what the AS3539 really does - it keeps storms away! #-o
On 6/14 I think I may have the settings correct, but in the 2 weeks since, no storms have passed over to verify or adjust settings. During the same time though, many, many storms have passed over KY. I have received 0.04" in the past 15 days and again today, the storms are avoiding Cave Country. :???: At least the grass doesn't need cutting.

Mike and I are getting the rain and some strikes.
https://joesweather.info
Davis Vantage Pro 2 Plus 24-FARS Wireless
WeatherLink Live

Offline Cutty Sark Sailor

  • WxElement panel
  • Forecaster
  • *****
  • Posts: 3393
    • Frankfort Weather - TwinHollies WeatherCenter
Re: AS3595 not Detecting Strikes
« Reply #58 on: June 29, 2014, 03:51:33 PM »
Oh goodness.. last week was lightning awareness week...
we should have shared
"Get Blitzed and AS3935 to protect your home and well being"
"a Guaranteed lightning deterrent"...
Well I think I figured out what the AS3539 really does - it keeps storms away! #-o
On 6/14 I think I may have the settings correct, but in the 2 weeks since, no storms have passed over to verify or adjust settings. During the same time though, many, many storms have passed over KY. I have received 0.04" in the past 15 days and again today, the storms are avoiding Cave Country. :???: At least the grass doesn't need cutting.
 


Offline Dr Obbins

  • Forecaster
  • *****
  • Posts: 1152
Re: AS3595 not Detecting Strikes
« Reply #59 on: June 29, 2014, 05:55:46 PM »
There goes one now! I can see it out my window.

Offline dfroula

  • Forecaster
  • *****
  • Posts: 551
Re: AS3595 not Detecting Strikes
« Reply #60 on: June 29, 2014, 06:40:36 PM »
With the settings I posted before, I am getting very reliable detections on numerous storms that have passed through the last month.

Perhaps the AS3935 changes in the latest firmware will allow running with "indoor" enabled. The range isn't as good as I would like with the "outdoor", but is is acceptable at 25 kilometers or so - and it has been working.

Don
WD9DMP

Offline Dr Obbins

  • Forecaster
  • *****
  • Posts: 1152
Re: AS3595 not Detecting Strikes
« Reply #61 on: June 29, 2014, 06:55:04 PM »
I think it is working somewhat, but need a decent storm to tweak and verify. It did record a dozen strikes on the 28th as a heavy rain cloud passed to the west of here close by. This is with "indoor" enabled.
« Last Edit: June 29, 2014, 06:56:51 PM by Dr Obbins »

Offline Jet

  • Member
  • *
  • Posts: 27
Re: AS3595 not Detecting Strikes
« Reply #62 on: June 30, 2014, 12:49:01 PM »
Here's the schematic.  Not tested yet, I have parts coming later today.  Should be good for 20-30m of extension
and it allows the Red to be grounded and the AS3935 to be ungrounded
Station 1046: Calgary, Alberta, Canada

Offline dfroula

  • Forecaster
  • *****
  • Posts: 551
Re: AS3595 not Detecting Strikes
« Reply #63 on: July 01, 2014, 08:12:50 AM »
Dave, I changed the rate calculation in the AS3935 alert logging PHP code to eliminate the divide by zero error on the first strike in an "event". I also set the rate to zero until the "event" duration is at least 60 seconds. This eliminates the elevated rate calculations that occur during the first minute of an "event".

Code: [Select]
if ($duration == 0) {
($rate = 0);
} else {
$rate = round(($strokes/$duration*60),2);
}
if ($duration <= 60) {
($rate = 0);
}

Complete code of log_as3935.php:

Code: [Select]
<?php
$date 
date("m/d/Y");
$time date("G:i:s");
$datetime "$date $time";

# Retrieve all possible value names and values from Controller on strike event for testing and save to file.
# $file_test = fopen("/volume1/web/as3935_test.txt","w");
# foreach ($_GET as $key => $value)
# {
# fwrite($file_test,"$key:  $value\n");
# }
# fclose($file_test);

$strokes $_GET['strokes'];
$disturbers $_GET['disturbers'];
$duration $_GET['duration'];
if (
$duration == 0) {
($rate 0);
} else {
$rate round(($strokes/$duration*60),2);
}
if (
$duration <= 60) {
($rate 0);
}
$dist $_GET['dist'];
$dist_min $_GET['dist_min'];
$dist_max $_GET['dist_max'];
$energy $_GET['energy'];
$energy_min $_GET['energy_min'];
$energy_max $_GET['energy_max'];
$strokes_all $_GET['strokes_all'];
$disturbers_all $_GET['disturbers_all'];
$events $_GET['events'];

if (!
file_exists("/volume1/web/as3935_log.txt")) {
     
$file fopen("/volume1/web/as3935_log.txt","w");
     
fwrite($file,"Date,Time,Date-Time,Event Strokes,Event Disturbers,Event Duration,Event Strike Rate,Current Strike Distance,Event Min Distance,Event Max Distance,Current Strike Energy,Event Min Energy,Event Max Energy,All Strokes,All Disturbers,Events\n");
fclose($file);
     }

$file fopen("/volume1/web/as3935_log.txt","a");
fwrite($file,"$date,$time,$datetime,$strokes,$disturbers,$duration,$rate,$dist,$dist_min,$dist_max,$energy,$energy_min,$energy_max,$strokes_all,$disturbers_all,$events\n");
fclose($file);

$file2 fopen("/volume1/web/as3935_display.txt","w");
fwrite($file2,"\nLast Strike\n==== ======\nLatest Strike:.................$date $time\nLatest Strike Distance:........$dist KM\nLatest Strike Energy:..........$energy\n\nLast Event\n==== =====\nNumber of Strikes in Event:....$strokes\nLightning Event Duration:......$duration Seconds\nCurrent Event Strike Rate:.....$rate Strikes/Minute\nShortest Distance to Strike:...$dist_min KM\nLongest Distance to Strike:....$dist_max KM\nLowest Strike Intensity:.......$energy_min\nHighest Strike Intensity:......$energy_max\nTotal strikes since reboot:....$strokes_all\n");
fclose($file2);
?>


Offline Dr Obbins

  • Forecaster
  • *****
  • Posts: 1152
Re: AS3595 not Detecting Strikes
« Reply #64 on: July 01, 2014, 08:19:32 AM »
I will check it out when I get home tonight. While we are looking at it, the time stamp looks wrong. Is this set by the GPS?
« Last Edit: July 01, 2014, 09:44:30 PM by Dr Obbins »

Offline dfroula

  • Forecaster
  • *****
  • Posts: 551
Re: AS3595 not Detecting Strikes
« Reply #65 on: July 01, 2014, 08:20:06 AM »
I also removed the scale calculations in the graphs, which were operating on the entire log file, not just the displayed last 300 strikes. This caused the vertical scale of the graphs to be too large. The graphs look much better, allowing Google to auto-scale on the displayed set of strikes:

as3935_distance.html:

Code: [Select]
<!DOCTYPE html>
<html>
<head>
   <meta http-equiv="refresh" content="60">
   <title>AS3935 Distance</title>
   <script src="https://www.google.com/jsapi"></script>
   <script src="./jquery-1.11.0.min.js"></script>
   <script src="./jquery.csv-0.71.js"></script>

   <script>
    // load the visualization library from Google and set a listener
    google.load("visualization", "1", {packages:["corechart"]});

    // next line prevents caching of retrieved data by IE and possibly other browsers.
    // without this, IE11 never updated the graphs on new strike data being added to the .csv file.
    $.ajaxSetup({ cache: false });

    google.setOnLoadCallback(drawChart);

    function drawChart() {
    // grab the CSV
    $.get("as3935_log.txt", function(csvString) {

    // transform the CSV string into a 2-dimensional array
    var arrayData = $.csv.toArrays(csvString, {onParseValue: $.csv.hooks.castToScalar});

    // this new DataTable object holds all the data
    var data = new google.visualization.arrayToDataTable(arrayData);

    //Use rowRange variable to set the last "n" number of rows of data to display
    var rowRange = 300;

    var numRows = data.getNumberOfRows();
    var maxRows = numRows-1;
    var minRows = numRows-rowRange;
    if (minRows < 0){minRows = 0;}

    // this view can select a subset of the data at a time
    var view = new google.visualization.DataView(data);
    view.setColumns([2,7]);
    view.setRows(minRows,maxRows);

    var options = {
    title: "AS3935 Lightning Distance in KM\nLast 300 Strikes",
    chartArea: {height: 120, width: 900},
    backgroundColor: {fill: "#33CCFF"},
    hAxis: {title: data.getColumnLabel(2), slantedText: 1, slantedTextAngle: 45, textStyle: {fontSize: 10}},
    //vAxis: {title: data.getColumnLabel(7), minValue: data.getColumnRange(7).min, maxValue: data.getColumnRange(7).max},
vAxis: {title: data.getColumnLabel(7)},
    legend: 'none'

    };
   
    var chart1 = new google.visualization.ColumnChart(document.getElementById('chart1'));
    chart1.draw(view, options);
   });
}
</script>

</head>
<body>
   <div id="chart1" style="width:1100px; height:325px;"> </div>
</body>
</html>


as3935_energy.html:

Code: [Select]
<!DOCTYPE html>
<html>
<head>
   <meta http-equiv="refresh" content="60" >
   <title>AS3935 Energy</title>
   <script src="https://www.google.com/jsapi"></script>
   <script src="./jquery-1.11.0.min.js"></script>
   <script src="./jquery.csv-0.71.js"></script>

   <script>
    // load the visualization library from Google and set a listener
    google.load("visualization", "1", {packages:["corechart"]});

    // next line prevents caching of retrieved data by IE and possibly other browsers.
    // without this, IE11 never updated the graphs on new strike data being added to the .csv file.
    $.ajaxSetup({ cache: false });

    google.setOnLoadCallback(drawChart);

    function drawChart() {
    // grab the CSV
    $.get("as3935_log.txt", function(csvString) {

    // transform the CSV string into a 2-dimensional array
    var arrayData = $.csv.toArrays(csvString, {onParseValue: $.csv.hooks.castToScalar});

    // this new DataTable object holds all the data
    var data = new google.visualization.arrayToDataTable(arrayData);

    //Use rowRange variable to set the last "n" number of rows of data to display
    var rowRange = 300;

    var numRows = data.getNumberOfRows();
    var maxRows = numRows-1;
    var minRows = numRows-rowRange;
    if (minRows < 0){minRows = 0;}

    // this view can select a subset of the data at a time
    var view = new google.visualization.DataView(data);
    view.setColumns([2,10]);
    view.setRows(minRows,maxRows);

    var options = {
    title: "AS3935 Lightning Energy - Unitless\nLast 300 Strikes",
    chartArea: {height: 120, width: 900},
    backgroundColor: {fill: "#33CCFF"},
    hAxis: {title: data.getColumnLabel(2), slantedText: 1, slantedTextAngle: 45, textStyle: {fontSize: 10}},
    //vAxis: {title: data.getColumnLabel(10), minValue: data.getColumnRange(10).min, maxValue: data.getColumnRange(10).max},
vAxis: {title: data.getColumnLabel(10)},
    legend: 'none'

    };
   
    var chart2 = new google.visualization.ColumnChart(document.getElementById('chart2'));
    chart2.draw(view, options);
   });

   </script>

</head>
<body>
   <div id="chart2" style="width:1100px; height:325px;">
   </div>

</body>
</html>


as3935_rate.html:

Code: [Select]
<!DOCTYPE html>
<html>
<head>
   <meta http-equiv="refresh" content="60" >
   <title>AS3935 Rate</title>
   <script src="https://www.google.com/jsapi"></script>
   <script src="./jquery-1.11.0.min.js"></script>
   <script src="./jquery.csv-0.71.js"></script>

   <script>
    // load the visualization library from Google and set a listener
    google.load("visualization", "1", {packages:["corechart"]});

    // next line prevents caching of retrieved data by IE and possibly other browsers.
    // without this, IE11 never updated the graphs on new strike data being added to the .csv file.
    $.ajaxSetup({ cache: false });

    google.setOnLoadCallback(drawChart);

    function drawChart() {
    // grab the CSV
    $.get("as3935_log.txt", function(csvString) {

    // transform the CSV string into a 2-dimensional array
    var arrayData = $.csv.toArrays(csvString, {onParseValue: $.csv.hooks.castToScalar});

    // this new DataTable object holds all the data
    var data = new google.visualization.arrayToDataTable(arrayData);

    //Use rowRange variable to set the last "n" number of rows of data to display
    var rowRange = 300;

    var numRows = data.getNumberOfRows();
    var maxRows = numRows-1;
    var minRows = numRows-rowRange;
    if (minRows < 0){minRows = 0;}

    // this view can select a subset of the data at a time
    var view = new google.visualization.DataView(data);
    view.setColumns([2,6]);
    view.setRows(minRows,maxRows);

    var options = {
    title: "AS3935 Lightning Event Strike Rate\nStrikes/Minute\nLast 300 Strikes",
    chartArea: {height: 120, width: 900},
    backgroundColor: {fill: "#33CCFF"},
    hAxis: {title: data.getColumnLabel(2), slantedText: 1, slantedTextAngle: 45, textStyle: {fontSize: 10}},
    //vAxis: {title: data.getColumnLabel(6), minValue: data.getColumnRange(6).min, maxValue: data.getColumnRange(6).max},
vAxis: {title: data.getColumnLabel(6)},
    legend: 'none'

    };
   
    var chart3 = new google.visualization.ColumnChart(document.getElementById('chart3'));
    chart3.draw(view, options);
   });

   </script>

</head>
<body>
   <div id="chart3" style="width:1100px; height:325px;">
   </div>

</body>
</html>

Offline dfroula

  • Forecaster
  • *****
  • Posts: 551
Re: AS3595 not Detecting Strikes
« Reply #66 on: July 01, 2014, 08:23:13 AM »
I will check it out when I get home tonight. While we are looking at it, the time stamp looks wring. Is this set by the GPS?

Dave, the time is server time, the time the PHP script is run. I set me local server to sync off of the NTP server of the Red controller, so this works well for me. It also allows easier formatting of the time for Microsoft Excel post-processing.

Don

Offline dfroula

  • Forecaster
  • *****
  • Posts: 551
Re: AS3595 not Detecting Strikes
« Reply #67 on: July 01, 2014, 08:27:57 AM »
BTW, over 3,000 strikes detected by the AS3935 during the two rounds of severe storms last night. That's with the "outdoor" setting selected, which results in fewer false strikes and much better distance estimation by the AS3935. With "indoor" checked, almost all strikes showed as 1 km distance.

Checking "outdoor" seems to limit my AS3935 detection radius to about 30km maximum.

Don
WD9DMP

Offline Frank57

  • Member
  • *
  • Posts: 44
    • TyngsboroWeather
Re: AS3595 not Detecting Strikes
« Reply #68 on: July 04, 2014, 06:22:06 AM »
I found the new Acu-Rite Lightning Detector and posted it here http://www.wxforum.net/index.php?topic=22740.msg219002#msg219002

I sent a message to Rhino asking if it uses the AS3935 IC from AMS. Reading between the lines in the manual and the timing of it makes me think (and hope) that it uses the AS3935. If so, I plan on parking it next to my AS3935 board interfaced to RED to see how they compare.

Greg


Hi Greg, I bought one of these some months ago, ( new lightning detector toy) and hoping it was the next Gen of detectors. The first storm we had, all my other detectors were going nuts, except this one, not a thing on it. Thru it in the box the next day thinking I wasted $ on it, very disappointed. Last night with the line of storms that came thru my area, thru another battery in it and it was working, holy cwap, it works. It was ranging pretty nicely with the online hits and triggering pretty good in time with my other detectors. Waiting later today for the next round of storms to come thru and check it out again. I was wondering the same thing, if it was using this chip in it and after reading the post of everyone stating these AS3595 units not detecting anything, I started to think that's what is in these units as well. Did you ever find out more on this unit and yes, I wish there was some sort of port that on it as well, but I guess one could make one if they knew the internals to this unit.     :-)     Frank

Offline Jet

  • Member
  • *
  • Posts: 27
Re: AS3595 not Detecting Strikes
« Reply #69 on: July 05, 2014, 08:17:52 PM »
I've built and initially tested a remote AS3935 transmitter / receiver for Red.  Waiting for a thunderstorm to confirm, but disturbers are being detected, and autotune is working with 10meters of unshielded Cat 5E UTP.

Photos of the prototype boards:



The main features are:

1. AS3935 can be remote:  It's beneficial to get it away from the the Discovery Board to increase signal to noise ratio

2. Ability to Ground the Red Board whilst leaving the AS3935 board ungrounded: 
AS3935 does not receive lightning strikes well if grounded, Red board requires grounding, these requirements conflict with each other, this design solves that.

3. Isolation.  0V, 3.3V, IRQ, SDA and SCL lines all isolated between the AS3935 Remote and the Red Controller.  Isolation
is galvanic, and use Mems Transformers on chip.  This provides ground isolation too for the AS3935.  10M resistors on 3V3 and 0V couple to provide
static drain, but are optional (for complete isolation).  Also there are ESD protection diodes on both boards.

4. I2C Extension.  Boards include high current i2C line drivers, to provide extension upto 20m.  10m has been achieved in
practice with low quality unscreened CAT 5E UTP.  6m would be a reasonable limit for most CAT5/6 cables, 10m-20m would be a reasonable upper
limit with good quality screened cable.  This provides the ability to locate the AS3935 well away from the controller board to reduce
noise.

5. No requirement for a separate AS3935 daughter board, everything is on board.  SMD soldering required, can be built single
layer.  The AS3935 is the only part that requires a reflow oven /  hot plate, although I've heard of people hand soldering them.

if there's enough interest, I may order a run of boards and/or fab some.

Updated schematics.  Standard disclaimers, don't blame me if you hurt yourself, damage something etc.

Code: [Select]
2014-07-05 23:52:12     70 | AS3935: Write registers...
2014-07-05 23:52:12     70 |
2014-07-05 23:52:12     70 | === AS3935 ==========================================
2014-07-05 23:52:12     70 | AS3935: Write registers...
2014-07-05 23:52:12     70 | AS3935: Calibrate Antenna...
2014-07-05 23:52:13     71 | AS3935: LCO TUN_CAP=0 => Frequency 508000Hz, Deviation 1.6
2014-07-05 23:52:13     71 | AS3935: LCO TUN_CAP=1 => Frequency 506400Hz, Deviation 1.3
2014-07-05 23:52:13     71 | AS3935: LCO TUN_CAP=2 => Frequency 504800Hz, Deviation 1.0
2014-07-05 23:52:13     71 | AS3935: LCO TUN_CAP=3 => Frequency 503200Hz, Deviation 0.6
2014-07-05 23:52:13     71 | AS3935: LCO TUN_CAP=4 => Frequency 501600Hz, Deviation 0.3
2014-07-05 23:52:13     71 | AS3935: LCO TUN_CAP=5 => Frequency 500000Hz, Deviation 0.0
2014-07-05 23:52:13     71 | AS3935: LCO TUN_CAP=6 => Frequency 498400Hz, Deviation -0.3
2014-07-05 23:52:13     71 | AS3935: Stop, found best frequency before
2014-07-05 23:52:13     71 | AS3935: Found best tune-cap=5 with frequency=500000Hz => deviation=0.0%
2014-07-05 23:52:13     71 | AS3935: Calibrate RCO...
2014-07-05 23:52:13     71 | AS3935: CALIB_RCO accepted
2014-07-05 23:52:13     71 | AS3935: Frequency on SRCO is 1140100Hz
2014-07-05 23:52:13     71 | AS3935: CALIB_RCO accepted
2014-07-05 23:52:13     71 | AS3935: Frequency on TRCO is 32700Hz
2014-07-05 23:52:13     71 | AS3935: Init IRQ...
2014-07-05 23:52:13     71 | =====================================================
...
2014-07-05 23:57:43    166 | AS3935: Interrupt (1)
2014-07-05 23:57:43    166 | AS3935: Interrupt (0)
2014-07-05 23:57:43    166 | AS3935: Interrupt register is 0x4, pending status 0, pin 0
2014-07-05 23:57:43    166 | AS3935: Disturber detected!
2014-07-05 23:57:47    170 | AS3935: Interrupt (1)
2014-07-05 23:57:47    170 | AS3935: Interrupt (0)
2014-07-05 23:57:47    170 | AS3935: Interrupt register is 0x4, pending status 0, pin 0
2014-07-05 23:57:47    170 | AS3935: Disturber detected!
2014-07-05 23:57:48    171 | AS3935: Interrupt (1)
2014-07-05 23:57:48    171 | AS3935: Interrupt (0)
2014-07-05 23:57:48    171 | AS3935: Interrupt register is 0x4, pending status 0, pin 0
2014-07-05 23:57:48    171 | AS3935: Disturber detected!
2014-07-05 23:57:50    173 | AS3935: Interrupt (1)
2014-07-05 23:57:50    173 | AS3935: Interrupt (0)
2014-07-05 23:57:50    173 | AS3935: Interrupt register is 0x4, pending status 0, pin 0
2014-07-05 23:57:50    173 | AS3935: Disturber detected!in1:     6   ->  5
Station 1046: Calgary, Alberta, Canada

Offline miraculon

  • Sunrise Side Weather
  • Forecaster
  • *****
  • Posts: 4107
  • KE8DAF
    • Sunrise Side Weather in Rogers City MI USA
Re: AS3595 not Detecting Strikes
« Reply #70 on: July 05, 2014, 09:53:40 PM »
I found the new Acu-Rite Lightning Detector and posted it here http://www.wxforum.net/index.php?topic=22740.msg219002#msg219002

I sent a message to Rhino asking if it uses the AS3935 IC from AMS. Reading between the lines in the manual and the timing of it makes me think (and hope) that it uses the AS3935. If so, I plan on parking it next to my AS3935 board interfaced to RED to see how they compare.

Greg


Hi Greg, I bought one of these some months ago, ( new lightning detector toy) and hoping it was the next Gen of detectors. The first storm we had, all my other detectors were going nuts, except this one, not a thing on it. Thru it in the box the next day thinking I wasted $ on it, very disappointed. Last night with the line of storms that came thru my area, thru another battery in it and it was working, holy cwap, it works. It was ranging pretty nicely with the online hits and triggering pretty good in time with my other detectors. Waiting later today for the next round of storms to come thru and check it out again. I was wondering the same thing, if it was using this chip in it and after reading the post of everyone stating these AS3595 units not detecting anything, I started to think that's what is in these units as well. Did you ever find out more on this unit and yes, I wish there was some sort of port that on it as well, but I guess one could make one if they knew the internals to this unit.     :-)     Frank

See earlier post: http://www.wxforum.net/index.php?topic=22235.msg219697#msg219697. I tore it down and the Acu-Rite does indeed use the AS3935.

Greg H.





Blitzortung Stations #706 and #1682
CoCoRaHS: MI-PI-1
CWOP: CW4114 and KE8DAF-13
WU: KMIROGER7
Amateur Radio Callsign: KE8DAF

Offline Jet

  • Member
  • *
  • Posts: 27
Re: AS3595 not Detecting Strikes
« Reply #71 on: July 06, 2014, 08:35:49 PM »
My prototype is working well.  Just had a storm go through, detected strikes out to 40km and overhead, and timing coincided with
the lightning strikes as well as distance estimation timings between strike and thunder.

Settings used were:
Tune: Auto
Noise Floor: 1100/78
Outdoor: Unchecked
Ignore Disturber: Checked
Signal Threshold: 1
Spike Rejection: 1
Red Firmware: 7.1

Detector board was placed 6m away from the Red Controller and up against a window (with Low E coating !)

It's  working better than my tautic AS3935 that's battery operated, which I suspect is due to being mounted close to the microcontroller, whereas the Red is not.

It's also working better than blitzortung which only detected 2 strikes during the storms that just rolled through, and we're currently under a severe thunderstorm warning.

Is there anywhere on blitzortung / lightningmaps.org which displays a AS3935 strike / energy history?
Station 1046: Calgary, Alberta, Canada

Offline Cutty Sark Sailor

  • WxElement panel
  • Forecaster
  • *****
  • Posts: 3393
    • Frankfort Weather - TwinHollies WeatherCenter
Re: AS3595 not Detecting Strikes
« Reply #72 on: July 06, 2014, 08:40:15 PM »
AS3935 is actually not a part of the Blitzortung system... a nice add on for those interested, however.
 


Offline dfroula

  • Forecaster
  • *****
  • Posts: 551
Re: AS3595 not Detecting Strikes
« Reply #73 on: July 06, 2014, 08:50:06 PM »
A very cool circuit!

Mine just started working with 6" I2C connections and the board mounted in the box a few inches from the controller. I did not change the ground, power, or anything else, other than using the Outdoor setting, as I mentioned.

My history can be seen at:

http://projectmf.homelinux.com/as3935_stats.html

The .csv log of all lightning history is at:

http://projectmf.homelinux.com/as3935_log.txt

Storms are just coming into range, so there should be some new activity over the next few hours.

Regards,

Don
WD9DMP


My prototype is working well.  Just had a storm go through, detected strikes out to 40km and overhead, and timing coincided with
the lightning strikes as well as distance estimation timings between strike and thunder.

Settings used were:
Tune: Auto
Noise Floor: 1100/78
Outdoor: Unchecked
Ignore Disturber: Checked
Signal Threshold: 1
Spike Rejection: 1
Red Firmware: 7.1

Detector board was placed 6m away from the Red Controller and up against a window (with Low E coating !)

It's  working better than my tautic AS3935 that's battery operated, which I suspect is due to being mounted close to the microcontroller, whereas the Red is not.

It's also working better than blitzortung which only detected 2 strikes during the storms that just rolled through, and we're currently under a severe thunderstorm warning.

Is there anywhere on blitzortung / lightningmaps.org which displays a AS3935 strike / energy history?
« Last Edit: July 06, 2014, 08:53:04 PM by dfroula »

Offline Dr Obbins

  • Forecaster
  • *****
  • Posts: 1152
Re: AS3595 not Detecting Strikes
« Reply #74 on: July 07, 2014, 09:11:24 PM »
Well I had a severe storm pass over. If the signal threshold was set at 0, it was picking up signals, but none seemed to correlate to what I could visually see out the window. For example I could see a strike, and it would not register. Or it would pick up a strike that I did not see and no thunder. So I set the threshold to 1 and received a few signals all at 1km, but the BO network picked up at least 20 in the close range area and I visually saw more that neither picked up.

I am thinking about remotely locating the AS3935 away from the controller. Right now it is in the basement garage which is mostly underground except for the garage doors. Will longer wires work? Is there a good place to get them pre-made? Or is something like the boards that Jet made the way to go?

 

anything