Skip to main content

Questions tagged [pull-up]

Refers to pull-up resistors, which are commonly used to "weakly" pull a signal line to a high state. Use this tag for discussing pull-ups.

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
-1 votes
2 answers
788 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
2 answers
537 views

I want to build my first barebones AVR circuit. I plan on NOT having a RESET button. For this reason, is it valid if I connect the ATMEGA's RESET pin to Vcc directly? What I mean by this, is that in ...
user1584421's user avatar
  • 1,435
1 vote
0 answers
42 views

I have made a USB game controller using the Arduino Micro and Omron microswitches (VX-01-1A3) for the buttons. The switch is wired with one end connected to a digital pin and the other end connected ...
gon weigang's user avatar
0 votes
0 answers
288 views

I have a small ESP32 module, that has some in-built features, like a TFT, and has few available pins for general use. It has some input only pins (GPIO36 to 39) that are used by buttons soldered in ...
Rodrigo's user avatar
  • 113
1 vote
1 answer
162 views

Given I have two Arduinos that are supposed to primitively communicate with each other using digital pins. On Arduino Ar1, pin D13 is to be used as an input, connected to Ar2's D2 pin. Will I need to ...
Mikoyan's user avatar
  • 33
3 votes
1 answer
714 views

I'm trying to read an input from a switch but instead of getting 0 and 1 for closed/open, I'm getting 0 and a rapid series of 1s and 0s. Originally I tried (and failed) to simply read a rotary encoder ...
WillM's user avatar
  • 39
0 votes
1 answer
141 views

I have a project using an ATMEGA328P and a DS1337 RTC chip. The DS1337 is an 8 pin IC with VCC at pin 8 and GND at pin 4. According to the datasheet both pin 5 (SDA) and pin 6 (SCL) need an external ...
jhorv's user avatar
  • 41
1 vote
1 answer
633 views

I have a rig with 5 light sensors on an I2C mux and I am wondering if I need only 1 pull-up resister set for the whole bus or one on each branch from the mux? Or should I remove all the pull-ups from ...
levi Clouser's user avatar
1 vote
1 answer
219 views

I'm trying to make a cable checker to help me make custom cables for my computer. I'm thinking I plug the cable ends into sockets on the device, then the Arduino checks between different pins to make ...
Eggo's user avatar
  • 11
3 votes
4 answers
2k views

What happens if a sketch uses code like pinMode(18,INPUT_PULLDOWN) to configure internal pull-down (or pull-up) resistors, but is used in a circuit where external resistors are also present? Are there ...
JRI's user avatar
  • 200
1 vote
0 answers
82 views

I am trying to detect whether a signal is high or low from an ESU LokSound 5 decoder for HO locomotives. My idea was to use one of the auxiliary pins used to drive an LED (AUX 3 in my case). The ...
DuluthIsSuperior's user avatar
0 votes
1 answer
586 views

I read the Arduino official docs on digitalWrite and am confused about what is happening from an electrical perspective when digitalWrite is invoked on INPUT_PULLUP pins. Say my code says this: ...
rfii's user avatar
  • 170
1 vote
1 answer
497 views

Does pin 5 or pin 6 use more power if they're just being used as a signal to an external device? pinMode(5, INPUT_PULLUP); pinMode(6, OUTPUT); digitalWrite(6, HIGH); . EDIT: Thanks to some links ...
rfii's user avatar
  • 170
0 votes
2 answers
177 views

I want to detect wether a display is connected or not. This is the display: https://www.az-delivery.de/en/products/1-77-zoll-spi-tft-display I read connecting a pin of the display with another pin ...
Joh's user avatar
  • 121

15 30 50 per page