4x4 MATRIX KEYPAD / MEMBRANE KEYBOARD - Arduino tutorial #26

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

Komentáře • 22

  • @nishantrishinair854
    @nishantrishinair854 Před rokem +1

    thanks for the tutorial, this really helped.

  • @lobotomia_666
    @lobotomia_666 Před 7 měsíci

    how can i take in output two numbers instead of only one??

    • @BasonTech
      @BasonTech  Před 7 měsíci

      You then have to check if the user presses a number and then release. Then you have to check for the second number. Keep in mind. that you also need a "clear" button and "confirm" button to make this work correctly. If someone wants to enter the number 8 then "confirm" tells you the user is done and not want to enter 80

  • @eysaerkarababa4749
    @eysaerkarababa4749 Před 11 měsíci

    I have a keypad that has these push buttons with 16 of them.
    Their name goes from 1 to 16 .
    Can I use the code but with numbers with 2 digits😊

    • @BasonTech
      @BasonTech  Před 11 měsíci

      Hard to say without knowing which component it is. However if it uses the same technique it should work.

  • @bobsmithy3103
    @bobsmithy3103 Před 2 lety

    Just curious does the membrane keyboard support multiple keys being pressed at the same time (for a project I need 3-4 keys being pressed at the same time and I'm not sure if those membrane keypads allow for that)

    • @BasonTech
      @BasonTech  Před 2 lety

      This probably won't work. At least not when two keys share the same wire.

  • @tomscietvirs2379
    @tomscietvirs2379 Před 4 lety

    Hello!
    do you know how can i make a 15x15 keypad matrix?
    how to create a larger (hexaKey) table! there are not so many symbols on the keyboard and he does not allow me to type between two ('....')
    for example ('1a')
    does not support combination!

    • @BasonTech
      @BasonTech  Před 4 lety

      15x15 are 225 buttons, which is quite large. However it should be possible. You then need than at least around 2x15 pins. The Arduino Mega has 54 pins, so that one should be working 😃

    • @tomscietvirs2379
      @tomscietvirs2379 Před 4 lety

      @@BasonTech I have technically solved it. But I can't fix the code!
      there will be no button on the computer keyboard!
      char keys [ROWS] [COLS] = {// declare 2 dimensional array to map keys
      {'1', '4', '7', '*', '+'},
      {'2', '5', '8', '0', '-'},
      {'3', '6', '9', '#', '/'},
      {'A', 'B', 'C', 'D', '

    • @BasonTech
      @BasonTech  Před 4 lety

      @@tomscietvirs2379 The array in the tutorial is a char array. This means you can only store a single character per position. If you want more you have to use another type of make a translation function which translates a number into a certain code which matches what you want. So this could be for example an array of bytes.

    • @tomscietvirs2379
      @tomscietvirs2379 Před 4 lety

      @@BasonTech you probably know where to find a similar code!
      I won't be able to write myself yet!
      I don't know how to program so well yet.
      And many thanks for the suggestions!

  • @TheUnofficialMaker
    @TheUnofficialMaker Před 4 lety

    instead of numbers how about a programmers keypad to add { } ( ) etc without using shift key connected usb to laptop

    • @BasonTech
      @BasonTech  Před 4 lety

      You can use a Arduino Pro Micro to do this. This Arduino can act as a keyboard, so you can send your own keystrokes when a button is pressed like {} or () 😃

    • @alvaroarmando8404
      @alvaroarmando8404 Před 3 lety

      you probably dont give a shit but if you are stoned like me during the covid times then you can stream all of the new movies and series on instaflixxer. Been streaming with my brother for the last few weeks :)

    • @kyriecastiel7489
      @kyriecastiel7489 Před 3 lety

      @Alvaro Armando definitely, I have been using InstaFlixxer for months myself :)

    • @raylandalton4555
      @raylandalton4555 Před 3 lety

      @Alvaro Armando yup, I have been using instaflixxer for years myself =)

  • @rafaelmarquesribeiro1099

    Hi!
    Is it possible to use your Arduino Code implemented in StandartFirmata?
    Thanks!

    • @BasonTech
      @BasonTech  Před 3 lety

      Probably. You have to use the Firmata library and combine it with the code I use 😃

    • @rafaelmarquesribeiro1099
      @rafaelmarquesribeiro1099 Před 3 lety

      @@BasonTech i already tried but was not successful.. im trying to use the notepad in node-red and i've already tryied more options that i can count.. i just started with arduino so my knowledge isn't the best :c

    • @BasonTech
      @BasonTech  Před 3 lety

      If you don't have Arduino knowledge, I would recommend to start at the beginning. This will give you more insight in how to debug.