Control 12VDC Solenoid Door Lock Using A Relay On Arduino

Поделиться
HTML-код
  • Опубликовано: 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
  • НаукаНаука

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

  • @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

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

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

    Salam this was very helpful. Thank you!

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

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

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

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

  • @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 !

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

    Nice work, more Grace!"

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

    THANK YOUUUUUUUU U SAVED ME

  • @____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?

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

    Good tutorial video

  • @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

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

    god bless and thank you

  • @general.1233
    @general.1233 Год назад

    Wa Alaykom Alsalam. Thank you!

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

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

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

    شكرًا ☺️

  • @AbiramiA-iq8nv
    @AbiramiA-iq8nv 3 месяца назад

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

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

    God bless you

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

    Nice one

  • @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?

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

    well done

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

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

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

    how long will the battery lasts?

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

    Can one use arduino mega adk

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

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

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

    It is okay to use relay 12 v?

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

    hye, kalau kita guna solenoid electromagnet boleh ke?

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

    hello sir how to use nodemcu esp8266?

  • @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 11 месяцев назад

      Projek fingerprint dah siap ker

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

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

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

    Can code for mikrokontrolee ESP32?

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

    Can you make another one with bluetooth, please?

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

    can I use any arduino??

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

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

  • @user-pv7tb2hi1d
    @user-pv7tb2hi1d 2 года назад

    do you have platform we can communicate

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

    Is there code for Arduino

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

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

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

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

  • @marionjhanereyes6837
    @marionjhanereyes6837 Месяц назад

    why it is not working to me

  • @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 :)

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

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

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

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

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

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

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

    where is the coding video i couldn't fine it

  • @ziyadshidki1191
    @ziyadshidki1191 3 года назад +2

    for me, i choose normaly open😁😁😁

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

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

  • @user-yt8og7kk6k
    @user-yt8og7kk6k Год назад

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

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

    Code pliss🙏

  • @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:)

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

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

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

      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.

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

    No push button

  • @R.K.vlog0399
    @R.K.vlog0399 Год назад

    Automatic relay is not use

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

  • @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 7 месяцев назад

      ​@@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

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

    alla balla

  • @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 9 месяцев назад

    adog

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

    alla dog

  • @VandanaNikam-eh1ug
    @VandanaNikam-eh1ug 6 месяцев назад

    Jai shree ram

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

    what a accent cant understand everything

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

      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 3 года назад +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