Control 12VDC Solenoid Door Lock Using A Relay On Arduino

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ม.ค. 2020
  • Do you know how to control a 12VDC solenoid door lock using a relay? With a simple circuit connection, now you can use a solenoid door lock for your project.
    🎬Watch this video for more info on How To Control A 12VDC Solenoid Door Lock Using A 5V Relay on Arduino. You'll also learn the difference between normally open and normally closed relay connections in this video.
    ⌨️Software :
    1️⃣ Arduino IDE
    💻Tutorial:
    tutorial.cytron.io/2020/01/31...
    🔧Hardware :
    1️⃣ Maker UNO : www.cytron.io/p-maker-uno-sim...
    2️⃣ 12VDC Solenoid Door Lock : my.cytron.io/p-12vdc-solenoid...
    3️⃣ Single channel 5V relay breakout board : my.cytron.io/p-single-channel...
    4️⃣ 3.7V 1100mAh Li-Ion Battery : my.cytron.io/p-3.7v-1100mah-l...
    5️⃣ 3x18650 Battery Holder : my.cytron.io/p-3x18650-batter...
    6️⃣ Jumper Wires
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 86

  • @Killing4Law
    @Killing4Law ปีที่แล้ว +1

    Many thanks, I need to control this solenoid with an ESP01 modul relay. I'm a real noob and it's really helpful

  • @zainuddin4076
    @zainuddin4076 4 ปีที่แล้ว

    Very useful and very easy to follow along video

  • @riyazsf
    @riyazsf 2 ปีที่แล้ว

    Salam this was very helpful. Thank you!

  • @Lecandotnet
    @Lecandotnet 3 ปีที่แล้ว +1

    Thank you for great help.
    Please show your circuit diagram with component types and values, for the hearing impaired people .
    Arduino has 3 wires and solenoid has 2 wires while relay has only 5 wires.
    You did not mention about relay NC pin6, it stays empty.

  • @kelechukwuodo7545
    @kelechukwuodo7545 2 ปีที่แล้ว

    Nice work, more Grace!"

  • @dineshravichandran5305
    @dineshravichandran5305 2 ปีที่แล้ว +1

    can i use this same method for 12v normal solenoid push and pull type

  • @lemonlover5011
    @lemonlover5011 ปีที่แล้ว

    THANK YOUUUUUUUU U SAVED ME

  • @DidikTV
    @DidikTV 4 ปีที่แล้ว

    Good tutorial video

  • @chickenz4604
    @chickenz4604 2 ปีที่แล้ว

    Hello, 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 !

  • @chinelodaminhocaYT
    @chinelodaminhocaYT 3 ปีที่แล้ว

    It is possible to use a sigle power suply ? Thanks a lot!

  • @anthonyinabo2382
    @anthonyinabo2382 3 ปีที่แล้ว

    god bless and thank you

  • @____sammy____
    @____sammy____ 2 ปีที่แล้ว

    Any way of opening if the system is down?
    Or does it open if there isn't any power on the lock?

  • @geshbenrewand1778
    @geshbenrewand1778 4 ปีที่แล้ว

    God bless you

  • @galihtanu
    @galihtanu 4 ปีที่แล้ว +6

    By use strong magnet. Thift can manipulated relay to open lock for my suggest use transistor tip 31 as switch instead of relay!

    • @haletawha
      @haletawha 3 ปีที่แล้ว

      Great ! that is possible

  • @AbiramiA-iq8nv
    @AbiramiA-iq8nv หลายเดือนก่อน

    Instead of pressing can we trigger it by a signal for locking and unlocking

  • @general.1233
    @general.1233 ปีที่แล้ว

    Wa Alaykom Alsalam. Thank you!

  • @sodeepnext
    @sodeepnext 2 ปีที่แล้ว

    و عليكم السلام و رحمة الله و بركاته thank you

  • @yogeshitaliya473
    @yogeshitaliya473 4 ปีที่แล้ว

    Nice one

  • @xyengineeringandtechnology8497
    @xyengineeringandtechnology8497 2 ปีที่แล้ว

    No wonder my buzzer was always sounding. Just realized I used the normally open 😄

  • @thekingyoutube4914
    @thekingyoutube4914 ปีที่แล้ว

    شكرًا ☺️

  • @fighterjahilliah
    @fighterjahilliah 4 ปีที่แล้ว +1

    Timing mantap.Lepas ni tinggal tambah fingerprint scanner dan projek saya siap.Ingat nak guna selak je sebelum ni.Nasib cytron kasi idea

    • @noorhafizahsultan4976
      @noorhafizahsultan4976 4 ปีที่แล้ว

      Nanti lepas tambah finger print scanner share ye. Boleh apply kat bilik guru sskolah saya pulak 😁

    • @lostinthephole
      @lostinthephole 9 หลายเดือนก่อน

      Projek fingerprint dah siap ker

  • @yusuffirdaus11
    @yusuffirdaus11 4 ปีที่แล้ว

    well done

  • @syedimran1570
    @syedimran1570 3 ปีที่แล้ว

    WaAlaikum AsSalam, Thanks for your project, It's very helpful, Zazakallah.

  • @CaranellCosplay
    @CaranellCosplay 9 หลายเดือนก่อน

    how long will the battery lasts?

  • @duncantychicus9649
    @duncantychicus9649 2 ปีที่แล้ว

    Can one use arduino mega adk

  • @t4tahmed427
    @t4tahmed427 3 ปีที่แล้ว

    hello
    my relais doest work with NO pin but works with NC. is it normal? even i have verified with ohmmeter nc pin is realy nc pin. Same for NO. Why its happen i dont understand?

  • @darwinyee9735
    @darwinyee9735 ปีที่แล้ว

    It is okay to use relay 12 v?

  • @azfar99
    @azfar99 2 ปีที่แล้ว

    Assalamualaikum, relay 12v dc no need to use coding?

  • @haifaaaepa
    @haifaaaepa 2 ปีที่แล้ว

    hye, kalau kita guna solenoid electromagnet boleh ke?

  • @jaydayawon8066
    @jaydayawon8066 ปีที่แล้ว

    can I use any arduino??

  • @muhammadhafizh01
    @muhammadhafizh01 2 ปีที่แล้ว

    hello sir how to use nodemcu esp8266?

  • @ikhlasmaulana7190
    @ikhlasmaulana7190 ปีที่แล้ว

    Can code for mikrokontrolee ESP32?

  • @Mysteriza
    @Mysteriza 3 ปีที่แล้ว

    Can you make another one with bluetooth, please?

  • @user-pv7tb2hi1d
    @user-pv7tb2hi1d 2 ปีที่แล้ว

    do you have platform we can communicate

  • @user-yt8og7kk6k
    @user-yt8og7kk6k ปีที่แล้ว

    I like what you said in first " السلام عليكم" 👍👏

  • @darkmirrornightmaren8980
    @darkmirrornightmaren8980 3 ปีที่แล้ว

    Can i use a 12v source instead of the batteries?

    • @hishamguess2986
      @hishamguess2986 3 ปีที่แล้ว

      Yes, that is always an option. Use the onboard VIN Pin for positive and negative to ground.

  • @armedcoffee6535
    @armedcoffee6535 2 ปีที่แล้ว

    Is there code for Arduino

  • @nadaahmed9773
    @nadaahmed9773 3 ปีที่แล้ว

    can i use arduino uno to make this? and can i make it without relay?

    • @cytrontech
      @cytrontech  3 ปีที่แล้ว

      Yes, you can use it with Arduino UNO but you'll need relay to control solenoid ya :)

  • @ziyadshidki1191
    @ziyadshidki1191 2 ปีที่แล้ว +2

    for me, i choose normaly open😁😁😁

  • @galalga4778
    @galalga4778 3 ปีที่แล้ว +1

    Hi, is it fine to use 12V battery 🔋?

  • @san249
    @san249 2 ปีที่แล้ว

    12v may soon burn kr damage the 5v relay or not?

    • @thevein8583
      @thevein8583 2 ปีที่แล้ว

      No.. if 5 volt relay it can take until 240 volt.. i already use for AC then connect to arduino... No problem sir 🤗

  • @nurdayanabatrisya489
    @nurdayanabatrisya489 5 หลายเดือนก่อน

    where is the coding video i couldn't fine it

  • @nursafwahh8568
    @nursafwahh8568 2 ปีที่แล้ว

    knpe ek saya guna battery yg sama volt tpi solenoid tak function?

  • @NURAININF
    @NURAININF ปีที่แล้ว

    nak tanya, untuk yang testing solenoid door lock tu just connect dengan battery je ke? urgent reply please huhu

    • @penawarsoft
      @penawarsoft ปีที่แล้ว

      Hai ainin.. better dgn battery dulu.. kalau blackout senang...😂 Tak terkunci....

  • @ikhlasmaulana7190
    @ikhlasmaulana7190 ปีที่แล้ว

    Code pliss🙏

  • @nabilahahmad2649
    @nabilahahmad2649 3 ปีที่แล้ว

    Kalau saya guna arduino uno instead of maker uno boleh ke?

    • @codingvio7383
      @codingvio7383 3 ปีที่แล้ว

      It is the same thing, just a nock off version of the arduino. Arduino open sources their code and schematic so anyone can make their own board

  • @syafiqahzawanah3814
    @syafiqahzawanah3814 3 ปีที่แล้ว

    hi kalau guna arduino uno bleh ke ?

    • @cytrontech
      @cytrontech  3 ปีที่แล้ว

      Hi. Ya, boleh guna arduino uno juga.

  • @sisodiyahardipsinh734
    @sisodiyahardipsinh734 3 ปีที่แล้ว

    My lock not run at 15V what I need to do??

    • @cytrontech
      @cytrontech  3 ปีที่แล้ว

      Hi. You can drop an email to support@cytron.io for further technical assistance. Thanks:)

  • @lemonmasam3361
    @lemonmasam3361 3 ปีที่แล้ว

    how to make it auto? without pressing button?

    • @cytrontech
      @cytrontech  3 ปีที่แล้ว

      You can use IR sensor: my.cytron.io/index.php?route=product/search&search=ir%20sensor&description=true

    • @terunks9567
      @terunks9567 3 ปีที่แล้ว

      Macam mana ye Kalau pakai ir sensor.. bila detect benda dia akan tertutup selepas berapa saat mcm 20 saat.. then kita boleh dapat noti melalui blynk app.. kita juga boleh kawal bukak tutup solenoid guna blynk app.. boleh bagi pencerahan tak? atau saya boleh email ke mana ye..

  • @driss25
    @driss25 ปีที่แล้ว

    No push button

  • @humaidiharmi1496
    @humaidiharmi1496 4 ปีที่แล้ว

    kalau power source tu pakai 12v adapter boleh tak?

    • @cytrontech
      @cytrontech  4 ปีที่แล้ว

      Hi, boleh :)

    • @syafiqahzawanah3814
      @syafiqahzawanah3814 3 ปีที่แล้ว

      mcm mna ea connection if pkai 12 v adapter ?

    • @humaidiharmi1496
      @humaidiharmi1496 3 ปีที่แล้ว

      @@syafiqahzawanah3814 boleh pakai charger phone dengan rating yang sesuai.

    • @syahmiazri313
      @syahmiazri313 2 ปีที่แล้ว

      @@cytrontech kenapa eh saya beli bateri sama dlm video tpi solenoid tk function?

    • @mr.boatbananatv8271
      @mr.boatbananatv8271 5 หลายเดือนก่อน

      ​@@syahmiazri313I have the same problem, if you see this pls reply why is this happend.

  • @tsukumogoheI
    @tsukumogoheI 4 ปีที่แล้ว

    kalau pakai solenoid valve 12v boleh jugak ke?

    • @idriszmy
      @idriszmy 4 ปีที่แล้ว

      Ya boleh, sama saja konsepnya.

    • @tsukumogoheI
      @tsukumogoheI 4 ปีที่แล้ว

      @@idriszmy agak-agak ada spark tak?

    • @idriszmy
      @idriszmy 4 ปีที่แล้ว

      @@tsukumogoheI tak pasti nak kata. Kalau ada pun dekat contact dalam relay. Tak nampak.

    • @tsukumogoheI
      @tsukumogoheI 4 ปีที่แล้ว

      @@idriszmy boleh mintak email tak ? nak tanya something

    • @idriszmy
      @idriszmy 4 ปีที่แล้ว

      @@tsukumogoheI boleh email ke idrisz.my@gmail.com

  • @R.K.vlog0399
    @R.K.vlog0399 ปีที่แล้ว

    Automatic relay is not use

  • @andhikasukmana
    @andhikasukmana 4 ปีที่แล้ว

    The code please...

    • @cytrontech
      @cytrontech  4 ปีที่แล้ว

      The code is in the tutorial page under the description.

    • @thaaera3774
      @thaaera3774 3 ปีที่แล้ว

      @@cytrontech the code cannot be click

  • @layaniperera363
    @layaniperera363 7 หลายเดือนก่อน

    alla balla

  • @layaniperera363
    @layaniperera363 7 หลายเดือนก่อน

    adog

  • @layaniperera363
    @layaniperera363 7 หลายเดือนก่อน

    alla dog

  • @VandanaNikam-eh1ug
    @VandanaNikam-eh1ug 3 หลายเดือนก่อน

    Jai shree ram

  • @t4tahmed427
    @t4tahmed427 3 ปีที่แล้ว

    what a accent cant understand everything

    • @michaelborisow815
      @michaelborisow815 2 ปีที่แล้ว

      Give him some credit, you didn't technically form a correct sentence right there either. What *an accent *. I* can't understand everything
      he even included closed captions if you really couldn't understand

    • @t4tahmed427
      @t4tahmed427 2 ปีที่แล้ว +1

      @@michaelborisow815
      Can you also correction your writing? .
      I wrote the comment very quickly. When we write quickly in fb or yt, some peoples dont use all préposition etc etc. I agrre there was also one of my mistake . What ever i didn’t understand means i didn’t understand. You cant force me to understand. May be you are used to listen with this kind of accent