We are aware of the issues associated with the Lightning sensor failing to initialize. We are currently working with the development team associated with the product and are working on a fix.
We are still not entirely sure what the issue is and some of the fixes that have been mention in the threads in this topic are not 100% guaranteed to work, however, we have had some success in-house with the following:
You may also try bypassing the Qwiic system altogether and going straight to I2C pins if you think the Qwiic system is suspect, however, if the Qwiic scan returns 0x03 than there is no issues with the Qwiic system.
If you have tried all of the above and things are still not working, provide a photo of your setup and as much information as possible in the [ LIGHTNING DETECTOR UNABLE TO INITIALIZE thread. We will review it and try to figure what what the next step is.](https://forum.sparkfun.com/viewtopic.php?f=105&t=49838)](GitHub - sparkfun/SparkFun_AS3935_Lightning_Detector_Arduino_Library)