What you need:
1PCS Arduino UNO
1PCS USB Cable
1PCS AS3935 Light Sensor
6P Female to Male Dupont Cable
Connection:
AS3935 Arduino UNO
VCC 5V
GND GND
SCL A5
SDA A4
IRQ D5
First you need use IIC.ino to find the IIC address of the AS3935 sensor
Then you need change IIC address in the AE_AS3935DEMO-.ino, upload the code and open the serial monitor, please choose 9600 baud.
In my case, I changed the Line 11 and Line 66 to 0x03
11 #define AS3935_ADRS 0x03 66 Wire.write(0x03);
Below is the result
Code link
https://github.com/PlayingWithFusion/PWFusion_AS3935_I2C
Manual link
https://tinyurl.com/y5vnlwjd
Video link
https://youtu.be/uQwvpUYsRok
Website Link
http://www.diymalls.com/GY-AS3935-Lightning-Detector-Digital-Sensor
Alibaba Link http://aliurl.cn/axyizl
Aliexpress link http://aliurl.cn/as06xt
Amazon link www.amazon.com/dp/B087358RNT
Any question please email sales@diymalls.com