Hi!

I have another issue with this setup, but that´s in another question. 

I saw your connections and they differ from mine quite much so I wonder 
which one is correct?! 

I´ve been told to connect like this:

VCC -> 3,3V
GND -> GND
SCL -> PIN 5
MOSI -> PIN 3
SI -> 3,3V
A0 -> 3,3V
A1 -> 3,3V

And I got respones when running demo.py
And also in syslog weewx seeing lightning or maybe its something that looks 
like lightning. But it seems to react to something anyway.
You can read about my database issue in my own question, and if you have 
some answer to that it would be great! 
I´m not very good at linux so there is much trail&error :)
I hope someone can help you with your question!

Den måndag 8 juli 2019 kl. 10:48:22 UTC+2 skrev dan Forster:
>
> Hi,
>
> I bought one of these from eBay  - *MA5532 AS3935 2.4V to 5.5V Lightning 
> Fulmine Sensor Breakout SPI/I2C Antenna*. I have connected it all up and 
> have it working fine, confirmed by using the demo script and install 
> instructions supplied here *https://github.com/pcfens/RaspberryPi-AS3935 
> <https://github.com/pcfens/RaspberryPi-AS3935>.* I can see that a few 
> people had problems connecting the module, so I have attached a picture of 
> how I have wired to get it working perfectly (note one address line has to 
> be set to common ground and the address is 00x0 *NOT 00x3)*.
>
> I then followed these instructions 
> *https://github.com/weewx/weewx/wiki/as3935 
> <https://github.com/weewx/weewx/wiki/as3935>* in order that it can be 
> used within my weewx weather station. I have managed to do everything as it 
> says on this page, including the part at the bottom of the page with 
> regards to the extra sqlite database holding the lightening detector data 
> (which I confirmed exists in the same place as the weewx db).
>
>  
>
> Now I am using the Seasons skin and would like to get help on adding the 
> two new lightening detector values (lightning_strikes and avg_distance)into 
> the Seasons skin web page (at the bottom of the Current Conditions list). I 
> think the file I need to alter is /etc/weewx/skins/Seasons/current.inc.
>
>  
>
> I am OK with electronics and getting better at Linux, but I am terrible at 
> HTML. Any pointers would be greatly appreciated...
>
>  
>
> Dan
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/136660ca-b992-45e3-9b6b-e882b3263057%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to