MOULDLKnowledge BaseElectrical Knowledge Base3D Model DownloadsMembership
中文版Model Store »
Knowledge Base › Electrical Knowledge Base › Pull-up and pull-down resistors: purpose, value selection and wiring
HomeModels
Table of contents

On this page

Electrical & Electronic Basics (600 articles)

Quick Reference

  • PLC & Programming
  • Electrical & Electronic Basics (monthly)(每月更新中)
  • Electrical Control & Drawings (monthly)(每月更新中)
  • Drives & Actuators (monthly)(每月更新中)
  • Sensors & Detection (monthly)(每月更新中)
  • Industrial Communication & Networks (monthly)(每月更新中)
  • HMI & Host Systems (monthly)(每月更新中)
  • Industrial Robots & Motion Control (monthly)(每月更新中)
  • Mechatronic System Integration (monthly)(每月更新中)
  • Fault Diagnosis & Standards (monthly)(每月更新中)

Pull-up and pull-down resistors: purpose, value selection and wiring

Pull-ups set idle levels, enable open-drain outputs and limit key-press current.

1. How it works

Typical 4.7k~10kΩ; I²C needs 1k~4.7k by bus capacitance and speed; too weak picks noise, too strong wastes current.

2. Practice and pitfalls

Wire keys to ground with a pull-up (active low); parallel open-drain outputs form wired-AND; keep the pull-up supply in the pin's voltage domain.

3. Pull-up/pull-down quick table

CaseValueReasonWatch
MCU key input10kΩ0.5mA4.7k on long wires
I²C 100k4.7kΩRise time OK2.2k for big bus
I²C 400k2.2kΩSharp edgesSink current
Open-drain alarm10kΩIdle highWired-AND ok
Enable default10k up/downFail-safeDirection per system
MOSFET gate pull10k~100kNo floating onDrive loop separate

4. Notes

Apply the points above to Pull; the figures are typical engineering values, so confirm them against the device datasheet and the actual design before release.

5. References

The quantities and component characteristics discussed here follow current national standards and the corresponding IEC documents: Per GB/T 35004, GB/T 17900 and the corresponding IEC documents. Ratings and derating follow the device datasheet and the product design file. Always check the device datasheet and the product design file for ratings and derating.

6. Cautions

⚠️ Three common pitfalls:
① Pulling up to the wrong voltage domain
② Copying 10k onto an I²C bus
③ Relying on software debounce alone on long lines

Locate the issue with the approach above, then confirm with measurements; safety-related circuits must follow the standards and manufacturer requirements.

Related reading

Related 3D models: Ready to build it? Download free 3D models & CAD drawings at MOULDL »
MOULDL · Electrical Knowledge Base · free self-study reference for electrical & automation engineers, 3D CAD models at MOULDL