AS3935 lightning sensor & Circuitpython software library

Greetings

I want to connect the AS3935 lightning sensor to a RPi Pico microcontroller.

Is there a Circuit python software library for this sensor?

If so is the software designed for i2c ?

Does anyone have experience using the AS3935 sensor and a a Pico microcontroller?

Thanks

Tom

Thanks for reaching out to us on this.

https://pypi.org/project/sparkfun-circu … iicas3935/ - several results appeared after a google search for ‘AS3935 python’

NO, it is not designed for i2c…it is designed for SPI. You may, at your-own-risk, attempt to configure it for i2c, though please note (per the hookup guide):

“A Note on I²C - SparkFun does not actively support I2C on this product due to the inconsistency of its’ implementation by its’ manufacturer AMS and their lack of active support of the product.”

Hope this helps, and happy sparking!

Greetings

Has anyone worked with the RPI Pico?

Can someone tell me how to translate PIN numbers from the AS3935 circuitPython library program for use with RPI Pico?

I want to experiment with the AS3935 lightning sensor and the Pico.

Any help would be greatly appreciated.

Thanks

Tom

Try searching “as3935 micropython” online, that might help get you started with some code you can play with. :slight_smile: