2022 Developer Survey is open! Take survey.

Questions tagged [keypad]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
44 views

Connecting various devices to Arduino

I need to connect the following devices to an Arduino UNO board. The problem is that I run out of pins to be able to connect them all. Is there any way to do it? ultrasonic sensor yellow led green ...
user avatar
-1 votes
0 answers
29 views

Please i want to switch between two modes in my Arduino project.That's switching between a keypad lock mode and a RFID mode below is my to codes [duplicate]

First code #include <SPI.h> #include <Wire.h> #include <Keypad.h> #include <LiquidCrystal_I2C.h> #include<EEPROM.h> #define greenled 7 #define redled 6 ...
user avatar
2 votes
1 answer
123 views

Using CD74HC4067 16-Channel Analog Multiplexer Demultiplexer is not working as expected

I am working on a project that needs multiple digital signals and I am considering the CD74HC4067 (on a break-board) to work as a multiplexer. More specifically i am trying to build a keypad with ...
user avatar
-1 votes
1 answer
50 views

How to make Arduino to read 1X4 keypad multiple times?

I want to use 1X4 membrane keypad to enter 3 working parameters for LED string controlled by Arduino mini. Keypad is attached to D2-D5 pins and LED is attached to pin 12. My objective is to set the ...
user avatar
1 vote
0 answers
36 views

I can't show the button pressed on the GLCD ST7920?

I have a small project that i want to show my keypad pressed on my GLCD but when i pressed keypad, even on serial it is fines but on GLCD it can't show my characters. Could you tell me what the ...
user avatar
2 votes
4 answers
519 views

My program is using too much memory

I work in a warehouse and I was tasked to make a device which will show the location of any product when Product ID is given. All of our product has 3 things. Product ID, Rack Number and Gap number. ...
user avatar
2 votes
2 answers
291 views

Keypad pin as an interrupt (Wiring or programming)

I have this project of a "phone". It consists of: Arduino DUE, 4x4 Keypad, SD Data shield, a phone receiver detect (on/off) an Amp and a Speaker. In the beginning, after the phone receiver ...
user avatar
1 vote
1 answer
21 views

Arduino Keypad: the following key does not respond

