SparkFun AS3935 Lightning Detector Arduino Library


This is an Arduino Library for the AS3935 Lightning Detector by AMS
This library adds both I-squared-C and SPI functionality for the . The library gives you the ability to read lightning, get an estimate on its' distance, check its' 'energy', but also to reject noise and false lightning events. It also provides functions to tune the resonance frequency of the antenna! The entirety of the library's functions are demonstrated in the provided example code, making it easy to understand and follow along!

Author: Elias Santistevan

Maintainer: SparkFun Electronics

Read the documentation


This library is compatible with all architectures so you should be able to use it on all the Arduino boards.


To use this library, open the Library Manager in the Arduino IDE and install it from there.