No video

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

  Рет қаралды 93,917

salih zeki

salih zeki

Күн бұрын

Components:
- 12V dc solenoid valve (1/2'' NPT): amzn.to/2lUXOi2
- 1/4'' hose id to 1/2'' male npt adapter: amzn.to/2lUP8bp
- 1/2'' id to 1/2'' mip plastic hose adapter: thd.co/2k0pUYC
- Arduino Uno: amzn.to/2lUYaFo
- 4-channel relay module: amzn.to/2jTqdnS
- 5V power supply module: amzn.to/2kp17O0
- 12V dc power supply: amzn.to/2lzRrjL
- Soil moisture sensor (resistive): amzn.to/2lAps3t
- Capacitive soil moisture sensor: amzn.to/2ltxOdk

Пікірлер: 184
@atlas4733
@atlas4733 4 жыл бұрын
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 жыл бұрын
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 3 жыл бұрын
KZbin'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 4 жыл бұрын
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.
@decem_unosquattro9538
@decem_unosquattro9538 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.
@mertsevil1098
@mertsevil1098 5 жыл бұрын
Congratulations Salih, keep going continue to do good jobs
@thekehoeshow..
@thekehoeshow.. 3 жыл бұрын
I want to do the same thing but have the solenoid triggered by a temperature sensor. Thanks for sharing.
@eseft.9924
@eseft.9924 4 жыл бұрын
Tebrikler, faydalı bir proje olmuş
@oliviaadel765
@oliviaadel765 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); }
@Emre-fq8qt
@Emre-fq8qt 5 жыл бұрын
Nice diy project bro. Keep working!
@cliffmathew
@cliffmathew 4 жыл бұрын
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 жыл бұрын
How you use solenoid valve If any code available at you?
@cliffmathew
@cliffmathew 3 жыл бұрын
@@eemanmalik3231 I did not implement. But KZbin 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 жыл бұрын
@@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.
@sanjeebanmaji8612
@sanjeebanmaji8612 3 жыл бұрын
Great project 👏👏 very helpful
@zx3215
@zx3215 4 жыл бұрын
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 4 жыл бұрын
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 4 жыл бұрын
@@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 10 ай бұрын
@@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). kzbin.info/www/bejne/eJPQoJacermHfNE
@ryyyyy2010
@ryyyyy2010 2 жыл бұрын
may I ask what kind of diode is use on this video?
@bilgehankorkmaz1392
@bilgehankorkmaz1392 5 жыл бұрын
That's awesome!
@RohanD20
@RohanD20 4 жыл бұрын
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 жыл бұрын
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.
@yunusgoren2068
@yunusgoren2068 9 ай бұрын
Great work, thanks for sharing
@EbrahimHasan
@EbrahimHasan Жыл бұрын
Fab project man
@beyzaxx9556
@beyzaxx9556 Жыл бұрын
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
@icra1
@icra1 4 жыл бұрын
Keep on great work
@walkertubes
@walkertubes 4 жыл бұрын
Why are you using the 5v supply module? Is it not overload the Arduino board? Thanks, great job
@salihzekiusta
@salihzekiusta 4 жыл бұрын
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 4 ай бұрын
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 4 ай бұрын
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
@umit2253
@umit2253 4 жыл бұрын
Teşekkür ederim . emeğine sağlık. Acaba diyot 1N5819 modeli mi. hangisini kullanıcaz
@salihzekiusta
@salihzekiusta 4 жыл бұрын
Diyotun görevi solenoidden gelebilecek olası ters voltajı engellemek, dolayısıyla herhangi bir diyot modeli olabilir.
@thepearlight
@thepearlight 5 жыл бұрын
👏👏👏 kullanılabilir ve başarılı
@masulot_meyer1032
@masulot_meyer1032 Жыл бұрын
Any tips sir if automatic sprinkler will use sir reply asap please
@YearofTheHandsome2
@YearofTheHandsome2 3 жыл бұрын
Hi! Can i use water level sensor instead of soil moisture sensor? If so, what will it change in the code
@salihzekiusta
@salihzekiusta 3 жыл бұрын
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.
@TheMscandy123
@TheMscandy123 4 жыл бұрын
Must I buy a 4 channel relay module or can I use the 2 channel ones
@salihzekiusta
@salihzekiusta 4 жыл бұрын
2-channel relay module works as well
@TheMscandy123
@TheMscandy123 4 жыл бұрын
@@salihzekiusta How about 1 channel relay module?
@salihzekiusta
@salihzekiusta 4 жыл бұрын
Adani safira Likewise it would work
@TheMscandy123
@TheMscandy123 4 жыл бұрын
@@salihzekiusta thanks for replying! Just to clarify its a 12v or a 5v relay module. Can I use a 12v relay too?
@salihzekiusta
@salihzekiusta 4 жыл бұрын
Adani safira it’s a 5V relay module. You can also use a 12V one.
@HIKMATBERKAH
@HIKMATBERKAH 2 ай бұрын
hi.. i can this project, show me how can use sensir tds sir, tks
@rohithvemulapally1350
@rohithvemulapally1350 4 жыл бұрын
Did you make any documention on this? if so, can you please send it?
@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 !
@lostpulsar
@lostpulsar 4 жыл бұрын
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 жыл бұрын
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.
@leanderpereira5257
@leanderpereira5257 3 жыл бұрын
How to use an ultrasonic swnsor in place of the sensor u used
@ommpeter
@ommpeter 4 жыл бұрын
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
@haneenbasudan1130
@haneenbasudan1130 10 ай бұрын
Can you share solenoid valve library to proteus?
@furtherishere7568
@furtherishere7568 2 жыл бұрын
Can I use multiple drip water valve to one ardrino
@mingo3035
@mingo3035 Жыл бұрын
what is the name of the software of the simulation please
@kishaaustria3197
@kishaaustria3197 Жыл бұрын
can i ask what's the purpose of 5V power supply module?
@salihzekiusta
@salihzekiusta Жыл бұрын
A 5V is used to enable the relay module's digital circuit. It also isolates Arduino from the relay module.
@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.
@odiliomartinez6811
@odiliomartinez6811 3 ай бұрын
Hi, Did i missed where the code is...cant seem to find it. thx
@salihzekiusta
@salihzekiusta 3 ай бұрын
Hi, please see the pinned comment or at 3:55
@sukhjotkaur243
@sukhjotkaur243 5 ай бұрын
What mode of relay is used here? Normally open or normally closed?
@salihzekiusta
@salihzekiusta 5 ай бұрын
Normally open was used. Pls follow the schematic at 2:25
@sukhjotkaur243
@sukhjotkaur243 5 ай бұрын
@@salihzekiustaok, thank you.
@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.
@chnbrs4074
@chnbrs4074 3 жыл бұрын
Bunun haftada bir yarım saat çalışan versiyonu olsaydı keşke😕yazılım sıkıntı ya
@iffahsobri6561
@iffahsobri6561 2 жыл бұрын
Hi sir, why my water came out from solenoid is low?
@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
@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
@mich2k1
@mich2k1 4 жыл бұрын
In this way you are giving arduino 5 volt of input, that will become 3.9 volt Right?
@fatihsanl8501
@fatihsanl8501 9 ай бұрын
That helps a lot:))
@swethadhanasekaran4366
@swethadhanasekaran4366 3 жыл бұрын
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 3 жыл бұрын
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 3 жыл бұрын
@@salihzekiusta Thank you Sir
@faneeshbansal
@faneeshbansal 2 жыл бұрын
We can also used a simple dc pump instead of solenoid valve??
@salihzekiusta
@salihzekiusta 2 жыл бұрын
Sure, you can use a low-voltage submersible dc pump or so
@faneeshbansal
@faneeshbansal 2 жыл бұрын
@@salihzekiusta thanks for reply
@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)
@mingo3035
@mingo3035 Жыл бұрын
you created the schematic whit which site please
@salihzekiusta
@salihzekiusta Жыл бұрын
It is called “Fritzing”
@mingo3035
@mingo3035 Жыл бұрын
@@salihzekiusta thanks bro
@umar7151
@umar7151 3 жыл бұрын
I'm sorry i don't have electricity background before but why you need 4 channel relays if you just use one
@salihzekiusta
@salihzekiusta 3 жыл бұрын
Because it was the only one I had. One channel relay module will be enough for this project.
@umar7151
@umar7151 3 жыл бұрын
@@salihzekiusta thx alot bro 👍
@bisdakhydroponics2732
@bisdakhydroponics2732 3 жыл бұрын
@@salihzekiusta hello please share the codes.
@salihzekiusta
@salihzekiusta 3 жыл бұрын
@@bisdakhydroponics2732 code in the video at 3:55 and a viewer already typed it down in a comment
@inasheriyanto2033
@inasheriyanto2033 4 жыл бұрын
How the schematic if use 2 selenoids?
@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.
@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 жыл бұрын
@@salihzekiusta thanks alot! I just missed the red wire in the bottom lol
@eimantasstu6655
@eimantasstu6655 6 ай бұрын
what diode did you use?
@salihzekiusta
@salihzekiusta 6 ай бұрын
any can work. specifically 1N4001 (Vrrm=50V)
@LexGoPH
@LexGoPH 3 жыл бұрын
the valve doesnt need pressure to open?
@salihzekiusta
@salihzekiusta 3 жыл бұрын
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
@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?
@johnreighrosarito7325
@johnreighrosarito7325 5 ай бұрын
Where did you make the schematic diagram
@salihzekiusta
@salihzekiusta 5 ай бұрын
“Fritzing”
@johnreighrosarito7325
@johnreighrosarito7325 5 ай бұрын
@@salihzekiusta can you suggest other free. Except Tinkercad
@johnreighrosarito7325
@johnreighrosarito7325 5 ай бұрын
@@salihzekiusta can you suggest some free app/site?
@salihzekiusta
@salihzekiusta 5 ай бұрын
@@johnreighrosarito7325 you can also use “tinkercad” for free. there is also “proteus” for simulation and design purposes.
@johnreighrosarito7325
@johnreighrosarito7325 5 ай бұрын
@@salihzekiusta in tinkercad there is no power supply module.
@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
@mohasiisii928
@mohasiisii928 2 жыл бұрын
Sir can you help me rfid petrol pump
@muradazizov6815
@muradazizov6815 3 жыл бұрын
Merhaba Salih bey. Kodlamalari nereye kaytettiniz?
@salihzekiusta
@salihzekiusta 3 жыл бұрын
Merhaba! Videonun içindeki kodu bilgisayarınızda Arduino IDE ile derleyip usb kablosu ile Arduino’nun içine yüklemelisiniz.
@feyzabetuldost5805
@feyzabetuldost5805 Жыл бұрын
Hocam selenoid valf ile yangın söndürme gazı puskurtmek istiyoruz nasıl bi kod kullanabiliriz veya nereden ulaşabiliriz
@salihzekiusta
@salihzekiusta Жыл бұрын
On-off çalıştığı için kodu standart zaten, şu videodaki kodu kullanabilirsiniz: kzbin.info/www/bejne/n6C2ip-ufdGMmqs
@feyzabetuldost5805
@feyzabetuldost5805 Жыл бұрын
@@salihzekiusta teşekkür ederim :)
@sadhiqjaheaber5392
@sadhiqjaheaber5392 3 жыл бұрын
24v ac solonide valve how to connect float switch with connector plase upload the detail
@salihzekiusta
@salihzekiusta 3 жыл бұрын
Hi Sadhiq, I couldn't quite understand your question. Do you want to use a hydraulic level sensor with Arduino?
@juanandresmantarigaray501
@juanandresmantarigaray501 3 жыл бұрын
The selenoid valve have polarity?
@salihzekiusta
@salihzekiusta 3 жыл бұрын
No it doesn’t
@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.
@rockylcd
@rockylcd 3 жыл бұрын
May I know what kind of diode is used?
@salihzekiusta
@salihzekiusta 3 жыл бұрын
Any type can work. Specifically you can use 1N4001
@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
@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 жыл бұрын
teşekkür ederim
@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 жыл бұрын
@@SheriCoco timgolisch.wordpress.com/2015/09/12/fritzing-4-channel-relay-part/
@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!
@beratismailgenc1171
@beratismailgenc1171 Жыл бұрын
Harika
@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.
@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 :)))
@sagarvk5216
@sagarvk5216 2 жыл бұрын
Where i can get the code for this project ??
@salihzekiusta
@salihzekiusta 2 жыл бұрын
at 3:55 or see the pinned comment
@necaticantorun9382
@necaticantorun9382 3 жыл бұрын
Size ulasabilecigim bir irtibat numarasi varmi acaba
@yolanainas6456
@yolanainas6456 4 жыл бұрын
how if use water pump?
@salihzekiusta
@salihzekiusta 4 жыл бұрын
the schematic would be similar, but you should slightly change the code
@gokhanberkbudak1109
@gokhanberkbudak1109 4 жыл бұрын
Diode kaçlık kullanıyor?
@salihzekiusta
@salihzekiusta 4 жыл бұрын
Herhangi bir diyot modeli olabilir. Mesela 1N4001 (Vrrm = 50V) gibi.
@Decalizaangdem
@Decalizaangdem 3 жыл бұрын
how can i find the whole code?
@salihzekiusta
@salihzekiusta 3 жыл бұрын
you can copy the pinned comment.
@mohamedaminfetoui6323
@mohamedaminfetoui6323 2 жыл бұрын
plz code and shema plzzzzzzzz
@histavista8146
@histavista8146 3 жыл бұрын
Where is the code
@salihzekiusta
@salihzekiusta 3 жыл бұрын
at 3:55, also see the pinned comment
@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
@4c_21_indrasyafnursiregar8
@4c_21_indrasyafnursiregar8 5 жыл бұрын
specification dioda?
@salihzekiusta
@salihzekiusta 5 жыл бұрын
any diode type can work.. check this out: amzn.to/2ltPLZe
@MsYazna
@MsYazna 3 жыл бұрын
Hi can you send me the code please
@naveen_l
@naveen_l 4 жыл бұрын
Salik i need a code for solenoid Valve using Arduino
@salihzekiusta
@salihzekiusta 4 жыл бұрын
check out that guy: kzbin.info/www/bejne/n6C2ip-ufdGMmqs
@vishnus2732
@vishnus2732 2 жыл бұрын
codings for this bro
@salihzekiusta
@salihzekiusta 2 жыл бұрын
see the pinned comment
@greggruger589
@greggruger589 4 жыл бұрын
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 4 жыл бұрын
Thanks for your comment, I'll be considering next time.
@wazap-tv5509
@wazap-tv5509 3 жыл бұрын
what diode did you used?
@salihzekiusta
@salihzekiusta 3 жыл бұрын
You can use any type, for example 1N4001
Gli occhiali da sole non mi hanno coperto! 😎
00:13
Senza Limiti
Рет қаралды 24 МЛН
GTA 5 vs GTA San Andreas Doctors🥼🚑
00:57
Xzit Thamer
Рет қаралды 25 МЛН
Чёрная ДЫРА 🕳️ | WICSUR #shorts
00:49
Бискас
Рет қаралды 7 МЛН
Control a Solenoid with an Arduino (Tutorial)
20:01
Matt Inglot
Рет қаралды 215 М.
Arduino Garden Controller - Automatic Watering and Data Logging
9:13
Practical Engineering
Рет қаралды 3,1 МЛН
Arduino Lesson 4 - Solenoid control using a Transistor
10:16
DIY Tech Guy
Рет қаралды 50 М.
How To Control A Solenoid With A Raspberry Pi Using a Relay
6:15
Core Electronics
Рет қаралды 89 М.
Arduino Automatic Garden Watering System
23:20
Pascal Godin
Рет қаралды 90 М.
#207 Why most Arduino Soil Moisture Sensors suck (incl. solution)
10:59
Controlling Water Flow with a Solenoid and Arduino IoT Cloud Part 1
15:05