Troubleshooting

Lightning sensor AS3935

userHead Lkr4sn 2025-05-10 15:14:04 570 Views0 Replies

Hi,

I am experiencing some problems with my Lightning sensor.

It detects electromagnetic fields generated by my home appliances when it is placed very close to them but, sadly, it never detects lightnings!

My parameters are the following :

 

#Antenna tuning capcitance (must be integer multiple of 8, 8 - 120 pf)
AS3935_CAPACITANCE = 120

 

#set indoors or outdoors models
#sensor.setIndoors()
sensor.setOutdoors()

 

#disturber detection
sensor.disturberEn()
#sensor.disturberDis()

 

#Set the noise level,use a default value greater than 7
sensor.setNoiseFloorLv1(2)
#noiseLv = sensor.getNoiseFloorLv1()

#used to modify WDTH,alues should only be between 0x00 and 0x0F (0 and 7)
sensor.setWatchdogThreshold(2)


#wtdgThreshold = sensor.getWatchdogThreshold()

#used to modify SREJ (spike rejection),values should only be between 0x00 and 0x0F (0 and 7)
sensor.setSpikeRejection(2)

 

I suppose that these parameters are not correct, can you help?

Thanks,

Philippe