Control 12VDC Solenoid Door Lock Using A Relay On Arduino

Sdílet
Vložit
  • čas přidán 21. 08. 2024
  • 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.cytro...
    🔧Hardware :
    1️⃣ Maker UNO : www.cytron.io/...
    2️⃣ 12VDC Solenoid Door Lock : my.cytron.io/p...
    3️⃣ Single channel 5V relay breakout board : my.cytron.io/p...
    4️⃣ 3.7V 1100mAh Li-Ion Battery : my.cytron.io/p...
    5️⃣ 3x18650 Battery Holder : my.cytron.io/p...
    6️⃣ Jumper Wires
  • Věda a technologie

Komentáře • 86

  • @Killing4Law
    @Killing4Law Před rokem +1

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

  • @galihtanu
    @galihtanu Před 4 lety +6

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

  • @MFLabPodcast
    @MFLabPodcast Před 4 lety +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 Před 4 lety

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

    • @lostinthephole
      @lostinthephole Před rokem

      Projek fingerprint dah siap ker

  • @Lecandotnet
    @Lecandotnet Před 3 lety +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.

  • @zainuddin4076
    @zainuddin4076 Před 4 lety

    Very useful and very easy to follow along video

  • @kelechukwuodo7545
    @kelechukwuodo7545 Před 2 lety

    Nice work, more Grace!"

  • @sodeepnext
    @sodeepnext Před 2 lety

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

  • @riyazsf
    @riyazsf Před 3 lety

    Salam this was very helpful. Thank you!

  • @xyengineeringandtechnology8497

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

  • @lemonlover5011
    @lemonlover5011 Před 2 lety

    THANK YOUUUUUUUU U SAVED ME

  • @AbiramiA-iq8nv
    @AbiramiA-iq8nv Před 4 měsíci

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

  • @DidikTV
    @DidikTV Před 4 lety

    Good tutorial video

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

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

  • @chickenz4604
    @chickenz4604 Před 3 lety

    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 !

  • @user-yt8og7kk6k
    @user-yt8og7kk6k Před rokem

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

  • @____sammy____
    @____sammy____ Před 2 lety

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

  • @thekingyoutube4914
    @thekingyoutube4914 Před 2 lety

    شكرًا ☺️

  • @chinelodaminhocaYT
    @chinelodaminhocaYT Před 3 lety

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

  • @anthonyinabo2382
    @anthonyinabo2382 Před 3 lety

    god bless and thank you

  • @yogeshitaliya473
    @yogeshitaliya473 Před 4 lety

    Nice one

  • @t4tahmed427
    @t4tahmed427 Před 3 lety

    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?

  • @galalga4778
    @galalga4778 Před 3 lety +1

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

  • @yusuffirdaus11
    @yusuffirdaus11 Před 4 lety

    well done

  • @geshbenrewand1778
    @geshbenrewand1778 Před 4 lety

    God bless you

  • @azfar99
    @azfar99 Před 2 lety

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

  • @CaranellCosplay
    @CaranellCosplay Před rokem

    how long will the battery lasts?

  • @marionjhanereyes6837
    @marionjhanereyes6837 Před 2 měsíci

    why it is not working to me

  • @haifaaaepa
    @haifaaaepa Před 3 lety

    hye, kalau kita guna solenoid electromagnet boleh ke?

  • @nursafwahh8568
    @nursafwahh8568 Před 2 lety

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

  • @nurdayanabatrisya489
    @nurdayanabatrisya489 Před 9 měsíci

    where is the coding video i couldn't fine it

  • @NURAININF
    @NURAININF Před 2 lety

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

    • @penawarsoft
      @penawarsoft Před rokem

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

  • @ziyadshidki1191
    @ziyadshidki1191 Před 3 lety +1

    for me, i choose normaly open😁😁😁

  • @syedimran1570
    @syedimran1570 Před 3 lety

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

  • @Mysteriza
    @Mysteriza Před 3 lety

    Can you make another one with bluetooth, please?

  • @darwinyee9735
    @darwinyee9735 Před 2 lety

    It is okay to use relay 12 v?

  • @san249
    @san249 Před 3 lety

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

    • @thevein8583
      @thevein8583 Před 3 lety

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

  • @jaydayawon8066
    @jaydayawon8066 Před 2 lety

    can I use any arduino??

  • @darkmirrornightmaren8980

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

    • @hishamguess2986
      @hishamguess2986 Před 4 lety

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

  • @muhammadhafizh01
    @muhammadhafizh01 Před 2 lety

    hello sir how to use nodemcu esp8266?

  • @duncantychicus9649
    @duncantychicus9649 Před 2 lety

    Can one use arduino mega adk

  • @nadaahmed9773
    @nadaahmed9773 Před 3 lety

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

    • @cytrontech
      @cytrontech  Před 3 lety

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

  • @ikhlasmaulana7190
    @ikhlasmaulana7190 Před 2 lety

    Can code for mikrokontrolee ESP32?

  • @sisodiyahardipsinh734
    @sisodiyahardipsinh734 Před 3 lety

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

    • @cytrontech
      @cytrontech  Před 3 lety

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

  • @driss25
    @driss25 Před rokem

    No push button

  • @armedcoffee6535
    @armedcoffee6535 Před 3 lety

    Is there code for Arduino

  • @nabilahahmad2649
    @nabilahahmad2649 Před 4 lety

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

    • @codingvio7383
      @codingvio7383 Před 4 lety

      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

  • @user-pv7tb2hi1d
    @user-pv7tb2hi1d Před 2 lety

    do you have platform we can communicate

  • @lemonmasam3361
    @lemonmasam3361 Před 3 lety

    how to make it auto? without pressing button?

    • @cytrontech
      @cytrontech  Před 3 lety

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

    • @terunks9567
      @terunks9567 Před 3 lety

      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..

  • @syafiqahzawanah3814
    @syafiqahzawanah3814 Před 3 lety

    hi kalau guna arduino uno bleh ke ?

    • @cytrontech
      @cytrontech  Před 3 lety

      Hi. Ya, boleh guna arduino uno juga.

  • @ikhlasmaulana7190
    @ikhlasmaulana7190 Před 2 lety

    Code pliss🙏

  • @R.K.vlog0399
    @R.K.vlog0399 Před rokem

    Automatic relay is not use

  • @humaidiharmi1496
    @humaidiharmi1496 Před 4 lety

    kalau power source tu pakai 12v adapter boleh tak?

    • @cytrontech
      @cytrontech  Před 4 lety

      Hi, boleh :)

    • @syafiqahzawanah3814
      @syafiqahzawanah3814 Před 3 lety

      mcm mna ea connection if pkai 12 v adapter ?

    • @humaidiharmi1496
      @humaidiharmi1496 Před 3 lety

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

    • @syahmiazri313
      @syahmiazri313 Před 2 lety

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

    • @mr.boatbananatv8271
      @mr.boatbananatv8271 Před 9 měsíci

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

  • @tsukumogoheI
    @tsukumogoheI Před 4 lety

    kalau pakai solenoid valve 12v boleh jugak ke?

    • @idriszmy
      @idriszmy Před 4 lety

      Ya boleh, sama saja konsepnya.

    • @tsukumogoheI
      @tsukumogoheI Před 4 lety

      @@idriszmy agak-agak ada spark tak?

    • @idriszmy
      @idriszmy Před 4 lety

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

    • @tsukumogoheI
      @tsukumogoheI Před 4 lety

      @@idriszmy boleh mintak email tak ? nak tanya something

    • @idriszmy
      @idriszmy Před 4 lety

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

  • @layaniperera363
    @layaniperera363 Před 10 měsíci

    alla balla

  • @andhikasukmana
    @andhikasukmana Před 4 lety

    The code please...

    • @cytrontech
      @cytrontech  Před 4 lety

      The code is in the tutorial page under the description.

    • @thaaera3774
      @thaaera3774 Před 3 lety

      @@cytrontech the code cannot be click

  • @layaniperera363
    @layaniperera363 Před 10 měsíci

    adog

  • @layaniperera363
    @layaniperera363 Před 10 měsíci

    alla dog

  • @VandanaNikam-eh1ug
    @VandanaNikam-eh1ug Před 7 měsíci

    Jai shree ram

  • @t4tahmed427
    @t4tahmed427 Před 3 lety

    what a accent cant understand everything

    • @michaelborisow815
      @michaelborisow815 Před 3 lety

      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 Před 3 lety +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