The Grove AS3935 Lightning sensor is an easy-to-use sensor built around the AS3935 IC, which can detect both cloud-to-ground and intra-cloud types of lightning for up to 30 or 40 km. It is programmable with I2C or SPI communication and supports 3.3V and 5.0V power supply.