Questions tagged [keypad]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
2answers
115 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 ...
1
vote
1answer
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(...
1
vote
1answer
67 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 ...
3
votes
0answers
56 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 ...
1
vote
1answer
58 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 ...
1
vote
0answers
64 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 ...
1
vote
1answer
115 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 ...
1
vote
2answers
133 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 ...
1
vote
3answers
176 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, ...
1
vote
0answers
179 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 ...
-1
votes
1answer
39 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 ...
0
votes
1answer
411 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 ...
1
vote
0answers
94 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 ...
0
votes
2answers
425 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 ...
1
vote
0answers
90 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 ...
0
votes
1answer
41 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; //...
0
votes
2answers
43 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 ...
1
vote
0answers
119 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 ...
0
votes
1answer
161 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 ...
1
vote
2answers
338 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 ...
1
vote
0answers
273 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 ...
0
votes
1answer
186 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 ...
1
vote
0answers
66 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&...
1
vote
0answers
77 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 ...
0
votes
1answer
283 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 ...
-1
votes
1answer
109 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. ...
0
votes
2answers
78 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 ...
0
votes
1answer
537 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, ...