Difference between revisions of "Lightning Detector"

From LVL1
Jump to navigation Jump to search
Line 25: Line 25:
 
==Lightning Strike Count==
 
==Lightning Strike Count==
 
The top 13 LEDs represent the binary count of lightning strikes since power on, reset or 8192 strike reset.  The LEDs are read from right to left in binary with RED for zero and Green for one.  To ensure there is no confusion with the time display, a single WHITE LED is displayed at the bottom of the loop.
 
The top 13 LEDs represent the binary count of lightning strikes since power on, reset or 8192 strike reset.  The LEDs are read from right to left in binary with RED for zero and Green for one.  To ensure there is no confusion with the time display, a single WHITE LED is displayed at the bottom of the loop.
 +
=Code=
 +
<code>
 +
</code>

Revision as of 08:41, 26 August 2021

JAC LD2 Portrait.jpg

With the readily available Lightning Detection Modules with multiple built in functions, I decided to build a simple circuit attributed to Charles Wenzel. The basic working principle is a 300kHz tank circuit with antenna. Lightning strikes induce a oscillation which is detected and amplified into a pulse. The arduino then measures the analog voltage of the generated pulse and increments a counter. The device uses a loop of Neopixel LEDs to display the count. Added to the circuit is a RTC which also displays the time on the loop.

Bill of Materials

JAC Lightning Detector BOM.jpg JAC Lightning Detector Neopixel Loop.jpg JAC Lightning Detector RTC.jpg

Schematic

JAC Lightning Detector Schematic.jpg

Fritzing

JAC Lightning Detector Fritzing.jpg

Builds

JAC Lightning Detector Circuit Board.jpg JAC Lightning Detector Circuit Back.jpg JAC Lightning Detector Proto Shield.jpg

Displaying Information

The white momentary tactile switch is used to display the time and number of lightning strikes.

Telling Time

Time is displayed with RED and Green LED colors. There are 24 LEDs in the loop. The hour is displayed with three RED LEDs around the loop corresponding to a twelve hour clock face. The minute is mapped around the loop like a minute hand but approximated to 24 positions on the loop.

Lightning Strike Count

The top 13 LEDs represent the binary count of lightning strikes since power on, reset or 8192 strike reset. The LEDs are read from right to left in binary with RED for zero and Green for one. To ensure there is no confusion with the time display, a single WHITE LED is displayed at the bottom of the loop.

Code