
SparkFun Lightning Detector - AS3935
The SparkFun Lightning Detector adds experimental lightning detection to a custom weather station or weather-logging project. Powered by the AS3935 Franklin Lightning Sensor from AMS OSRAM, the board detects lightning up to 40 km away with 1 km accuracy in 14 steps and estimates the distance to the head of the storm.
Detecting lightning electromagnetically often faces false positives from man-made electrical noise, so the AS3935 includes a built-in rejection algorithm that filters common disturbers. The Arduino library adds further control: indoor and outdoor sensing profiles, adjustable noise-floor thresholds for high-RF environments, and configurable strike thresholds so a hardware interrupt fires only after the number of strikes you choose.
Interface note: although the AS3935 chip technically supports I2C, SparkFun exclusively supports SPI communication for this board due to inconsistent I2C implementation by the manufacturer. All hardware is present on the board, but official libraries and technical support are dedicated to the supported SPI connection.
Limitations: detection range and distance figures are estimates, and man-made electrical noise can still trigger false events even with the disturber filter enabled. This board is intended for experimental weather logging and hobbyist projects. It is not a safety device and must not be relied on for safety-critical weather decisions or for the protection of people, property or equipment.
Features
- AMS OSRAM AS3935 Franklin Lightning Sensor
- Detects lightning up to 40 km away; distance-to-storm estimation with 1 km accuracy in 14 steps
- Programmable detection levels and strike thresholds with hardware interrupt
- Built-in "disturber" (false event) rejection algorithm
- Indoor and outdoor sensing settings; adjustable noise floor
- SPI interface (I2C hardware included on board but not supported by SparkFun)
- Supply voltage: 2.4 V to 5.5 V
- Arduino library and example sketches available
Package Includes
- 1 x SparkFun Lightning Detector - AS3935
Headers and microcontroller are not included.