I was wondering, by the time I press the following key, it does not return to the main_screen() function. How can I fix my code? void loop() { int exit = 0; char input = customKeypad.getKey(...
user avatar
  • 11
1 vote
1 answer
103 views

Alternative to a delay so it can be interrupted

I have task which includes a 30s delay in the void loop. During this delay I want to be able to press a key on a keypad and have a message displayed on the serial monitor as an emergency stop. Since ...
user avatar
  • 23
3 votes
0 answers
75 views

Keypad - Speaker - Interference

I am trying to build a system, that plays specific audios (.wav files) from a SD-Card, according to the key combination that has been pressed. I am using: 4x4 Membrane 4 Ohm Speaker MicroSD Card ...
user avatar
  • 31
1 vote
1 answer
90 views

Arduino keypad variables to serial port

I've been trying, for over a week now, to create a program that will store my keypad presses into variable, and with a press of an enter, it will switch to the next variable to store the presses. The ...
user avatar
  • 11
1 vote
0 answers
120 views

Why is my buzzer always on?

I wanted to make a buzzer go off when the distance measured by the ultrasonic sensor becomes more than 100cm. The things used in this project are a 4x4 keypad, an hc-sr04 ultrasonic sensor, and a ...
user avatar
  • 31
1 vote
1 answer
142 views

Help in personal alarm clock project, cant write time on seven segment display

I'm trying to make a type of Arduino alarm clock, which when the time I inputed is equals to the current time, a servo will turn on my lights. It basically consists of a Keypad, an RTC DS1307 and a ...
user avatar
  • 111
1 vote
2 answers
194 views

Keypad as game input device?

I have been trying to get a button matrix to work but im not experienced enough in programming. I Have tried to read up but i don't know how to execute so some help would be greatly appreciated. I ...
user avatar
1 vote
3 answers
281 views

Formatting variables from a variadic function

I have a function that concatenates a print line, however I am having trouble getting some of the strings to format correctly. Using Serial.print formats the output from keypad.getKey() correctly, ...
user avatar
1 vote
0 answers
311 views

Displaying Keypad Input on TFT Display

For a project of mine I have always wanted to build an electronic load and I am mostly done. However I have found myself stuck at one part that I thought would be simple but has thus only caused ...
user avatar
  • 11
-1 votes
1 answer
55 views

Ultrasonic Sensor as Unlock Sensor

Is it possible to use ultrasonic sensors maybe HC SR04 type as unlock sensors? I'm figuring out if it can replace matrix keypad? For example 6 HC SR04 are used to be an input sensor waiting for a ...
user avatar
  • 1
0 votes
1 answer
633 views

Can't get keypad to use Keyboard.write on an Arduino Uno

I've tried to use Keypad.h and Keyboard.h libraries to get my Arduino to use my Keypad for Keyboard input. I'll start with working keypad code (which is pretty easy but it's my first post so I want ...
user avatar
1 vote
0 answers
117 views

4x4 keypad stops reacting

I am having an issue with the a 4×4 keypad. It usually works fine but sometimes the keypad stops reacting or no key is pressed but it still shows a random keypress on the LCD. The only solution is to ...
user avatar
  • 31
0 votes
2 answers
512 views

How to exit while loop using keypad?

I can't seem to be able to escape a while loop using a keypad button. I've tried the solution from this thread: https://forum.arduino.cc/index.php?topic=79932.0 Here's my code: void alarm(){ char ...
user avatar
1 vote
0 answers
123 views

Problem with printing keypad input to the LCD in a while loop

this is my first post here, though I have been following this forum for a while (pun intended). I am trying to write a program for a machine that will drill holes in a metal rail, and cut the rail to ...
user avatar
0 votes
1 answer
78 views

Switch Case Return , Return not printing

I am trying to get the value of a key pressed and set it to return a value to use in a loop. In the code below the Print(t) does not show anything #include <Keypad.h> const byte ROWS = 4; //...
user avatar
  • 1
0 votes
2 answers
49 views

Including keypad library removes sound from my piezo element

I am using the keypad library to include keypad and input numbers. when a specific number is entered a sound must be made. However when I input using the serial monitor , sound is working. But when I ...
user avatar
1 vote
0 answers
121 views

Completing an action on button release help with delaying to give other modules time to repond

I'm currently having problems with my code it has several modules within the main one is my current keypad one working of a mcp23017. what I needed it to do is count how long a key is pressed and upon ...
user avatar
  • 11
-1 votes
1 answer
205 views

Is there a way for keypad to stop the buzzer while it is running?

I am new to arduino, currently I am looking for a way to make the keypad able to stop the buzzer making a siren alarm when password are keyed in wrong and able to move into password screen by pressing ...
user avatar
1 vote
2 answers
453 views

LCD screen won't stop printing the same characters twice

I'm hoping that someone might be able to help me figure out how to prevent my LCD from giving me double digits (i.e. 55, 66, 77 - instead of 5,6,7); I have 2 functions that are printing, so I'm ...
user avatar
1 vote
0 answers
378 views

Not Able to get INPUT_PULLUP pinmodes to work on multiple pins

I am working with an Arduino nano, and ic2 128x32 OLED display and a 1x4 membrane keypad. Problem is that only one of the 4 pins are detecting the button press. it's not the Arduino, I already was ...
user avatar
0 votes
1 answer
202 views

how to use keypad button multiple integer value input [closed]

I have been working on water flow sensor which measures volume then i need to restrict the amount of water which disperse from depend on the user input form the keypad so how can i store the input ...
user avatar
  • 13
1 vote
0 answers
70 views

Keypad code not working

I am new I took a code of keypad in arduino. Arduino code is not working in setup area but if I place the same code in loop are it works why? Kindly guide me. Here is the code. #include <Keypad.h&...
user avatar
1 vote
0 answers
87 views

How can if resolve this conflict between matrix keypad library and neopixel library?

I'm trying to use a 4x3 matrix keypad as a user interface to control parameters of a Neopixel strip control program. I'm using Adafruit's Neopixel library and This Keypad library. Both work fine on ...
user avatar
0 votes
1 answer
331 views

Switch Statement stuck in loop

I am writing a code for a user to enter a 4 digit pin, then use this pin later to unlock a box. The loop is stuck between the "ready to unlock box" and "enter pin" it just keeps flipping between ...
user avatar
  • 1
-1 votes
1 answer
121 views

Does this sound like a good approach to decoding a dumb keypad?

The background: I bought a "dumb" 8-pin 4x4 keypad for use in a project. (This one: https://www.sparkfun.com/products/14881 It has a wire connected to each row, and a wire connected to each column. ...
user avatar
  • 5,509
0 votes
2 answers
97 views

Servo starts to shake when I added SIM900.begin(19200);

Hello I'm working on this mini project. This project works this way, Whenever someone type wrong password, LCD will display "Access Denied" and send an alert to SMS using GSM module. I used 2 ...
user avatar
0 votes
1 answer
628 views

Why does my 16x2 LCD displays weird letters and can't insert key from keypad?

I'm a newbie on Arduino here, and this is my first project on 16x2 LCD, 4x4 keypad and others. So, the story is, after I uploaded the program for my group's Arduino alarm clock to the Arduino board, ...
user avatar