Tap video for sound
Video
421 views
  • bekathwia#arduinoaday 15: "At rest, the switch leads are not connected to one another. Pin 2 is connected through a beefy 10K resistor to 5V. When the button is pressed, the switch leads are connected, which allows pin 2 to be connected to ground, with no resistor. Since electricity takes the path of least resistance, the pin will sense the connection to ground strongly, and ignore the weak (10K) connection to 5V. But when no other signal is present (when the switch isn't being pressed), that weak connection to 5V is all the pin can sense. So the resistor is "pulling the pin up" to 5V, and so it's called a pull-up resistor. Without one, pin 2 would be not connected to anything until the button is pressed. This is called "floating", and can result in random noise from static electricity and electromagnetic interference. Similarly a resistor can be used to tie a pin to ground, which is called a pull-down resistor." Learn free: instructables.com/classes #arduino #dailyarduino #arduinouno #electronics #diy #makersgonnamake #maker #instructables

  • maketinkershareI'm fighting a floating issue right now and I'm not sure how to fix it based off of the environmental conditions! I'll keep pushing on! Thanks
Log in to like or comment.