Tank Level Detector

Sdílet
Vložit
  • čas přidán 7. 09. 2024

Komentáře • 67

  • @aguaxv2845
    @aguaxv2845 Před 6 dny

    Como se puede hacer para que prenda una luz simplemente cuando esté bajo el nivel de agua ????
    Saludos

  • @skm7812
    @skm7812 Před 6 měsíci +1

    Hi Ali Reza! Thank you for taking time to create these videos. If one externally power this sensor(s), then the yellow wire(s) get connected to appropriate GPIO pins. Does the Ground wire also need to be connected to the ESP32? مرسی

    • @kian.smarthome
      @kian.smarthome  Před 6 měsíci

      Hi, Thank you a lot for your compliment. ❤❤
      Connect the ground of the Sensor to the GRN of your power. But if the power of sensor and ESP is the same you can connect Ground of sensor to GND of ESP.

  • @SergioPendola
    @SergioPendola Před 2 lety +1

    Complimeti per i video bravo

  • @mariousai
    @mariousai Před 5 měsíci

    great video!
    but do you can determine if there is water or not.
    any suggestion for a sensor which can give me the water level in a plastic water tank?

    • @kian.smarthome
      @kian.smarthome  Před 5 měsíci +1

      Hi, Watch this video and comment you opinion about it:
      czcams.com/video/R77rBTkCjfg/video.html

  • @eliey4677
    @eliey4677 Před rokem +1

    Thanks for video

  • @matiaschaied6369
    @matiaschaied6369 Před 2 lety +1

    I have an ESP8266 and the only way to work is to use the pinMode(pin, INPUT_PULLUP) and pin is any GPIO that the ESP8266 has, currently I´m using GPIO 5, and when there is water the sensor turns on the red led and the digitalRead function reads a 0, and when there is no water the sensor turns off the red led and the digitalRead function reads a 1, so I have it backwards, is there some way to have it properly? I tried chaning to GPIO16 and use the pinMode(pin, INPUT_PULLDOWN_16) but it doesn´t work at all.

    • @kian.smarthome
      @kian.smarthome  Před 2 lety

      Hi, Set inverted to true. As an example:
      pin:
      number: GPIO 5
      inverted: true

  • @user-jh1wj1zc1p
    @user-jh1wj1zc1p Před 5 měsíci

    Good video. What was the switch in home assistant for?

  • @DonParlor
    @DonParlor Před 2 lety +1

    Hello! If I use an ESP32 module for that project, can I still install some more code to track a BLE device with ESP32 Bluetooth Low Energy Tracker Hub? My question is simple, when using an ESP32 for such a project, does it have to be dedicated to only one project or I can still install more code onto it? This will be my first project, I am not familiar with the limitations of an ESP32 module.

    • @kian.smarthome
      @kian.smarthome  Před 2 lety

      Good question, Yes you can add more codes. But take into consideration that do not add more than it can cope

  • @grazianodiraimondo3223
    @grazianodiraimondo3223 Před rokem +1

    how can i add a ky-016 led to get red and green status?

  • @AmanjeetSingh-pn3od
    @AmanjeetSingh-pn3od Před rokem

    wow great

  • @alanwake5927
    @alanwake5927 Před 2 lety +1

    Hello great video, so if I understand correctly the sensor worked ok with 3.3 volts. Im I right?

  • @MR-si2xx
    @MR-si2xx Před 2 lety

    Thanks for the informative video - especially the integration into esphome and HA. I ended up here trying to find info concerning the difference between the NPN and PNP versions of such a water level sensor. In the beginning, you show us a PNP version but in the diagram there's a NPN version. What exactly are the differences? I'm interested strictly in a binary read out and not driving any external items directly with the sensor (LED, etc.). Which version would be ideal for this (lowest operating power)? Thanks.

    • @makaveli7771
      @makaveli7771 Před 2 lety

      I have the same question here. Did you find an answer? Cheers

    • @DolevHadad
      @DolevHadad Před rokem

      PNP sensors produce a positive output to your industrial controls input, while NPN sensors produce a negative signal during an “on” state

  • @Cyruscosmo
    @Cyruscosmo Před 2 lety

    Can it sense water drops? I would like to use it to activate windshield wipers when it rains.

    • @kian.smarthome
      @kian.smarthome  Před 2 lety

      it must be tested. supporting me by buying me a coffee motivates me to test it sooner.

  • @faizjamaludin9279
    @faizjamaludin9279 Před rokem +1

    Hi, can this sensor use with the PLC ?

  • @erboy5546
    @erboy5546 Před 3 lety

    Great. Thanks

  • @txspazz
    @txspazz Před 2 lety

    I was able to get this working, but once it switches to "wet" it stays wet. The led on the sensor goes out. If I unplug the sensor from the GPIO for a few seconds then plug it back in it will go to dry but as soon as it senses wet it stays on wet. Any suggestions?

    • @kian.smarthome
      @kian.smarthome  Před 2 lety

      check your codes. Could you send them for me?

    • @txspazz
      @txspazz Před 2 lety

      @@kian.smarthome
      esphome:
      name: chlorine-level
      esp8266:
      board: esp01_1m
      # Enable logging
      logger:
      # Enable Home Assistant API
      api:
      encryption:
      key: "*******"
      ota:
      password: "********,"
      wifi:
      ssid: !secret wifi_ssid
      password: !secret wifi_password
      # Enable fallback hotspot (captive portal) in case wifi connection fails
      ap:
      ssid: "Chlorine-Level Fallback Hotspot"
      password: "******"
      captive_portal:
      binary_sensor:
      - platform: gpio
      pin: GPIO4
      device_class: moisture
      name: "Chlorine Level Sensor"

    • @txspazz
      @txspazz Před 2 lety

      @@kian.smarthome After messing with this some more, I realized it isn't resetting just from plugging/unplugging the sensor wire. It resets only if I touch the signal wire while I have it unplugged. I'm guessing this is a sensor problem.

    • @txspazz
      @txspazz Před 2 lety

      So, I fixed this by moving to GPIO16 and setting to pulldown to "true"
      binary_sensor:
      - platform: gpio
      pin:
      number: GPIO16
      mode:
      input: true
      pulldown: true
      device_class: moisture
      name: "Chlorine Level Sensor"

  • @AmanjeetSingh-pn3od
    @AmanjeetSingh-pn3od Před rokem

    my question..doest it work for non transparent plastic water tank???

    • @kian.smarthome
      @kian.smarthome  Před rokem

      A new video soon will be uploaded..

    • @iffahfatnin7456
      @iffahfatnin7456 Před 5 měsíci

      @@kian.smarthome hii , may i know where the video you uploaded for transparent plastick water bag ?

    • @kian.smarthome
      @kian.smarthome  Před 5 měsíci

      @@iffahfatnin7456 czcams.com/video/R77rBTkCjfg/video.html

  • @jitendrasonavane82
    @jitendrasonavane82 Před 2 lety

    Dear Sir, Please confirm which platform to use for MQ135 air quality sensor under esphome (i.e. coding part ).

    • @kian.smarthome
      @kian.smarthome  Před 2 lety

      Please pay attention to lines of codes

    • @jitendrasonavane82
      @jitendrasonavane82 Před 2 lety

      @@kian.smarthome Dear Sir , I have gone through line of code but which device class I need to use for MQ135 is not getting clear . Device class is not showing me data in 4 digit compare to blynk application which shows accurate reading.

  • @carlossimoescampos1
    @carlossimoescampos1 Před rokem

    I liked your video!! I need to monitor the water level in my home's water tank and I have 2 questions. Please, help me. FIRST QUESTION: Which sensor to use, as I noticed that there are several models (XKC-Y25-V, XKC-Y25-NPN, XKC-Y25-PNP and XKC-Y25-RS485). What is the difference between model V and model PNP? SECOND QUESTION: The distance between this sensor and the panel where the circuit will be (Arduino, buzzer, LCD, etc.) is 15 meters. Will I have losses with this distance? Do I need to install a special cable? THANK YOU SO MUCH!

    • @kian.smarthome
      @kian.smarthome  Před rokem

      Hi, Great that my videos are informative.
      Firs answer: XKC-Y25-PNP.
      Second answer: try to place them as close as possible but if it is not possible have noises into consideration .

    • @carlossimoescampos1
      @carlossimoescampos1 Před rokem

      Thank you very much for your answer. Please let me know what is the difference between model V and model PNP.

  • @Dewa18acts
    @Dewa18acts Před rokem

    can detect fuel level?? (fuel gauge). thx

    • @kian.smarthome
      @kian.smarthome  Před rokem +1

      it is Suitable for detecting various toxic materials, strong acid, strong alkali and various liquids in high pressure sealed container.
      I think you can use it but if I were you I wouldn't use it for "Petrol" as it is extremely explosive.

  • @benjamink7311
    @benjamink7311 Před 3 lety

    Could you give any purchase link for this water sensor

  • @benjamink7311
    @benjamink7311 Před 2 lety

    Hi Ali, i tried the sensor but its not changing its state from dry and the light on sensor changing kindly advice what to do

    • @kian.smarthome
      @kian.smarthome  Před 2 lety

      Hi, Do you see the light on sensor? Have you used pins correctly?

    • @benjamink7311
      @benjamink7311 Před 2 lety

      @@kian.smarthome i rechecked ok pins but it's not working

    • @benjamink7311
      @benjamink7311 Před 2 lety

      @@kian.smarthome yes i see light on sensor

    • @kian.smarthome
      @kian.smarthome  Před 2 lety

      @@benjamink7311 please email me a picture of your board and its connections and a screen shot of your yaml file

    • @benjamink7311
      @benjamink7311 Před 2 lety

      @@kian.smarthome yes Ali i have sent you an email please check

  • @cm5569
    @cm5569 Před rokem

    Has anyone managed to get two sensors working with this code?

    • @kian.smarthome
      @kian.smarthome  Před rokem

      Pay attention to description

    • @cm5569
      @cm5569 Před rokem

      @@kian.smarthome I tried the code in the description on both nodemcu v3, wemos D1 mini pro and it didn't work unfortunately.