Tutorial 5# Smoke Sensor MQ2 with Arduino UNO.

Поделиться
HTML-код
  • Опубликовано: 7 янв 2025

Комментарии • 31

  • @immrnoidall
    @immrnoidall 5 лет назад

    i just used a 5VDC relay switch on with the AO. It can switch on anything up to 10 amps ,110/220 VAC ,OR 30 VDC. fan,light, buzzer. i have some computer fans hooked up to push air into my battery bank enclosure, in my camper, to vent out any gas if needed.

  • @khaliddiaa8657
    @khaliddiaa8657 3 года назад

    You are the best bro - thank you so much 🙏🏼🙏🏼🙏🏼🙏🏼🙏🏼

  • @pradeepgupta1190
    @pradeepgupta1190 Год назад

    My MQ2 sensor detects only smoke but does not detect LPG

  • @sanyamiri
    @sanyamiri 3 года назад

    sir have you also done this with gsm module?

  • @amiraabdulwanis8960
    @amiraabdulwanis8960 6 лет назад

    sir, my sensor give me (1) if there is a smoke or not !!! in measuring digital output

  • @williamwilliam4751
    @williamwilliam4751 5 лет назад +2

    thx for helping my project, may god bless you :)

  • @ambedkarshmit
    @ambedkarshmit 6 лет назад

    Is this sensor is used to detect the fruit ripining.

  • @irenicme8649
    @irenicme8649 5 лет назад

    How to connect motors to this circuit?
    Please sir tell me I Making a project in school
    The name of the model is smoke absorber

  • @Ajith1810
    @Ajith1810 6 лет назад

    sir can i have that program in the video the last part is not clear!

    • @kuldeepsinghkaswan5148
      @kuldeepsinghkaswan5148  6 лет назад +2

      int buzzer = 10;
      int smokeA0 = A5;
      int sensorThres = 500;
      void setup() {
      pinMode(buzzer, OUTPUT);
      pinMode(smokeA0, INPUT);
      pinMode(13, OUTPUT);
      Serial.begin(9600);
      }
      void loop() {
      int analogSensor = analogRead(smokeA0);
      Serial.print("Pin A0: ");
      Serial.println(analogSensor);
      // Checks if it has reached the threshold value
      if (analogSensor > sensorThres)
      {
      tone(buzzer, 1000, 200);
      digitalWrite(13, HIGH);
      }
      else
      {
      noTone(buzzer);
      digitalWrite(13, LOW);
      }
      delay(1000);
      }

    • @Ajith1810
      @Ajith1810 6 лет назад

      Thank u sir!

  • @gagan.g.d7837
    @gagan.g.d7837 2 года назад

    5:06

  • @420ZEO
    @420ZEO 6 лет назад

    sir kindly give the code to run the program the one you had given in comments is not working>>

  • @lifebytesss
    @lifebytesss 6 лет назад

    sir , what is (1000,200)

  • @thortv1952
    @thortv1952 6 лет назад

    how can u make this type jumper

  • @zubairusmani6716
    @zubairusmani6716 5 лет назад

    Assalamualaikum so smoke detectors audios Arena closed circuit asmy Humne 3 sensor use karne Channel One channel to channel 3 May is complete informations Dekhe usme software kaise kiya jaye aur uski language Gaye Woh sari information Bataye Hum Kya Kare

    • @zubairusmani6716
      @zubairusmani6716 5 лет назад

      Arduino Nano gadi hai usko Apna Humne 3 senses gas sensors used karni hai uske Ramya information program

  • @nisargpatel5858
    @nisargpatel5858 5 лет назад

    Plz send the code's link

  • @vellaengineer5776
    @vellaengineer5776 6 лет назад

    Sir my sensor itself dedect gas.whts problm.

  • @k.a.ccrackerscrackers2669
    @k.a.ccrackerscrackers2669 6 лет назад

    Vcc means

    • @halojenlerflor350
      @halojenlerflor350 6 лет назад

      it means anode.

    • @kuldeepsinghkaswan5148
      @kuldeepsinghkaswan5148  6 лет назад +1

      VCC stands for "voltage at the common collector." The letter "V" on a circuit stands for the supply voltage.

  • @physicswithimranali7281
    @physicswithimranali7281 6 лет назад +2

    sir please send a code thax

    • @kuldeepsinghkaswan5148
      @kuldeepsinghkaswan5148  6 лет назад +2

      int buzzer = 10;
      int smokeA0 = A5;
      int sensorThres = 500;
      void setup() {
      pinMode(buzzer, OUTPUT);
      pinMode(smokeA0, INPUT);
      pinMode(13, OUTPUT);
      Serial.begin(9600);
      }
      void loop() {
      int analogSensor = analogRead(smokeA0);
      Serial.print("Pin A0: ");
      Serial.println(analogSensor);
      // Checks if it has reached the threshold value
      if (analogSensor > sensorThres)
      {
      tone(buzzer, 1000, 200);
      digitalWrite(13, HIGH);
      }
      else
      {
      noTone(buzzer);
      digitalWrite(13, LOW);
      }
      delay(1000);
      }

  • @kuldeepsinghkaswan5148
    @kuldeepsinghkaswan5148  6 лет назад +3

    int buzzer = 10;
    int smokeA0 = A5;
    int sensorThres = 500;
    void setup() {
    pinMode(buzzer, OUTPUT);
    pinMode(smokeA0, INPUT);
    pinMode(13, OUTPUT);
    Serial.begin(9600);
    }
    void loop() {
    int analogSensor = analogRead(smokeA0);
    Serial.print("Pin A0: ");
    Serial.println(analogSensor);
    // Checks if it has reached the threshold value
    if (analogSensor > sensorThres)
    {
    tone(buzzer, 1000, 200);
    digitalWrite(13, HIGH);
    }
    else
    {
    noTone(buzzer);
    digitalWrite(13, LOW);
    }
    delay(1000);
    }

  • @surajthapa2139
    @surajthapa2139 5 лет назад

    Tq. .. Sir 😊