Pull-up Resistors

Pull-up Resistors

Pull-up Resistors


“How can we make sure that buttons on a microcontroller work?”


Microcontrollers are the backbone of modern-day mechatronics systems. However, the default circuitry has a serious problem. When a button is not pressed, the input automatically reads ground. This can cause serious misreadings to happen, which can cause the microcontroller to crash! So how can we use our engineering mindset to solve this problem? Well, what if we were to simply add a resistor to the input voltage? This way, when the switch is grounded, we can have the system read “High” instead of ground!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s