Esp32 and 4-20mA industrial pressure sensor

Hi, i want to read an industrial 4-20mA sensor(9v supply voltage) with esp32 . The power supply is 24v from an air compressor. esp32 is 3,3v so i need to use a buck to convert the 24v down to 3,3v for the esp32. And because the output signal of the industrial sensor is a current it must be converted in a voltage by the hw-685 module which uses 7v supply voltage. So my question is do i need two buck converters one for esp32(24vto3,3v) and the other for the hw-385 module(24vto7v) ? Can someone help me with schemati

A single resistor works very well. But the ESP32 ADC is too nonlinear and inaccurate for quantitative measurements, so you are advised to choose a different processor, or a different sensor.

I have deleted your other cross-posts @ced17.

Cross-posting is against the Arduino forum rules. The reason is that duplicate posts can waste the time of the people trying to help. Someone might spend a lot of time investigating and writing a detailed answer on one topic, without knowing that someone else already did the same in the other topic.

Repeated cross-posting can result in a suspension from the forum.

In the future, please take some time to pick the forum category that best suits the subject of your question and then only post once to that forum category. This is basic forum etiquette, as explained in the "How to get the best out of this forum" guide. It contains a lot of other useful information. Please read it.

Thanks in advance for your cooperation.

sorry, now i know the rules. Thank you!!!

1 Like

you mean just the transducer and the esp32 with a resistor ?

For a 5V Arduino, many people use 250 Ohms.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.