FMUSER Wirless Transmit Video And Audio More Easier !

[email protected] WhatsApp +8618078869184
Language

    Lightning detector circuit program design based on AS3935 and Arduino UNO development board

     

    In order to make the atmospheric emission sensor easier to use, I have made a bracket plate containing the AS3935 integrated power supply. The heart is obviously IC, I put its power, the communication bus with the external microcontroller circuit and the main control signal to the outside. All lines for external connection or external processing are placed on one side of the pad lines of 2.54 mm gaps, and we can apply thin stripes on the pad. The data connection with the external environment is serial with the I2C bus or the SPI bus; in the last case, we will use the following line: MISO (primary input from output), used to break the board output, used to send data related to detected lightning to Arduino; MOSI (Main Output from Device Input), it is the data output of Arduino, which is used to transfer settings messages or confirm messages to branch panels; CS (Chip Select) is the product line of Arduino, allows the splitter to interact on the SPI bus; CS is useful because multiple devices can use SPI, and we need to avoid data colleagues, we need each communication session Enable only one device. The SCL (clock) corresponds to the signal of the synchronous bus communication. Note that if there is no additional designation, the pin 8 (ie, CS) of the AS3935 remains at the logic high level from its internal pull-up resistor, but it can be forced to logic zero by the JCS jumper that does not require external management. For serial communication modes, the second jumper (marked as Si) plugged in pin 9 (Select Interface) can be used on the branch board. Integrated AS3935 integration: In SPI mode, if 9 is logical zero; If the selection interface is in VDD, work in I2C mode. In my app, I chose the first option, so you can see the jumper is closed. Be I received the IRQ pin (10) terminal 3 3, when IRQ is an output, it communicates with the microcontroller; when the lightning is detected and the corresponding value is written to one of the internal registers, the AS3935 will Logic level pull high (REG0X03 [3: 0]). Input phase, this is the stage that allows me to detect radio interference corresponding to lightning; this is related to pins 2 and 3, they are the radio receiver input of the integrated circuit, it needs to add a definition circuit in the input, so that Tuning a certain bandwidth and exclude low frequency interference with an antenna. Purpose. application I propose, it is basically consisting of three elements: lightning protection device (can be used on the distribution board), the Arduino UNO board (its responsibility is to analyze the signal provided by the sensor, process it, on the serial LCD display Displayed) The third element of the circuit is extracted, that is, the number of discharges detected and the estimated distance, it can be considered "generated" of lightning. As shown in the wiring diagram in these pages, all components must be connected, the sensor bracket plate is connected to the Arduino interface through the ISCP connector, because the latter has a complete 4-wire SPI bus. To manage serial display, we use software sequences that simulates through the SoftWareSerial.h library, which allows you to release hardware sequences for possible applications that require it. As described above, the sensor splitter can receive all settings and transmit data about lightning detection via the SPI bus. The board chip itself is sufficient to measure the strength and detect the discharge process detected by the coil mounted on the tap plate, so the provided data does not require Arduino to perform any special processing. The connection to the division board uses the SPI bus reported on the ICSP connector; then we will take the GND (ground) and VCC (connected to + 5V) from Arduino from Arduino. CS (in the logical level 0 is active) by Arduino's digital I / O 3, set it to the output from the sketch, and the IRQ of the Decomposition plate is interface with the digital I / O 2, so it is initialized to input because of the specifically It is said that IRQ will inform Arduino may be with the IC circuit or a microcontroller in which the microcontroller in which the microcontroller can read the contents of the registry. When IRQ returns logic zero, there is at least 2 milliseconds of pause, then read the registry again. For a serial LCD display, it is connected to Arduino via 5V and GND terminals for power and digital I / O 5 (set to output), send data serial to the RX terminal on the LCD. Typically, the storm notification and the number of tests are displayed within less than 60 seconds. If there is no other detected within 60 seconds, the notification "undetected lightning" is displayed. If the detection distance can be found in the registry of the integrated circuit, this information is also displayed in the second row and displays a message in the following line: Disturb Det. X Where "X" indicates the number of discharges detected. Here you can see: Distance: n km Where "N" is an estimated distance of the ground in the lightning hit. If the distance is less than the minimum distance, the first line shows the Storm overhead, the second line shows Watch Out! Be Be Article Source HackADAY

     

     

     

     

    List all Question

    Nickname

    Email

    Questions

    Our other product:

    Professional FM Radio Station Equipment Package

     



     

    Hotel IPTV Solution

     


      Enter email  to get a surprise

      fmuser.org

      es.fmuser.org
      it.fmuser.org
      fr.fmuser.org
      de.fmuser.org
      af.fmuser.org ->Afrikaans
      sq.fmuser.org ->Albanian
      ar.fmuser.org ->Arabic
      hy.fmuser.org ->Armenian
      az.fmuser.org ->Azerbaijani
      eu.fmuser.org ->Basque
      be.fmuser.org ->Belarusian
      bg.fmuser.org ->Bulgarian
      ca.fmuser.org ->Catalan
      zh-CN.fmuser.org ->Chinese (Simplified)
      zh-TW.fmuser.org ->Chinese (Traditional)
      hr.fmuser.org ->Croatian
      cs.fmuser.org ->Czech
      da.fmuser.org ->Danish
      nl.fmuser.org ->Dutch
      et.fmuser.org ->Estonian
      tl.fmuser.org ->Filipino
      fi.fmuser.org ->Finnish
      fr.fmuser.org ->French
      gl.fmuser.org ->Galician
      ka.fmuser.org ->Georgian
      de.fmuser.org ->German
      el.fmuser.org ->Greek
      ht.fmuser.org ->Haitian Creole
      iw.fmuser.org ->Hebrew
      hi.fmuser.org ->Hindi
      hu.fmuser.org ->Hungarian
      is.fmuser.org ->Icelandic
      id.fmuser.org ->Indonesian
      ga.fmuser.org ->Irish
      it.fmuser.org ->Italian
      ja.fmuser.org ->Japanese
      ko.fmuser.org ->Korean
      lv.fmuser.org ->Latvian
      lt.fmuser.org ->Lithuanian
      mk.fmuser.org ->Macedonian
      ms.fmuser.org ->Malay
      mt.fmuser.org ->Maltese
      no.fmuser.org ->Norwegian
      fa.fmuser.org ->Persian
      pl.fmuser.org ->Polish
      pt.fmuser.org ->Portuguese
      ro.fmuser.org ->Romanian
      ru.fmuser.org ->Russian
      sr.fmuser.org ->Serbian
      sk.fmuser.org ->Slovak
      sl.fmuser.org ->Slovenian
      es.fmuser.org ->Spanish
      sw.fmuser.org ->Swahili
      sv.fmuser.org ->Swedish
      th.fmuser.org ->Thai
      tr.fmuser.org ->Turkish
      uk.fmuser.org ->Ukrainian
      ur.fmuser.org ->Urdu
      vi.fmuser.org ->Vietnamese
      cy.fmuser.org ->Welsh
      yi.fmuser.org ->Yiddish

       
  •  

    FMUSER Wirless Transmit Video And Audio More Easier !

  • Contact

    Address:
    No.305 Room HuiLan Building No.273 Huanpu Road Guangzhou China 510620

    E-mail:
    [email protected]

    Tel / WhatApps:
    +8618078869184

  • Categories

  • Newsletter

    FIRST OR FULL NAME

    E-mail

  • paypal solution  Western UnionBank OF China
    E-mail:[email protected]   WhatsApp:+8618078869184   Skype:sky198710021 Chat with me
    Copyright 2006-2020 Powered By www.fmuser.org

    Contact Us