Pull-Up & Pull-Down Resistors The How and Why Instructor: Richard T. Vannoy II RVannoy@ITT-Tech.edu RoboticsProfessor@GMail.com
Pull-Up & Pull-Down Resistors Why are they used/needed? What are they? What’s the difference between pull-up & pull-down? How do they work? What size resistor should I use?
How NOT to connect!! Switch closed = Good Ground Switch open = FLOATING!!
Pull-Up Resistor Switch open = Good 5 volts Switch closed = Good Ground I = V / R = 5V / 10K = 0.005A = 5mA
Pull-Down Resistor
What Value for R1?? R1 = 1/10th of R2 R1 Same as R2 10 Times R2 10 KΩ Switch Open Volts 4.54 V 2.5 V 0.45 V Switch Closed 0 V
THREE GREAT LINKS http://www.seattlerobotics.org/encoder/mar97/basics.html Very Basic Circuits; The Pull-up Resistor is an excellent article with illustrations. http://www.sparkfun.com/tutorials/218 SparkFun article 'Pull-Up Resistors’ goes deeper and shows you how to determine the size of pull-up resistor to use. http://arduino.cc/en.Tutorial/DigitalPins Arduino article 'Digital Pins’ gives a good explanation why 'floating' pins cause problems, and shows how to access the built-in 20K pull-up resistors in the Arduino series of boards.
The End Any questions?