Arduino Door lock with keypad + LCD + Solenoid/Relay

Sdílet
Vložit
  • čas přidán 21. 08. 2024

Komentáře • 40

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

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

  • @DillonGaming036
    @DillonGaming036 Před 5 lety

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

  • @mahmoudmahamed3239
    @mahmoudmahamed3239 Před 3 lety

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

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

  • @kimlonglieb8227
    @kimlonglieb8227 Před 4 lety

    thank teacher

  • @user-jy3hq8vo3m
    @user-jy3hq8vo3m Před 5 lety

    thanks

  • @daviddafeng896
    @daviddafeng896 Před 5 lety +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  Před 5 lety +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 Před 5 lety +1

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

    • @fadzilnoor74
      @fadzilnoor74 Před 5 lety

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

  • @leonardcainguitan7863
    @leonardcainguitan7863 Před 5 lety

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

    • @SurtrTech
      @SurtrTech  Před 5 lety

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

  • @OluwaseunAdenipekun
    @OluwaseunAdenipekun Před 5 lety

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

    • @SurtrTech
      @SurtrTech  Před 5 lety

      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

  • @anonymousthings6995
    @anonymousthings6995 Před 4 lety

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

    • @SurtrTech
      @SurtrTech  Před 4 lety

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

    • @anonymousthings6995
      @anonymousthings6995 Před 4 lety

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

    • @SurtrTech
      @SurtrTech  Před 4 lety

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

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

    • @SurtrTech
      @SurtrTech  Před 5 lety

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

    • @leonardcainguitan7863
      @leonardcainguitan7863 Před 5 lety

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

    • @SurtrTech
      @SurtrTech  Před 5 lety

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

    • @leonardcainguitan7863
      @leonardcainguitan7863 Před 5 lety

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

  • @leonardcainguitan7863
    @leonardcainguitan7863 Před 5 lety

    Good day sir what is the value of your resistor

    • @SurtrTech
      @SurtrTech  Před 5 lety

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

  • @yogeshitaliya473
    @yogeshitaliya473 Před 5 lety

    😍😍😍😍😍

  • @InezAtalika
    @InezAtalika Před 4 lety

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

    • @SurtrTech
      @SurtrTech  Před 4 lety

      12V 0.4A Solenoid door lock...

    • @InezAtalika
      @InezAtalika Před 4 lety

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

    • @SurtrTech
      @SurtrTech  Před 4 lety

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

    • @InezAtalika
      @InezAtalika Před 4 lety

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

  • @albyaleachannel1571
    @albyaleachannel1571 Před 4 lety

    Bagaimana kalau ada pemadaman dari pembangkit listrik

  • @theeleganttv3608
    @theeleganttv3608 Před 4 lety +1

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

  • @user-cw6vc5dj6o
    @user-cw6vc5dj6o Před 4 lety

    what the white board name?

    • @SurtrTech
      @SurtrTech  Před 4 lety

      Just look for mini or tiny breadboard...