How To Use MQ2 Gas Sensor With I2C LCD | Arduino Uno | Arduino Projects | Inovatrix Guys

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

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

  • @sanjaykhatri6093
    @sanjaykhatri6093 3 месяца назад

    I am getting all values 0 on my lcd display does we have to wait for 5 min for heating or is there any other problem how to solve

  • @allenoliquiano3291
    @allenoliquiano3291 5 лет назад +1

    Hello will you help me to this error?
    Arduino: 1.8.5 (Windows 7), Board: "Arduino/Genuino Uno"
    C:\Users\user\Documents\MQ2_with_lcd\MQ2_with_lcd.ino:3:17: fatal error: MQ2.h: No such file or directory
    #include
    ^
    compilation terminated.
    exit status 1
    Error compiling for board Arduino/Genuino Uno.
    This report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences.

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

      Plz add the required library file
      Given In description!

  • @hanhvo3919
    @hanhvo3919 Год назад +1

    sir, why Can't i open the file code?

  • @syafiqdanial7636
    @syafiqdanial7636 2 года назад +1

    i alreaady upload the code but the lcd does not display anything

    • @INOVATRIX
      @INOVATRIX  2 года назад

      Please ensure that the address is correct.

  • @rollyclemente2036
    @rollyclemente2036 4 года назад

    Hello. Why am I getting compile error...'loop' collect2 error: of returned 1exit status return code is not 0

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

    the sensor is not glowing after uploading the code even though the connections are right. Can u plz solve it?

  • @collegeprojects1602
    @collegeprojects1602 4 года назад +1

    There is a problem with compiling
    While compiling it says that there is no directory for mq2

    • @INOVATRIX
      @INOVATRIX  4 года назад +2

      You need to uninstall any previous library that you have used for the MQ2 sensor and use the one that we have given.

  • @mhmdhojeij2227
    @mhmdhojeij2227 7 месяцев назад

    Thanks alotttt

  • @ThanhPhan-kx7gz
    @ThanhPhan-kx7gz 4 года назад

    Can you help me fix this?
    MQ2_LCD:11:13: error: no matching function for call to 'LiquidCrystal_I2C::begin()'
    lcd.begin();

    • @INOVATRIX
      @INOVATRIX  4 года назад

      I guess you have the wrong lcd library.
      Try the one that we have given by first removing any previous lcd library.

    • @sanjaykhatri6093
      @sanjaykhatri6093 3 месяца назад

      Just cancell begin and write init at that place

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

    what does "LGP" stand for?

  • @d.rupganesh5299
    @d.rupganesh5299 2 года назад

    We can't able to get the code

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

    Sir, what is the input and output of gas sensor?

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

    How can we add a buzzer if the smoke value increases

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

      Yes it can be added if PPM reaches a certain amount.

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

    DID NOT WORK

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

    Sir...can u gift me for this code?

  • @navarangch3800
    @navarangch3800 2 года назад

    hi

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

    Hello.. how to add parameter?

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

      What parameters?

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

      @@INOVATRIX does the mq2 sensor only read co, lpg, and smoke, or can other parameters be added? sorry I use google translate

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

      No you can't add other parameters other than the ones you said

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

      @@INOVATRIX but, can you add another type of sensor, which parameters are different?

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

      For another sensor there will be a whole new code for it.

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

    no compila

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

      Try to add all library files and updated version of arduino IDE