FMUSER Wirless Transmit Video And Audio More Easier !

[email protected] WhatsApp +8618078869184
Language

    DIY anti-wire alarm system

     

    The project is to solve the problem of preventing burns by using the PIR motion sensor and IR non-contact temperature sensor. When the infrared temperature sensor detects a temperature above 40 degrees Celsius and the PIR motion sensor simultaneously detects the movement, the LED is lit, used to remind the user to prevent the user from touching the fever. Be Hardware components: PIR motion sensor MLX90614 led Jumper Particle argon Breadboard Resistance 220Ω flow chart: Schematic: PIR motion sensor and LED: MLX90614 Infrared Temperature Sensor: Really connected: On the first test panel, there is a connection of the PIR motion sensor and an external LED and a 220Ω resistor and D7 LED on the test panel. The PIR motion sensor has three connections. The first voltage connected to 3.3 V The second "data" connected to the D2 pin The third connection to the GND pin External LEDs are connected in series with 220Ω resistors connected to D4 and GND. (PIR motion sensor and LED) (Side view of PIR motion sensor and LED) On the second test panel, it is connected to the MLX90614 temperature sensor. The temperature sensor has four connections. The first connection is SDA pin The second connection is SCL pin The third connection is GND The fourth connection is 3.3 V voltage (Infrared Non-contact Temperature Sensor) (Side view of infrared non-contact temperature sensor) test: The alarm system is only lit as long as the temperature exceeds its threshold. The collected data is the number of instances of motion sensors and temperature sensors simultaneously triggered. Where only the temperature sensor is detected, there is no data from the motion sensor. This is because no motion is detected, so the motion sensor is to be triggered, so the two LEDs have not triggered. In the second half of the chart, two sensors are shown, causing two LEDs to light. Real-time data: Data 1, data 2 (Sports and date data) (Temperature and date data) (IFTTT motion sensor notification system) Appendix: Sports sensor: (Generate this code to detect the movement. Once the motion is detected, you will notify the code to light the outside LED and D7 LED pin) INT INPUTPIN = D2; // Select the input pin (for PIR sensor) INT ledpin = D4; // LED pin INT pirState = low; // We started, assuming no motion INT VAL = 0; // Read the variable of the pin status INT CALIBRATETIME = 5000; INT count = 0; // Waiting for a calibration Void setup () { PINMODE (D2, INPUT); PINMODE (D7, OUTPUT); PINMODE (D4, OUTPUT); Be Be Particle.subscribe ("Hot", Test1); // Declaration Sensor is input } Void loop () { Be VAL = DIGITALREAD (D2); } Be Void Test1 (Const Char * Event, Const Char * DATA) { Be Be IF (VAL == High) { // The current state is stationary // is changed / / Announce this change by issuing an event // We just opened // DigitalWrite (D7, HIGH); // delay (20000); // DIGITALWRITE (D7, Low); Count ++; // count = count +1 Particle.publish ("PhotonMotion", "Motion Detected", Private; Be DELAY (1000); //For (i=0;i<80;i+) { DigitalWrite (D4, HIGH); DigitalWrite (D7, HIGH); DELAY (500); // Waiting for 1MS DigitalWrite (D4, Low); DigitalWrite (D7, Low); // DigitalWrite (D5, HIGH); // delay (500); // Wait for 1ms } Temperature sensor: (Whenever the temperature exceeds 40 degrees Celsius, this code will be generated to release "high temperature" event) // This #include statement is automatically added by the particle IDE // LedwithTemp #include Float Object_Tempc; ADAFRUIT_MLX90614 mlx = adafrouit_mlx90614 (); Void setup () { Mlx.begin (); } Void loop () { Object_tempc = mlx.readObjectTempc (); IF (Object_Tempc>40.0) { String Temperature = String (Object_Tempc); Particle.publish ("Hot", "Temperature", Private; DigitalWrite (D2, HIGH); // Release to the cloud Be } //Serial.print ("Ambient = "); serial.print (mlx.readambientTempf ()); //Serial.print ("*f \TObject = "); serial.print (mlx.readObjectTempf ()); serial.println (" * f "); DELAY (1500); }

     

     

     

     

    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