Arduino Door lock with keypad + LCD + Solenoid/Relay

Поділитися
Вставка
  • Опубліковано 16 вер 2024

КОМЕНТАРІ • 40

  • @omsure4332
    @omsure4332 5 років тому +3

    U can change password without change in arduino without using laptop that's best thing I was finding the same one from many days that I got it today
    Thanks brother
    😊😊☺

  • @Heggie93
    @Heggie93 4 роки тому

    Would it be easy to add leds and a buzzer? Also swap out the key pad for an RFID?

  • @mahmoudmahamed3239
    @mahmoudmahamed3239 4 роки тому

    I made a door lock system with relay connected to the solenoid it's almost the same but without push button and resistor so I want to know which part of the code should i change to make it work with my project

    • @SurtrTech
      @SurtrTech  4 роки тому

      The button just opens the lock from the inside, if you remove it you can keep the code as is it no problem...

  • @leonardcainguitan7863
    @leonardcainguitan7863 5 років тому

    Good day sir... What if i dont have the irf 510n transistor.. Can i use rif520 is it possible

    • @SurtrTech
      @SurtrTech  5 років тому

      Yes just check the Vds(should be higher than the solenoid voltage) and Vgs(around 5v)

  • @OluwaseunAdenipekun
    @OluwaseunAdenipekun 5 років тому

    What can I use to substitute MOSFET IRF510N if I can find one, please reply.

    • @SurtrTech
      @SurtrTech  5 років тому

      You can use an optocoupler just look for one which diode forward voltage is 5v or below if it's below add a resistor to divide the voltage, also check the collector-emitter max voltage it should be higher than the solenoid power voltage.
      You can use a bipolar transistor but you'll need to add some resistors.
      Other MOSFETs can do the work
      For MOSFETs always check for the Voltage (Gate-Source) it should be 5 or 4V at typical, so it can be triggered by Arduino 5V, and check for the Max Voltage (Drain-Source) it should be higher than the solenoid voltage this one has 100V.
      For the bipolar ones you should consider the solenoid current, and do few calculations to find the correct resistors to use

  • @محمدمحمود-ز2م4ه
    @محمدمحمود-ز2م4ه 5 років тому

    thanks

  • @kimlonglieb8227
    @kimlonglieb8227 4 роки тому

    thank teacher

  • @leonardcainguitan7863
    @leonardcainguitan7863 5 років тому

    Good day sir what is the value of your resistor

    • @SurtrTech
      @SurtrTech  5 років тому

      I can't remember it's just a pull down resistor you can use 100 O 200 O 1k 4.7k 10k...

  • @daviddafeng896
    @daviddafeng896 5 років тому +1

    Please someone should come to my rescue, the code is giving me error when compiling.the error is as shown below
    no matching function for call to 'LiquidCrystal_I2C::LiquidCrystal_I2C(int, int, int, int, int, int, int, int)'
    What could be responsible.

    • @SurtrTech
      @SurtrTech  5 років тому +1

      Hello, sorry your previous comment was on hold, as I told you it's a library (LCD) problem delete the others or adapt the code to the one that you use

    • @daviddafeng896
      @daviddafeng896 5 років тому +1

      @@SurtrTech Thanks sir, i delete other library and it compile successfully

    • @fadzilnoor74
      @fadzilnoor74 5 років тому

      @@daviddafeng896 hello sir, how u remove other library?

  • @anonymousthings6995
    @anonymousthings6995 4 роки тому

    Hi, I dont have LCD like you, can I just use regular LCD(16pins) for this project?

    • @SurtrTech
      @SurtrTech  4 роки тому

      Of course you can do it but you should reduce pin numbers... You can use the "one wire" method for the keypad.

    • @anonymousthings6995
      @anonymousthings6995 4 роки тому

      @@SurtrTech what do you mean by one wire keypad? 😅 sorry I'm still new in this things 😅

    • @SurtrTech
      @SurtrTech  4 роки тому

      Well if you check the wiring you'll see that there's no enough pins to add a standard LCD screen since it requires about 6 digital pins... So you can make the keypad as one wire only, you can look it up, you'll just need some resistors and you'll wire it with an analog pin, but you'll have to do a lot of changes in the code too.
      You can use an Arduino Mega if you want you'll have to rearrange the pins and don't forget the correct libraries and codes that you have to chose.

  • @leonardcainguitan7863
    @leonardcainguitan7863 5 років тому

    Good day sir.. What if the powercut off.. While using ac adapter for arduino how can automatically switch into dcpower...

    • @SurtrTech
      @SurtrTech  5 років тому

      You can add an automatic power source selector, which is a project on itself.

    • @leonardcainguitan7863
      @leonardcainguitan7863 5 років тому

      @@SurtrTech can you trY it sir plzzz.. I dont know how to do that sir...

    • @SurtrTech
      @SurtrTech  5 років тому

      Sorry I've never made one, but you can check around there good examples, search for Arduino backup battery/power...

    • @leonardcainguitan7863
      @leonardcainguitan7863 5 років тому

      @@SurtrTech good day sir... Can you please show the connection between the relay and the solinoid... Sir.. Because the it is not working .. Sir

  • @DillonGaming036
    @DillonGaming036 5 років тому

    Hey man it is giving me this error
    Keypad_doorlock_relay:50: error: no matching function for call to 'LiquidCrystal_I2C::LiquidCrystal_I2C(int, int, int, int, int, int, int, int)'

    • @SurtrTech
      @SurtrTech  5 років тому +1

      Sorry for being so late, I didn't get the notification, this is a library problem, either you didn't install it or you already have one that's not compatible with this function, so you either install it or adapt the code to the library you use.

  • @albyaleachannel1571
    @albyaleachannel1571 4 роки тому

    Bagaimana kalau ada pemadaman dari pembangkit listrik

  • @user-cw6vc5dj6o
    @user-cw6vc5dj6o 4 роки тому

    what the white board name?

    • @SurtrTech
      @SurtrTech  4 роки тому

      Just look for mini or tiny breadboard...

  • @InezAtalika
    @InezAtalika 4 роки тому

    sir what type of solenoid do you use? please notice me :) thankyou sir..

    • @SurtrTech
      @SurtrTech  4 роки тому

      12V 0.4A Solenoid door lock...

    • @InezAtalika
      @InezAtalika 4 роки тому

      @@SurtrTech can i use 12v 1A sir??

    • @SurtrTech
      @SurtrTech  4 роки тому

      @@InezAtalika Yes, the transistor I used can support up to 5.6A... Check your transistor data sheet if you're using another.

    • @InezAtalika
      @InezAtalika 4 роки тому

      @@SurtrTech thank you sir for your answer is very helpful🙏

  • @yogeshitaliya473
    @yogeshitaliya473 5 років тому

    😍😍😍😍😍

  • @theeleganttv3608
    @theeleganttv3608 4 роки тому +1

    The link of the code doesn't work please send it in email