Raspberry Pi Lightning Detector - Version 3.2

v4.0 is coming along nicely now. I’ve made all the mods that I want to make for this version. Each mod has been tested as I’ve added it but I’m doing a final re-confirmation that everything still works with all the mods complete. After that I need to update the installation scripts, build the installation package and do a clean OS build install. Then it will be ready for release.

I’m very happy with this version. It seems robust and is (finally) using a combination of technologies that I think should be good for the future and will support other IoT projects I have in mind.

This sounds great!

You’re one smart programmer. Alas, I ordered a couple of Python for Dummies books.

My Pi is wiped and operating system is reinstalled for the new version.

Well done for ordering the books :smiley: I put off learning Python for years but I wish I’d done it sooner. It’s one of the easier languages to get to grips with so I’m sure you’ll have fun.

I’ve just finished packaging v4.0. I’ve installed it against a fresh OS build and also against a build running v3.2. I had to make a few minor tweaks but it now works as I want it to. I’ve got the installation documentation drafted and that just needs a final check through and posting into the forum with the installation zip file attached. It’s time to eat now, but I should be able to finish that last bits off and post the new version later this evening.

I’m refresh the ‘new’ posts every 15 minutes :lol:

v4.0 has been posted.

Hey Chris,

I started to make this lightning detector on an RPI 4 Model B 2GB

But instead of the PI 3 Click Shield, i bought the PI 4 Click Shield. (Pi 4 Click Shield)

I can see that it show register 0x00 all the way down. Even though i have mounted the Thunder Click board in the Socket 1 and also configured this during installation. Do you know if it was a bad choice not to buy the PI 3 Click Shield? Or is there a way to address the Socket 1 on the PI 4 Click Shield?

Could it be releated to the

Ensure that the small GPIO/ADC switch on the Click Shield for the socket you choose is set to GPIO
? I didn’t find a switch on the Pi 4 Click Shield

Awesome project!

Best regards
Stephan

Hi Stephan

I hadn’t seen the Pi4 Click Shield before so I have no experience of it. I had a quick look through the documentation last night and noticed on the schematic there are three jumpers mentioned JP1/2/3 which seem to relate to selecting between the ADC and GPIO for each socket. Maybe they have replaced the small switches with jumpers? Try tracking those down and see if they’re set correctly. If that doesn’t help then I’ll have a longer read of the docs later on.

Good luck in the football tonight…although not too much!!

Hi Chris,

Thanks for getting back to me. Yes, it seems like i have to change all 3 smd components to change from ADC to GPIO. Would have been much easier with a jumper :slight_smile:

I am not much into footbal, but i can see that we have a real chance of going all the way like in '92 :slight_smile:

my best
Stephan

Well, i have soldered all 3 jumpers to set for the GPIO. Ran the installer and set 1 for the Socket 1 where i have the lightning sensor. And the register shows 0x00 all the way down. I changed the lightning sensor to socket 2 and ran the install again for socket 1 (just to be sure that things are not mixed) And still the same. Then i ran the install with 2 in the command line. And it is still the same with 0x00 all the way down…

my best
Stephan

I’ll need to take a deeper dive into the Pi4 Click Shield to try to figure out what’s different. I’ll also look to see if I can write some diagnostic software to try to locate the lightning board in a different way to try to figure out why it’s not being detected.

Great little project, I know I am late to the party but I have installed and got it running but getting nothing on the webpage, any ideas?

Also I saw a reply by Chris saying v4 was posted, where can this be found?

Version 4 is here - Raspberry Pi Lightning Detector v4.0 - Software / Internet of Things (IoT) Projects - Weather-Watch.com

Rather than trying to debug your v3 problem you’re probably better installing v4 instead and seeing if that works.

Unfortunately I had to use my development RPi for another project so I’ve not been able to look at this for some time. Now that Pi’s are becoming more available I’ll have to buy another one to get it set up again.

No problem and thanks for the reply. I appreciate its an old thread.

I will download and install V4 and see if that helps. Thanks again, i will update hopefully with a working sytem :upside_down_face: