Questions tagged [keypad]
44 questions
3
votes
1 answer
Problem when coding 4x4 keypad's key detection (without library)
Part of my current assignment involves reading the input from a 4x4 keypad connected to an Arduino UNO. While this may be done easily using , the project is being done with Tinkercad's online simulator, meaning I don't have access to that…
Maf95
- 33
- 4
3
votes
0 answers
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 Adapter Module
TIP120 Transistor (for…
D_0
- 31
- 1
2
votes
1 answer
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 multiple ttp123 break-boards. Each ttp123 signal is…
thermike
- 51
- 4
2
votes
4 answers
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.
So the basic program is like that When I enter…
Imteaj007
- 21
- 4
2
votes
2 answers
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 is being picked, I am playing a .wav file of an intro on…
GoldenMoose
- 23
- 5
1
vote
1 answer
Arduino keypad shield with motor
I bought an Arduino keypad shield.
I want to operate a DC or servo motor when I press button on the keypad shield.
In image, I connected keypad shield with an Arduino Uno by wiring up J1, J2, RW, E, RS, D4, 5, 6, 7, 5V, GND, GND and A0.
I checked…
SungJin Park
- 21
- 3
1
vote
0 answers
Automatic pet feeder with a simple menu type keypad
this is the sample code where the user enters A to set the number of times the pet needs to be fed. When I click A on the keypad it asks for the user to set the number. However, the keypad still somehow saves the input of A that is initially…
michael filbert
- 11
- 1
1
vote
0 answers
Code question: LCD keypad Shield. How do I define the buttons?
I am trying to adapt a alarm clock sketch that used external buttons, but I would like to utilize a LCD Keypad Shield. The data sheet says all the buttons are on pin A0, so every button is "set time" in the original sketch.
After reading this…
SV Savannah
- 167
- 9
1
vote
1 answer
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 led
red led
buzzer
keypad 4x4
I'm doing the…
Carlos Muñoz
- 11
- 1
1
vote
0 answers
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 problem and what should i do to solve!. my GLCD…
HẢI HỒ
- 9
- 4
1
vote
1 answer
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();
main_screen();
if (input=='A')
…
CJPM
- 11
- 1
1
vote
1 answer
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 delays block code until they are done I thought I…
Izabela
- 23
- 4
1
vote
1 answer
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 program is made to load addresses (mainly IP…
EBG15
- 11
- 2
1
vote
0 answers
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 passive buzzer all connected to a keyestudio mega…
Abhi
- 31
- 2
1
vote
1 answer
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 TM1637 seven segment display. The basic idea is…
Marcelo_M
- 121
- 1
- 7