Enginursday: Upgrading the Lightning Detector

Findings from Field Testing ⚡


I've had the good fortune of being outdoors quite a bit in the past month. I brought my DIY lightning detector project based on the AS3935 Lightning Detector with me on two backpacking trips and three days of rock climbing. I have made some changes and reprioritized what matters to me in the project based on my experiences.

Backpacking with the Lightning Detector

Comparative Distance Sensing

One of the first changes I added to the project was comparing the distance from the current reading to the previous reading. If the distance from the storm decreased since the last reading, I would received a special message on the OLED screen and three beeps from the buzzer. This was a huge boon for carrying the device while rock climbing. I could wait until a good spot to check the readout but still have some idea of how the storm might be progressing.

Harness View 2 Harness View 3

An early warning while rappelling, a good reason to not push for that "one more climb."

Water Resistance

Unsurprisingly, a water proof/resistant enclosure was needed for a second revision. While not needed as much for climbing in clear skies, you'll want to consider one for your electronics when the weather changes to rain or when the environment contains water hazards. I needed a way to prevent water from creeping into the enclosure while camping. On a trek through the St. Vrain Valley, I lost my footing while trekking down the flooded trail. My pack briefly dipped into St. Vrain's overflowed creek, but it was enough to render the detector useless for the rest of the trip, as I dared not reconnect the LiPo battery until I could clean and dry everything back at my workstation.

Backpacking with the Lightning Detector

My buddy's doggo making sure that I'm OK post-fall.

Visibility of the OLED

Some of you warned me about using an OLED for outdoor use but I had to see for myself. While I appreciated the options in output and being able to give written warnings, I found in the end all I really needed was a number to inform me how far away the weather front was from my location. I found myself often having to contort my body into providing shade for the display to make it legible.

Weight

The initial design came in at approximately 5 oz or 0.3 lbs. After hauling it around on a pack and harness for several weeks, I no longer noticed the extra weight. The height of the enclosure, however, became an annoyance when reaching for other gear on my harness.

The Re-Make ⚡


My goals for the outdoor detector were:

  • portable and sturdy enough that it could be clipped onto a harness
  • report out how close the approaching lighting is
  • give easy-to-understand indicators of a nearby strike

My goals for upgrading the new design were:

  • reduce the height of the enclosure and make it easier to access the battery
  • increase visibility of the read-out
  • increase the durability and water resistance of the project

Visibility

To address visibility in direct sunlight I turned to the 7 Segment Serial display. It displays all the data I really need, and I have found it quite easy to read in any situation. It is extremely easy to use and supports SPI, I2C and Serial/UART communication. I used Serial for this project as all I needed to connect was one wire for communication.

SparkFun 7-Segment Serial Display - Blue

SparkFun 7-Segment Serial Display - Blue

COM-11442
$13.95
5

Following this hardware change, the new hookup for the design is as follows.

Fritzing Diagram for the Redboard Turbo

Enclosure Water Resistance and Height

With the previous iteration of the project I used a box made from 0.25-inch acrylic. This was quite light and made a fairly good seal. I found that the enclosure was difficult to continuously re-open, burdensome on a narrow climb and not water resistant enough after my dip in the St. Vrain's creek water.

My solution for this was to 3D print an enclosure that fit my needs. I modified a design by McPorsche and used TinkerCAD to alter it for my needs.

I wanted an easy way to have accurate standoff placement in my 3D model. In TinkerCAD, there is an option to import a SVG (Scalable Vector Graphic) file onto your design. There are two easy ways I know of to accomplish this.

Enclosure Design w/ Eagle's Dimension Layer


First, we could go into the Eagle board's design file and find the dimension layer, export the simplified design as a DXF and convert to a SVG.

Harness View 2 Harness View 3

Click image for a closer view.

Enclosure Design w/ Fritzing's SVG File


Or, you can access the SparkFun Fritzing parts repo, where there are wonderful SVGs of many SparkFun products ready to use. Once the SVG is obtained, you simply import it onto your 3D model and can use it as a reference for making accurate standoff holes that are wide enough to mount boards.

Harness View 2 Harness View 2

Once the 3D model was ready, it was an easy print with one of our LulzBot 3D printers.

LulzbotView

Lulzbots and Cura make everything about 3D Printing a little easier

I really liked the design for offering durability with a sliding acrylic lid that can easily be attached to a carabiner.

⚡ V2 Ready to Hit the Trail ⚡


After printing and cutting a piece of acrylic, I was ready to hit the trail!

Harness View 2 Harness View 3

Final Weight

The initial design came in at approximately 5 oz (or 0.3 lbs), and V2 is approximately 8 oz (0.5 lbs). The height is reduced and with the new design, I do not foresee the extra weight being an issue.

Final Thoughts ⚡ ⚡ ⚡


It has been quite an interesting and informative experience building a project to withstand the destructive chaos of the "outdoors." The satisfaction of building a device to use 15 miles in the backcountry and seeing it work is a wonderful motivation to keep tinkering, building and rewiring. I will admit that although it was informative to get readings on an approaching storm, I was almost always already aware of it from weather reports or gazing at the sky. I also had the strange experience of driving toward the mountains because there was a storm approaching and I wanted to test out the system. I see a real functional use for the outdoor system on several pitches of rock climbing, where you are distracted and are not often in a position to view the weather. I was not sure where this project would end up when I started, but I am happy that I started it. No matter what your interests are, there are plenty of reasons to go out and Start Something!

comments | comment feed

Leave a Reply

Your email address will not be published. Required fields are marked *