|
Post by Powderjockey on Aug 19, 2017 12:11:13 GMT -8
Any place you can point me towards to get a script for the lightning detector?
Not sure if you have one built into some of the weather scripts.
|
|
|
Post by SDL on Aug 19, 2017 12:25:21 GMT -8
Script in what Language? GroveWeatherPi has the support for the Lightning Detector built in. Look through the code for the 3935.
BP
|
|
|
Post by Powderjockey on Aug 20, 2017 13:49:03 GMT -8
English. I have it attached to the Pi2Grover - Raspberry Pi to Grove Connector Interface Board, along with the Grove Sunlight / IR / UV I2C Sensor Sunlight/UV.
i2cdetect -y 1 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: 40 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: 60 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- -- I did find some code to test the sensor and the zip file RaspberryPi-AS3935-master. I will play around and see what I get.
|
|
|
Post by SDL on Aug 20, 2017 14:59:58 GMT -8
It should show up on 0x03. Try it without the other two devices.
BP
|
|