Skip to content
Adaptive AgroTech NetworkUniversity of Southern Denmark · SDU Drone Center
Cover for How Do You Connect a 24V Sensor to a 3.3V Microcontroller?

Video by Adaptive AgroTech. If the embedded player is unavailable, open the original video ↗.

How Do You Connect a 24V Sensor to a 3.3V Microcontroller?

A 24 V industrial sensor and a 3.3 V microcontroller have different electrical limits. The choice of input interface starts with the sensor’s output type.

Understand the concept

The key idea

A sourcing and a sinking output complete different current paths. An interface must produce valid high and low logic levels across the expected voltage range while accounting for leakage and transients.

What to remember

  • Identify the sensor’s output type from its data sheet.
  • Check both logic thresholds and input protection ratings.
Pause & think

Check your understanding

Why does a nominal 3.3 V calculation for a divider leave part of the design unresolved?

Show the explanation

Supply variation, leakage, disturbances and the sensor’s output topology can change what reaches the input.