Skip to main content
Visitor
September 21, 2026
Question

Analog Input 0-10V DC or 4-20ma DC measure circuit.

  • September 21, 2026
  • 4 replies
  • 43 views

1.I would like to connect 6 Industrial Sensor which support (4-20ma) or (0-10 Volt ) to STM32H723ZGT6.Guide me both Manual circuit or any IC which can perform below 

TVS / series protection

Precision shunt / scaling

RC anti-alias filter

2.How i can connect and what need to be done for io protection from Reverse polarity and Surge protection

 

4 replies

BMSAuthor
Visitor
September 21, 2026

Also, need to protect from EMI for more accuracy

 

Andrew Neil
Super User
September 21, 2026

Both 4-20mA and 0-10V are very well-established and widely used; there should be loads of resources available - none of it would be specific to STM32.

 

https://en.wikipedia.org/wiki/Current_loop

 

https://en.wikipedia.org/wiki/0-10_V_lighting_control

 

PS:

 

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Associate
September 21, 2026

I strongly recommend using a SPICE simulators such as LTspice or TINA to prototype the circuits easily. Like ​@Andrew Neil said, these are well established circuits that are not STM32 specific, however you will need to ensure that the circuit outputs the correct logic level for the H7 ADC. 

 

Once again, there is alot of resources online and SPICE will help you tremendously with prototyping before creating a physical circuit. Reverse polarity and surge protection are common electronic practices and you will find plently of documenation online.

 

If you would like to skip the design phase, you may be able to find modules online. There are alot of DIN rail mounted modules but you should be able to find something you need.

Associate II
September 21, 2026

@BMS You could also add to your list earthing.

Because 4-20mA current loop often runs long wires earthing and earth loops become a concern. There are IC’s etc that can opto isolate the current loop. Alternatively careful earthing strategy is used.

I’m not suggesting a solution just making you aware that it is a concern even a big concern.