Skip to content
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Development
  3. Lightning report - any idea ?
  • Getting Started
  • Controller
  • Build
  • Hardware
  • Download/API
  • Forum
  • Store

Lightning report - any idea ?

Scheduled Pinned Locked Moved Development
9 Posts 4 Posters 1.7k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • warmaniacW Offline
    warmaniacW Offline
    warmaniac
    wrote on last edited by
    #1

    Hi ,

    I found this simple setup for lightning detection

    [https://create.arduino.cc/projecthub/runtimeprojects/a-lightning-detector-for-arduino-9f679c](link url)

    is there some way to implement it with mysensors to see it for example in domoticz ?

    1 Reply Last reply
    0
    • gohanG Offline
      gohanG Offline
      gohan
      Mod
      wrote on last edited by
      #2

      There are some actual distance sensors for lightnings (you can find them on many sites) that returns a distance value that can be sent to controller. The linked setup can just detect if one has struck within 10-20km. I don't get if could be of any use.

      warmaniacW 1 Reply Last reply
      0
      • gohanG gohan

        There are some actual distance sensors for lightnings (you can find them on many sites) that returns a distance value that can be sent to controller. The linked setup can just detect if one has struck within 10-20km. I don't get if could be of any use.

        warmaniacW Offline
        warmaniacW Offline
        warmaniac
        wrote on last edited by
        #3

        @gohan

        Yes this is true but these requires of buying sensors for about 30€ for example AS3935 , I think that one , which I mentioned is cheap because it only needs 2x 10 kOhm and 3,3 mOhm resistors . Only problem which I had is bring that code works with mysensors.

        sundberg84S 1 Reply Last reply
        0
        • gohanG Offline
          gohanG Offline
          gohan
          Mod
          wrote on last edited by
          #4

          You would have to treat it like a pir sensor

          1 Reply Last reply
          0
          • warmaniacW warmaniac

            @gohan

            Yes this is true but these requires of buying sensors for about 30€ for example AS3935 , I think that one , which I mentioned is cheap because it only needs 2x 10 kOhm and 3,3 mOhm resistors . Only problem which I had is bring that code works with mysensors.

            sundberg84S Offline
            sundberg84S Offline
            sundberg84
            Hardware Contributor
            wrote on last edited by
            #5

            @warmaniac - this is an old thread but here is a example for lightning sensors: https://forum.mysensors.org/topic/880/sketch-for-lightning-sensor/11 (with distance).

            Controller: Proxmox VM - Home Assistant
            MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
            MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
            RFLink GW - Arduino Mega + RFLink Shield, 433mhz

            warmaniacW 1 Reply Last reply
            0
            • sundberg84S sundberg84

              @warmaniac - this is an old thread but here is a example for lightning sensors: https://forum.mysensors.org/topic/880/sketch-for-lightning-sensor/11 (with distance).

              warmaniacW Offline
              warmaniacW Offline
              warmaniac
              wrote on last edited by
              #6

              @sundberg84

              yes , but this solution needs buying of sensor which costs about 25-30 € , this what I write , take a look on it needs only resistors and wires (plus arduino and radio of course)

              sundberg84S 1 Reply Last reply
              0
              • warmaniacW warmaniac

                @sundberg84

                yes , but this solution needs buying of sensor which costs about 25-30 € , this what I write , take a look on it needs only resistors and wires (plus arduino and radio of course)

                sundberg84S Offline
                sundberg84S Offline
                sundberg84
                Hardware Contributor
                wrote on last edited by
                #7

                @warmaniac - I was thinking you could use the code for your home-made sensors.. types and so on. Just for inspiration.

                Controller: Proxmox VM - Home Assistant
                MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
                MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
                RFLink GW - Arduino Mega + RFLink Shield, 433mhz

                1 Reply Last reply
                0
                • gohanG Offline
                  gohanG Offline
                  gohan
                  Mod
                  wrote on last edited by
                  #8

                  the one you are trying to build it is a detector, not really a sensor :D

                  1 Reply Last reply
                  0
                  • wallyllamaW Offline
                    wallyllamaW Offline
                    wallyllama
                    wrote on last edited by
                    #9

                    The project you linked to uses a feature of the atmega to speed up the a/d sample rate, leaving little processing for other work. It also sends a 512 byte payload, whih is nice for graphing, but Im guessing you'd like a count of lightning, strength, and distance. This one would give strength and count. If I were doing this, I'd use 2 arduinos, 1 as a detector, 1 to parse the data and act as the mysensors node. Look through the apu docs. There is probably a reasonable data type to send the processed data to domoticz or what ever you like.

                    If I were really doing this, I would look for a more robust detector using discrete components. And connect it to an arduino/mysensors node.

                    This one may work. (Maybe more complicated to build)
                    http://www.techlib.com/electronics/lightningnew.htm

                    An old am radio tuned to an unused frequency, could be connected to an arduino analog pin with some resistors and capacitors, and sampled at 9600 samples/sec or less and could be done with 1 arduino.

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    17

                    Online

                    11.7k

                    Users

                    11.2k

                    Topics

                    113.0k

                    Posts


                    Copyright 2019 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • OpenHardware.io
                    • Categories
                    • Recent
                    • Tags
                    • Popular