|
Post by arnylogan on Aug 14, 2018 9:41:25 GMT -8
Hi...i am a new user here. As per my knowledge it is not easy. Your computer (even your Raspberry PI and Arduino!), your car, the motor in your refrigerator, your cell phone, your computer monitor, your AM/FM radio and even your TV. They all make electrical noise that can be confused with Lightning.The Thunder Board is an I2C device and detects Lightning and provides a distance estimate to the “leading edge” of an incoming storm.
|
|
|
Post by SDL on Aug 14, 2018 16:06:19 GMT -8
You are correct. There are many sources of electrical noise which contributes to the noise floor and hence the sensitivity of the lightning detector.
Watch this video:
BP
|
|
|
Post by Silvio Santos on Jul 3, 2019 13:03:06 GMT -8
Can a barometer generate noise? I mean , not the entire arduino , only the barometer next to the as3935???
|
|
|
Post by SDL on Jul 4, 2019 7:01:08 GMT -8
Don't know about your barometer. I doubt it. The major sources of noise will be the processors.
BP
|
|
|
Post by rschre on Sept 9, 2019 10:15:23 GMT -8
I successfully assembled the RPi lightning detector kit, it has tested o.k. and is working great.
After viewing the Video "How to tune your Thunderboard" I haven't been able to figure out how to modify those default values, if it becomes necessary to try different sensitivity levels. Mention was made in the video of using the OurWeather webpage but that doesn't seem to be an option with just the Thunderboard, as opposed to the complete weather station.
I have looked at some of the scripts in the SDL_Pi_ThunderBoard_IOT directory but cannot determine if there is a place to set new values.
Would appreciate knowing how to proceed.
BTW I posted this question as a guest on the sticky post announcing the video, but guess that was probably not the proper thread to ask for help.
Thanks
|
|
|
Post by SDL on Sept 10, 2019 12:37:49 GMT -8
|
|
|
Post by rschre on Sept 11, 2019 9:33:50 GMT -8
I posted response in the wrong thread again! ------------ The posting refers to the SkyWeather software which I have not installed for the stand alone RPi lightning detector. So do I modify my config.py and run that or if not, what am I supposed to run to change the values in the AS3935? Can I install SkyWeather since I don't have the complete weather station. Sorry, I am low on the learning curve and probably need more explicit detail. Thanks. Richard Read more: forum.switchdoc.com/thread/614/video-posted-thunder-board-as3935#ixzz5zEqlYT00
|
|
|
Post by SDL on Sept 12, 2019 11:12:05 GMT -8
Here is the key part of the Python software for configuring the AS3935 from SkyWeather:
BP
#set values for lightning # format: [NoiseFloor, Indoor, TuneCap, DisturberDetection, WatchDogThreshold, SpikeDetection] # default: [2,1,7,0,3,3] NoiseFloor = config.AS3935_Lightning_Config[0] Indoor = config.AS3935_Lightning_Config[1] TuneCap = config.AS3935_Lightning_Config[2] DisturberDetection = config.AS3935_Lightning_Config[3] WatchDogThreshold = config.AS3935_Lightning_Config[4] SpikeDetection = config.AS3935_Lightning_Config[5]
try:
print "as3935 start"
as3935.set_noise_floor(NoiseFloor) as3935.set_indoors(Indoor) as3935.calibrate(tun_cap=TuneCap) as3935.set_mask_disturber(DisturberDetection) as3935.set_watchdog_threshold(WatchDogThreshold) as3935.set_spike_detection(SpikeDetection)
|
|
|
Post by rschre on Sept 19, 2019 13:48:33 GMT -8
Thanks for the feedback.
Are there any plans to create something aside from SkyWeather for those who just purchased a Thunderboard to be able to easily fine tune the parameters of the AS3935?
Frankly I am a novice when it comes to coding. Can get most things running, alter minor blocks of code, and have experience using the RPi for a number of projects, but not the level of expertise to incorporate the code you pointed out into a useful program.
I don't like to pester people for help if I can resolve something like this on my own. However ,unless someone can give me more explicit instructions I am unable to tune the Thunderboard. There is a fair amount on the SwitchDoc website about the parameters that can be tuned and a good video describing the values needed to optimize the Thunderboard, but no clear and simple statement of how to do it.
Am I the only one who is having difficulty?
|
|
|
Post by SDL on Sept 23, 2019 11:14:57 GMT -8
This is all the code you need to program the ThunderBoard.
Put this in your Python code and set those variables to the appropriate tuning number.
as3935.set_noise_floor(NoiseFloor) as3935.set_indoors(Indoor) as3935.calibrate(tun_cap=TuneCap) as3935.set_mask_disturber(DisturberDetection) as3935.set_watchdog_threshold(WatchDogThreshold) as3935.set_spike_detection(SpikeDetection) Post your code up here and I'll show you were to put this.
BP
|
|