Smart Irrigation | Automated watering with a solenoid valve by Arduino | code included | DIY

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

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

  • @atlas4733
    @atlas4733 5 лет назад +36

    I wrote down the entire thing (I do now know how to code so expect typos)
    const int relayEnable = 2;
    const int sensorPin = A0;
    const int thresholdMax = 800;
    const int thresholdMin = 10;
    void setup()
    {
    pinMode(relayEnable, OUTPUT);
    pinMode(sensorPin, INPUT);
    Serial.begin(9600);
    Serial.println("Soil Moisture Level: ");
    delay(1000);
    }
    void loop()
    {
    int sensorValue = analogRead(sensorPin);
    sensorValue = map(sensorValue, thresholdMax, thresholdMin, 0, 100);
    Serial.print("Moisture: ");
    Serial.print(sensorValue);
    Serial.println("%");
    if (sensorValue < 0)
    {
    digitalWrite(relayEnable, LOW);
    Serial.println("Relay ON");
    }
    else
    {
    digitalWrite(relayEnable, HIGH);
    Serial.println("Relay OFF");
    }
    delay(1000);
    }

    • @oliviaadel765
      @oliviaadel765 2 года назад +6

      I used the code u posted for my graduation project after some adjustments, it compiled perfectly, thanks for writing it bro
      const int relayEnable = 2;
      const int sensorPin = A0;
      const int thresholdMax = 800;
      const int thresholdMin = 10;
      void setup()
      {
      pinMode(relayEnable, OUTPUT);
      pinMode(sensorPin, INPUT);
      Serial.begin(9600);
      Serial.println("Soil Moisture Level: ");
      delay(1000);
      }
      void loop()
      {
      int sensorValue = analogRead(sensorPin);
      sensorValue = map(sensorValue, thresholdMax, thresholdMin, 0, 100);
      Serial.print("Moisture: ");
      Serial.print(sensorValue);
      Serial.println("%");
      if (sensorValue < 0)
      {
      digitalWrite(relayEnable, LOW);
      Serial.println("Relay ON");
      }
      else
      {
      digitalWrite(relayEnable, HIGH);
      Serial.println("Relay OFF");
      }
      delay(1000);
      }

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

      Bro can u write it for multiple sensors

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

      @@kbvrkbvr1025 how many?

  • @melihcanozdemir7309
    @melihcanozdemir7309 4 года назад +4

    RUclips'a İngilizce yazıp videolar izliyordum bir Türk videosu olduğunu sonradan fark ettim. Böyle konularda Türk kaynakları bulmak ne kadar da gurur verici, başarılarının devamını dilerim.

  • @lancelotnet
    @lancelotnet 5 лет назад +3

    emeğine sağlık. Aslında projelerin hepsi izleyenlere basit gelebilir ama yapım aşamasında karşılaşılan zorluklar, hatalar, kodlar hepsi bir tecrübe. Devamının gelmesi dileğiyle.

  • @mertsevil1098
    @mertsevil1098 5 лет назад +5

    Congratulations Salih, keep going continue to do good jobs

  • @decem_unosquattro9538
    @decem_unosquattro9538 3 года назад +3

    I've seen many youtuber saying those sensor fail because of corrosion.
    I'd like to see you use a capacitive sensor.😂👍🏻
    I've got a problem with tomatos which are thirsty little buggers in summer.
    This would be great if it works well.

  • @cliffmathew
    @cliffmathew 4 года назад +6

    Thanks. I have been thinking about this for a while to water plants stored indoors during the icy winter. But worried about component failure. I want to find a solution to make the system fail safe . For example, if the moisture sensor fails, or if the solenoid valve fails or leaks, or the computing components fails, I need a fail safe solution to drain the water without flooding the house. Also to limit the water loss in such case. The effect of water pressure on some dodgy valves is a concern -- a pressure reducer is needed too?

    • @eemanmalik3231
      @eemanmalik3231 3 года назад +1

      How you use solenoid valve If any code available at you?

    • @cliffmathew
      @cliffmathew 3 года назад +1

      @@eemanmalik3231 I did not implement. But RUclips has many examples. Solenoid is no different from any of the other things like the LED example -- it is just an ON/OFF thing as far as I know.

    • @eemanmalik3231
      @eemanmalik3231 3 года назад +1

      @@cliffmathew yes I know it just work on like switch on and off
      But I want to implement the threshold setting to manage the level of pH and water.

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

      @@cliffmathew thanku so much for your reply.

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

      @@eemanmalik3231 Cool! All the best for your project.

  • @eseft.9924
    @eseft.9924 4 года назад +5

    Tebrikler, faydalı bir proje olmuş

  • @Emre-fq8qt
    @Emre-fq8qt 5 лет назад +1

    Nice diy project bro. Keep working!

  • @thekehoeshow..
    @thekehoeshow.. 3 года назад +2

    I want to do the same thing but have the solenoid triggered by a temperature sensor. Thanks for sharing.

  • @zx3215
    @zx3215 5 лет назад +3

    Good job)
    I had a question - can the valve be opened partially? I"m trying to work on a project where I need to control water flow rate gradually, but i'm not sure if a solenoid valve would be a solution. In any case, I would appreciate any comment. Thank you)

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

      Solenoid valves just work as ON and OFF. To control water flow, you can use a cheap, low-power DC or BLDC driven water pump.

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

      @@salihzekiusta Thank you for so quick reply! Really appreciate it!)
      Yes, I was trying to use a 12 V DC pump which I was controlling by a MOSFET. When set high, the motor can be controlled quite ok (duty cycles about 70-100%), when lower - the torque of the motor drops too low, and it may even stop. This limits my ability to set very low water flows, unfortunately. For this reason I was thinking to approach the problem from the other end - set the pump at max, but control the valve.

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

      @@salihzekiusta I'm not sure if that is true. There seem to be different types of solenoid valves. Yes, they are either always closed or opened, but with a spring mechanism they could at least theoretically be only partially opened by sending less electricity to the electromagnet opening the valve (with the reistance of the spring).
      ruclips.net/video/BbmocfETTFo/видео.html

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

    may I ask what kind of diode is use on this video?

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

    Great project 👏👏 very helpful

  • @TheMscandy123
    @TheMscandy123 5 лет назад +3

    Must I buy a 4 channel relay module or can I use the 2 channel ones

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

      2-channel relay module works as well

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

      @@salihzekiusta How about 1 channel relay module?

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

      Adani safira Likewise it would work

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

      @@salihzekiusta thanks for replying! Just to clarify its a 12v or a 5v relay module. Can I use a 12v relay too?

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

      Adani safira it’s a 5V relay module. You can also use a 12V one.

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

    The solenoid valve usually requires 3psi of water pressure which is roughly 7ft of water. How are you able to operate it with that small water tank?

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

      please see that the lid of the water tank is open at the end of the video. air pressure + water pressure together are able to compensate that 3psi.

  • @oliviaadel765
    @oliviaadel765 2 года назад +2

    Adjusted code.. (compiles well on arduino IDE)
    const int relayEnable = 2;
    const int sensorPin = A0;
    const int thresholdMax = 800;
    const int thresholdMin = 10;
    void setup()
    {
    pinMode(relayEnable, OUTPUT);
    pinMode(sensorPin, INPUT);
    Serial.begin(9600);
    Serial.println("Soil Moisture Level: ");
    delay(1000);
    }
    void loop()
    {
    int sensorValue = analogRead(sensorPin);
    sensorValue = map(sensorValue, thresholdMax, thresholdMin, 0, 100);
    Serial.print("Moisture: ");
    Serial.print(sensorValue);
    Serial.println("%");
    if (sensorValue < 0)
    {
    digitalWrite(relayEnable, LOW);
    Serial.println("Relay ON");
    }
    else
    {
    digitalWrite(relayEnable, HIGH);
    Serial.println("Relay OFF");
    }
    delay(1000);
    }

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

    Hi, I would like to kindly ask : if I want to connect to the faucet and have the solenoid to switch just when moisture value is between let's say >60 and

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

      Hi! You can simply change the max and min thresholds in the code.

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

      @@salihzekiusta Thank you very much! Just another question:is it possible to measure the quantity of water each plant receives daily? Thank you!

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

      lostpulsar I’m not sure about measuring water quantity for each plant, but I think you can measure total daily water consumption with a water level sensor in the water tank.

  • @CATRERonwelJohn
    @CATRERonwelJohn 2 месяца назад

    hi I'm planning to integrate esp8266 nodemcu for this where do i power it?

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

    Why are you using the 5v supply module? Is it not overload the Arduino board? Thanks, great job

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

      I use 12V for Arduino input voltage. Recommended input voltage for Arduino is from 5V to 12V, bit.ly/37lsJGO . Besides, I use separate 5V for the relay module to isolate Arduino from the relay.

    • @luisaloy5312
      @luisaloy5312 8 месяцев назад

      Creo que lo mejor es usar una fuente para Arduino y otra distinta pata el solenoide y aisladas una de la otra por el relé.

    • @luisaloy5312
      @luisaloy5312 8 месяцев назад

      Se podría añadir una mejora a tu proyecto. Hacer una página web con los resultados de los sensores y mediante un router dedicado a ello, poder leer los resultados con un teléfono o una tablet

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

    Hi! Can i use water level sensor instead of soil moisture sensor? If so, what will it change in the code

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

      Hi, water level sensor can be used to control water level in a tank. If you wanna use another pipe to fill water tank, it’s suitable. Otherwise, it’s not necessary for an automated irrigation system.

  • @RezaulHasan-g7b
    @RezaulHasan-g7b 15 дней назад

    Please reply, sir. Which software do you use for schematic simulation on a computer? I used TinkerCad. But in TinkerCad, many components are missing. such as a solenoid.

    • @salihzekiusta
      @salihzekiusta  13 дней назад

      @@RezaulHasan-g7b I used “Fritzing” for this project. You can find many elements by simply google searching produced by users.

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

    Did you make any documention on this?
    if so, can you please send it?

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

    Great work, thanks for sharing

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

    Teşekkür ederim . emeğine sağlık. Acaba diyot 1N5819 modeli mi. hangisini kullanıcaz

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

      Diyotun görevi solenoidden gelebilecek olası ters voltajı engellemek, dolayısıyla herhangi bir diyot modeli olabilir.

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

    Can you share solenoid valve library to proteus?

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

    Fab project man

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

    Great job! however, how do I set the code to pump the water when it is below 20 and stop when it is 70? I would appreciate any comments. Thank you

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

      Increasing moisture level leads to a decreasing resistance in soil moisture sensors. So, when the soil is humid, a lower output signal is seen, and when the soil is dry, a higher output signal is seen. A moisture sensor reads the water content as an analog signal. These signals are converted to digital signals by a 10-bit analog-to-digital converter (ADC) in Arduino. The 10-bit ADC has logic levels of 2^10=1024. So, Arduino can assign or read a value from 0 to 1023. You can map these values from 0 to 100 as shown in the code. And then, you can change max and min thresholds as you desire.

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

      @@salihzekiusta Great! Thanks a lot, I really appreciate that.

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

    Hocam çok güzel proje elinize sağlık bende ateş tespiti ve su püskürtme için düşünüyorum ama kodlar uygun mu sizce ve uzaktan kumandaya basınca tetiklesin istiyorum ne yapmalıyım veya eklemeliyim

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

    Thanks for a great video! I see the power supply you linked has a 1 to 4 split. What did you do with the 4th power jack? Can you simply cut it clean off? Could you just leave it there unused? thanks again!

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

      As you said, I simply cut it, or you can leave it there in case of using it for another project.

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

      @@salihzekiusta can you please help me in my Arduino project

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

    Can I use multiple drip water valve to one ardrino

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

    Any tips sir if automatic sprinkler will use sir reply asap please

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

    👏👏👏 kullanılabilir ve başarılı

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

    How to use an ultrasonic swnsor in place of the sensor u used

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

    hello can i know what you used to design the schematic?

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

      hi! it’s called Fritzing

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

      Thanks a lot

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

      @@salihzekiusta Please can you share a link to the where you got the 4 channel realy for fritzing? i only found a 16 channel relay

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

      @@SheriCoco timgolisch.wordpress.com/2015/09/12/fritzing-4-channel-relay-part/

  • @sukhjotkaur243
    @sukhjotkaur243 9 месяцев назад

    What mode of relay is used here? Normally open or normally closed?

    • @salihzekiusta
      @salihzekiusta  9 месяцев назад

      Normally open was used. Pls follow the schematic at 2:25

    • @sukhjotkaur243
      @sukhjotkaur243 9 месяцев назад

      @@salihzekiustaok, thank you.

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

    Hocam selenoid valf ile yangın söndürme gazı puskurtmek istiyoruz nasıl bi kod kullanabiliriz veya nereden ulaşabiliriz

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

      On-off çalıştığı için kodu standart zaten, şu videodaki kodu kullanabilirsiniz: ruclips.net/video/ioSYlxHlYdI/видео.html

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

      @@salihzekiusta teşekkür ederim :)

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

    Keep on great work

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

    Hello Sir, I plan to use this relay to connect from 5V arduino to 12V DC Pump (4-7A). It is written that the DC adaptor to power the pump is 12V 10A. is it a robust solution to use this relay in a closed enclosure in the farm? or should I upgrade the relay spec? Thank You Very much Sir !

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

    is the 12V dc solenoid valve (1/2'' NPT) NC (normally closed) or NO (normally open)?

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

      It is “NC”

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

      @@salihzekiusta Thank you! can i get the methodology of this in pdf?

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

      @@salihzekiusta Thank you! can i get the methodology of this in pdf?

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

    Merhaba Salih bey. Kodlamalari nereye kaytettiniz?

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

      Merhaba! Videonun içindeki kodu bilgisayarınızda Arduino IDE ile derleyip usb kablosu ile Arduino’nun içine yüklemelisiniz.

  • @johnreighrosarito7325
    @johnreighrosarito7325 9 месяцев назад

    Where did you make the schematic diagram

    • @salihzekiusta
      @salihzekiusta  9 месяцев назад

      “Fritzing”

    • @johnreighrosarito7325
      @johnreighrosarito7325 9 месяцев назад

      @@salihzekiusta can you suggest other free. Except Tinkercad

    • @johnreighrosarito7325
      @johnreighrosarito7325 9 месяцев назад

      @@salihzekiusta can you suggest some free app/site?

    • @salihzekiusta
      @salihzekiusta  9 месяцев назад

      @@johnreighrosarito7325 you can also use “tinkercad” for free. there is also “proteus” for simulation and design purposes.

    • @johnreighrosarito7325
      @johnreighrosarito7325 9 месяцев назад

      @@salihzekiusta in tinkercad there is no power supply module.

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

    We can also used a simple dc pump instead of solenoid valve??

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

      Sure, you can use a low-voltage submersible dc pump or so

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

      @@salihzekiusta thanks for reply

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

    How can you use 5v power supply to 12v valve selenoid? Is that because of the dioda?

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

      I use 12V for the solenoid valve (the red wire coming from 12V power supply goes into the relay channel 1). A separate 5V is used to enable the relay module’s digital circuit.

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

      @@salihzekiusta thanks alot! I just missed the red wire in the bottom lol

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

    can i ask what's the purpose of 5V power supply module?

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

      A 5V is used to enable the relay module's digital circuit. It also isolates Arduino from the relay module.

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

    Sir I'm doing a power failure detection project and I have a doubt, what if I don't use a battery (using mains supply ) without using aurdino.. if there is a power failure, how can I make the solenoid work? How can I connect a capacitor in this set up? And, how can I store the values in memory at the time of powercut?

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

      Hi.. A lead-acid battery can be a good choice for a power supply. Without using a battery I don’t know how you can power this kind of small project. Secondly, to store sensor values simultaneously, you can use a cloud such as ThingSpeak.

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

      @@salihzekiusta Thank you Sir

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

    Hi, Did i missed where the code is...cant seem to find it. thx

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

      Hi, please see the pinned comment or at 3:55

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

    bro from where i can get this code and one more thing can you provide a code in which we can set the values of moisture according to ur need so if the moisture met our needs then water pump automatically get off

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

      You can copy the pinned comment. For your purpose, you should change “if statements” in the code. Search it on Google to learn more about it. Best!

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

      @@salihzekiusta where is the comment mention it

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

      Could you please mail me the code @ Sheikhusmanstar@gmal.com?

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

      Can you share me the code too

  • @bilgehankorkmaz1392
    @bilgehankorkmaz1392 5 лет назад +3

    That's awesome!

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

    May I know what kind of diode is used?

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

      Any type can work. Specifically you can use 1N4001

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

    Hello! I'm new in this why do u need relays for ? Actually what is their function in this project ?

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

      A solenoid valve requires 12V dc voltage. In order to control high voltages with an Arduino, we need to use relays. A relay basically means a switch. It is located between 12V (or say a higher voltage) and the device (a solenoid in this project). You can control this switch with Arduino to active and deactivate the circuit.

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

    Hai thanks for the video, can we use more the one.. Sensors..?

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

      You can use more than one sensor, but in this case a control algorithm is needed and you'd change the code.

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

    I am using the solenoid valve in hydroponic system, like if pH is >7 means that solution is basic and adds nutrient in solution . but my question is that how can i understand that now ph is stable off the solenoid valve. I donot find a problem to solve this issue. Will you help me?

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

      I couldn’t quite understand the question but if you want to measure the pH level, you can use a pH sensor.

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

      @@salihzekiusta I said that how to stabilize pH

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

    merhabalar. farklı bir proje için 2 adet solenoid valf kullanacak olsam, bağlantıyı nasıl yapmam gerekir acaba ?

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

      diğer solenoidi relay modülün channel 2’sine bağlayıp, IN(2)’yi de Arduino’nun bir pinine, örneğin (3), bağlayabilirsin.. bu durumda Arduino IDE’de yeni bir döngü oluşturman gerekir. Google search yaparak daha ayrıntılı bilgiye ulaşabilirsin 👍

    • @ahmetturker1336
      @ahmetturker1336 3 года назад +1

      teşekkür ederim

  • @wazap-tv5509
    @wazap-tv5509 3 года назад

    what diode did you used?

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

      You can use any type, for example 1N4001

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

    what is the name of the software of the simulation please

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

    The selenoid valve have polarity?

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

    you created the schematic whit which site please

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

    In this way you are giving arduino 5 volt of input, that will become 3.9 volt
    Right?

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

    the valve doesnt need pressure to open?

    • @salihzekiusta
      @salihzekiusta  3 года назад +1

      Technically solenoid valves turn on and off electronically, but there should be a little pressure to make fluid flow. For this purpose, don’t forget to open up your reservoir’s top to use atm pressure

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

    How the schematic if use 2 selenoids?

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

    Hi sir, why my water came out from solenoid is low?

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

    Why did you connect arduino to a 12v charger?

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

      You should give 5V~12V to Arduino if you don’t connect it to a PC.

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

    That helps a lot:))

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

    Hi can i ask you one question. My 4 channel relay just have dc+ and dc-. How can i connect the jd-vcc and vcc like in your video? I hope u will answer me 🙏🏾

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

      Hi! I’m sorry I’m not sure about that. You can google it or simply change your relay module :)))

  • @HIKMATBERKAH
    @HIKMATBERKAH 6 месяцев назад

    hi.. i can this project, show me how can use sensir tds sir, tks

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

    can you please share the code and the document you have written for this project

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

      The code is already in the video, and also one of the viewers has already written it on a comment. As you know, it’s better to make your own document. Best!

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

    Bunun haftada bir yarım saat çalışan versiyonu olsaydı keşke😕yazılım sıkıntı ya

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

    Code included, evn mentioned in the title... Where ? 3mins 52secs screen shot ? LoL, cool thanks. Great entertainment

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

      Because it’s not a big deal to write it down to your own device, it’s short. But you can also find it in the pinned comment if you wanna copy and paste

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

    Where i can get the code for this project ??

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

    I connect correctly like you but firstly it can open and close the solenoid valve, but now i test again it doesn't open or close the solenoid valve even though led on relay is light on, but solenoid valve does not open, how to do? anybody can give suggestion in solving this problem?

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

      one possible problem could be the lid of your water reservoir. don’t forget to open it up (atm pressure)

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

    Size ulasabilecigim bir irtibat numarasi varmi acaba

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

    Diode kaçlık kullanıyor?

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

      Herhangi bir diyot modeli olabilir. Mesela 1N4001 (Vrrm = 50V) gibi.

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

    24v ac solonide valve how to connect float switch with connector plase upload the detail

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

      Hi Sadhiq, I couldn't quite understand your question. Do you want to use a hydraulic level sensor with Arduino?

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

    I'm sorry i don't have electricity background before but why you need 4 channel relays if you just use one

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

      Because it was the only one I had. One channel relay module will be enough for this project.

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

      @@salihzekiusta thx alot bro 👍

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

      @@salihzekiusta hello please share the codes.

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

      @@bisdakhydroponics2732 code in the video at 3:55 and a viewer already typed it down in a comment

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

    Sir can you help me rfid petrol pump

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

    how can i find the whole code?

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

    the dioda + -??

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

      (+) means anode, (-) means cathode. for a proper wiring, please follow the schematic at 2:22

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

      how about we just ust one relay.. not modul relay modul 4 channel.. bu just one

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

      Reza Boy_o No matter, everything will be the same

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

    how if use water pump?

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

      the schematic would be similar, but you should slightly change the code

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

    Hi can you please kindly upload the Code as well ?... thank you

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

      Hi! Code is in the video at 3:55, also a viewer’s already typed it in a comment. You can copy from there.

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

    can you help me with this sir? Can I get the codes for this?

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

      see the pinned comment or 3:55 in the video

  • @4c_21_indrasyafnursiregar8
    @4c_21_indrasyafnursiregar8 5 лет назад

    specification dioda?

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

      any diode type can work.. check this out: amzn.to/2ltPLZe

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

    Salik i need a code for solenoid Valve using Arduino

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

      check out that guy: ruclips.net/video/ioSYlxHlYdI/видео.html

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

    Hi can you send me the code please

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

    Where is the code

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

      at 3:55, also see the pinned comment

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

    codings for this bro

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

    Harika

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

    plz code and shema plzzzzzzzz

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

    This Roblox music is excruciating! You are doing the steps way to fast to even pause the video, with not alot of explaination. Just my two cents.

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

      Thanks for your comment, I'll be considering next time.

  • @eimantasstu6655
    @eimantasstu6655 10 месяцев назад

    what diode did you use?

    • @salihzekiusta
      @salihzekiusta  10 месяцев назад

      any can work. specifically 1N4001 (Vrrm=50V)