Skip to main content

Questions tagged [button]

A button is a simple input component which responds to being pushed by a user.

-1 votes
1 answer
64 views

I know that I am missing something basic but cannot find the problem. The button works correctly. The board is Nano connect. Monitor readout is stuck on first line although obviously the whole thing ...
modelralph's user avatar
-1 votes
1 answer
88 views

I'm new in coding with Arduino, and I am trying to make a one hand keyboard with joystick as personal project. I tried to make it print some ASCII characters, but I don't know why the button keeps ...
Burritodeltodo's user avatar
-1 votes
1 answer
48 views

I'm trying to detect a press of a 5-terminal LED button using the tutorial here: https://newbiely.com/tutorials/esp8266/esp8266-button-long-press-short-press Works with no issue with standard ...
Michał Darowski's user avatar
0 votes
1 answer
109 views

I am creating a three-person reaction time game but I would like to be able to read all three buttons' proximity to the start time - currently only the winner is displayed on the serial read. Here is ...
ggamalero05's user avatar
0 votes
1 answer
68 views

I'm having some trouble with software debouncing on Arduino UNO. There is a condition in my code where an unwanted debounce registers as a button push. I'm using an interrupt for my button press, ...
Boyfinn's user avatar
  • 245
2 votes
2 answers
852 views

Expected Behavior: I am attempting to use && or nested if statements to achieve the effect of two switches being required to close prior to an LED light (i.e., flip both switches), the LED ...
jmarywien's user avatar
1 vote
1 answer
723 views

In the code below which is running on a WEMOS D1 (ESP8266), a NeoPixel strip turns on 1 LED in red which moves left to right and then right to left whilst the board attempts to connect to Wi-Fi in the ...
Lachlan Etherton's user avatar
0 votes
1 answer
83 views

I have a KY-040 rotary encoder with a push button wired to an ESP8266. My objective is to be able to detect if the button is pressed or not on boot. In the below code, if I hold the button down and ...
Lachlan Etherton's user avatar
0 votes
1 answer
1k views

In my project on Arduino, I want to implement turning on the whole circuit by long press of a button. But at the same time, I want the Arduino to be turned off in standby or sleep mode, but I don't ...
EndyVelvet's user avatar
-1 votes
2 answers
790 views

I tried to make a controller box with multiple buttons. Sadly, when I tried to connect the buttons, the Arduino Pro Micro didn't recognize them being pressed. I even tried to connect a wire directly (...
szilard1996's user avatar
2 votes
1 answer
92 views

I have put together the following code to activate a motor using an Arduino Uno via push buttons. Two push buttons should be pressed simultaneously to activate the motor for a specified number of ...
chandler's user avatar
2 votes
2 answers
1k views

I have been using https://wokwi.com/ to learn Arduino and I am having a problem that seems to be happening no matter what I do. I am trying to set up a push button and an LED. The end goal here is to ...
wgm's user avatar
  • 21
0 votes
1 answer
474 views

When I was testing out a program I found a strange behavior of ESP8266. LEDs don't turn off completely in the first digitalWrite(led, LOW), just the brightness of the LED goes down, but it does turn ...
tatu101's user avatar
  • 73
2 votes
1 answer
522 views

When i was testing out a program I found a strange behavior of esp8266 It seems to get out of a while loop even when there's no option of getting out on code I don't know if these are related but here'...
tatu101's user avatar
  • 73
1 vote
2 answers
1k views

Basically, how do I modify my code listed below to turn ON each of the three LEDs one at a time in a repetitive sequence while keeping the push-button pressed? Red (3 sec), Yellow (1 sec), and Green (...
Mars's user avatar
  • 39

15 30 50 per page
1
2 3 4 5
23