Same-day dispatch before 2 PM · Free delivery over ₹999 · GST invoices Get the appPrices incl. GST
Geekobot
Snap & SendNEWGeeko AIWhere's myOrder
Log in
Products
  • Projects
    • Component guidesHow parts work, with code you can run
    • Learning pathsFrom your first LED to your first robot
    • Workshops & eventsOnline sessions for makers and classes
    • ElectrolarkFree guided builds, simulator and certificates
    • Students & teachersStudent discount and classroom help
    • CommunityShare builds and ask other makers
    • CalculatorsOhm's law, LED resistor, 555 and 100+ more
    • Circuit builderWire parts and run the circuit, powered by Electrolark
    • Geeko AIAsk what to buy or how to wire it
    • Snap & SendPhotograph a part or list, we find it
    • Part finderAnswer a few questions, get the right part
    • Compatibility checkWill these two parts work together?
    • Compare partsSpecs side by side
    • Business & bulk ordersGST invoices, credit and volume prices
    • Request a quotationSend your list, get a quote
    • Classroom kitsPer-student kits and lab bundles
    • Gift cardsFor students, teams and events
  • Atal Tinkering Lab
BOM to cart
Geekobot

Components, kits and know-how for makers, students, engineers, labs and businesses across India.

Ask Geeko AIOrders, parts and projects, any timeEmail supportReply within 1 working dayGet the Geekobot appAdd it to your home screen, free

Follow us

Shop

  • Boards & SBCs
  • Sensors & Modules
  • IoT & Wireless
  • Drone & FPV
  • 3D Printing
  • Filaments & Resins
  • Motors & Drivers
  • Power & Batteries
  • Semiconductors
  • Passive
  • Displays & LEDs
  • Switches & Relays
  • Wires & Cables
  • Prototyping
  • Tools & Test
  • Robotics
  • STEM Kits
  • Atal Tinkering Lab
  • Mechanical Parts
  • Audio

Orders

  • Track your order
  • Help & support
  • Shipping and delivery
  • Refunds and cancellation
  • Contact us

Learn

  • Projects
  • Geeko AI project assistant
  • Learning paths
  • Guides
  • Calculators
  • Electrolark: free guided builds

Part tools

  • Part finder
  • Compare parts
  • Will it work with my board?

Institutions

  • Classroom kits
  • Atal Tinkering Lab
  • Students & teachers
  • Workshops & Events

Business

  • Business & education
  • Request a quotation
  • BOM bulk upload
  • Quick order by SKU

Company

  • About Geekobot
  • Community
  • Gift cards
  • Terms & conditions
  • Privacy policy
  • Product directory
  • Sitemap

© 2026 Geekobot, a trade name of OLatus Systems Private Limited. All rights reserved.

20, 1st Floor, Neeladri Complex, 10th Cross, Sampige Rd, 2nd Main, Malleshwaram, Bengaluru, Karnataka 560003 · GSTIN 29AACCO0462F1ZM

+91 91810 15607 · connect@geekobot.in · Monday to Saturday, 10 AM to 2 PM IST

UPI · CARDS · NETBANKING · GST INVOICES

ShopProjectsGeeko AIGuides
Compare 0 parts →
Log in

Shop by category

Shop all components
  • Boards & SBCs1,910 products
    • Alternative Single Board Computers
    • Arduino Ecosystem
    • FPGA & Logic Boards
    • Microcontroller & Wireless Boards
    View all
  • Sensors & Modules4,701 products
    • Biomedical & Heart Rate
    • Current, Voltage & Power
    • Force, Weight & Pressure
    • Gas, Weather & Environmental
    View all
  • IoT & Wireless2,314 products
    • RF Modules
    • RFID & NFC
    • Antennas & RF Accessories
    • Cameras & Smart Vision
    View all
  • Drone & FPV3,558 products
    • Flight Control & Navigation
    • FPV Video & Optics
    • Frames & Structural Parts
    • Motors & Propulsion
    View all
  • 3D Printing2,204 products
    • 3D Printers
    • 3D Scanners & Digitizers
    • Laser Engravers & Cutters
    • Material Management & Upgrades
    View all
  • Filaments & Resins1,472 products
    • Filaments
    • Photopolymer Resins
    View all
  • Motors & Drivers463 products
    • BLDC Motor Drivers
    • DC & Geared Motors
    • DC Motor Drivers
    • Linear Actuators & Solenoids
    View all
  • Power & Batteries557 products
    • Battery Holders & Connectors
    • Breadboard Power
    • Chargers & BMS
    • DC-DC Converters
    View all
  • Semiconductors295 products
    • Diodes & Rectifiers
    • Interface & RF Encoder ICs
    • Logic ICs (74xx)
    • Logic ICs (CD4000)
    View all
  • Passive67 products
    • Capacitors
    • Circuit Protection
    • Crystals & Oscillators
    • Inductors
    View all
  • Displays & LEDs572 products
    • 7-Segment & Dot Matrix
    • Addressable LEDs
    • Character LCDs
    • Graphic LCDs
    View all
  • Switches & Relays184 products
    • Keypads & Touch
    • Push Buttons & Tactile
    • Relay Modules
    • Relays
    View all
  • Wires & Cables233 products
    • Board-to-Wire Connectors
    • Crimp & Splice
    • Headers & Dupont
    • Heat Shrink & Sleeving
    View all
  • Prototyping101 products
    • Breadboards
    • Interface Modules
    • PCBs & Perfboards
    View all
  • Tools & Test717 products
    • Bench Power Supplies
    • Hand Tools
    • Measuring Tools
    • Meters & Testers
    View all
  • Robotics180 products
    • Humanoid & Legged Robots
    • Robot Chassis & Platforms
    • Robotic Arms & Grippers
    • Wheels & Casters
    View all
  • STEM Kits268 products
    • Arduino Learning Kits
    • Coding & IoT Kits
    • Early Coding (Ages 3-8)
    • Invention Kits
    View all
  • Atal Tinkering Lab196 products
    • Package 1: Electronics, Robotics, IoT and Sensors
    • Package 2: Rapid Prototyping Tools
    • Package 3: Mechanical, Electrical and Measurement Tools
    • Package 4: Power Supply, Accessories and Safety Equipment
    View all
  • Mechanical Parts212 products
    • Bearings
    • Brackets & Mounts
    • Couplers
    • Fasteners & Standoffs
    View all
  • Audio109 products
    • Amplifier Modules
    • Buzzers & Sirens
    • Speakers
    View all
  1. Home
  2. ›Guides
  3. ›Sensors
  4. ›4-20 mA and 0-10 V Signals

How-to · Intermediate · 3 min read

4-20 mA and 0-10 V Signals

Transmitters, Converters and Reading Them with Arduino and ESP32

By Geekobot Learning Team · Updated 29 Oct 2026

On this page
Short answerWhy 4-20 mA2-wire, 3-wire and 4-wireReading 4-20 mA with a microcontrollerReading and creating 0-10 VDigital alternativesTry itCommon mistakesFAQsParts and next steps
Short answer

A 4-20 mA loop sends a measurement as current, so it works over long, noisy cables and a broken wire shows as 0 mA. Power the loop (often 24 V), put a precise shunt resistor (250 Ω gives 1 to 5 V) in series and read the voltage with an ADC. A 0-10 V signal needs a voltage divider before a 3.3 V or 5 V input. Isolate where ground loops are likely.

Key specs at a glance

Current loop
4 mA = zero, 20 mA = full scale
Voltage
0-10 V or 1-5 V
Shunt
250 Ω gives 1-5 V; use a 0.1% resistor
Supply
Typically 24 V DC for loop power
Converters
ADC modules, PWM-to-voltage DAC, RS485 converters
Isolation
Recommended for long runs
01

Why 4-20 mA

Current signals are not affected by cable resistance or most noise, so they work over hundreds of metres. The 4 mA base (a live zero) lets the system tell a sensor reading of zero from a broken wire. Most industrial level, pressure and temperature transmitters use it; see pressure transducers and industrial flow meters.

02

2-wire, 3-wire and 4-wire

The wiring depends on how the device is powered.

TypeWiresPower
2-wire loop-powered2Loop supply provides power and carries the signal
3-wire3Separate power, shared return
4-wire4Separate power; active output
2-wire loop-powered
Wires:
2
Power:
Loop supply provides power and carries the signal
3-wire
Wires:
3
Power:
Separate power, shared return
4-wire
Wires:
4
Power:
Separate power; active output
03

Reading 4-20 mA with a microcontroller

1. Connect the 24 V supply, the transmitter and a 250 Ω resistor in series. 2. Measure across the resistor; 4 mA gives 1 V and 20 mA gives 5 V. 3. For a 3.3 V ADC use a 150 Ω shunt (0.6 to 3 V) or divide the voltage. 4. Use a precise 16-bit ADC such as the ADS1115 for accuracy; see ADC basics. 5. Scale the reading to engineering units and flag anything under 3.6 mA as a fault. Use the shunt resistor tool to check values and power.

04

Reading and creating 0-10 V

0-10 V outputs are common on PLC sensors and HVAC. Divide the voltage down to the ADC range with precision resistors (see the voltage divider tool). To produce 0-10 V from a microcontroller, use a DAC module with an op-amp gain stage; a PWM-to-voltage DAC such as the GP8501 outputs up to its supply and needs amplification for 10 V. See ADC and DAC modules and op-amps.

05

Digital alternatives

Many modern transmitters, such as pH controllers, flow gauges and vacuum gauges, offer RS485 Modbus instead; see Modbus with Arduino and ESP32 and RS485. Keep 4-20 mA wiring away from mains and use shielded twisted pair.

06

Try it: Current shunt resistor calculator

Change the values and the diagram and results update as you type.

07

Common mistakes to avoid

  • !Connecting a 4-20 mA transmitter straight to an ADC input.
  • !Using a loose-tolerance shunt resistor.
  • !Ignoring that 0 mA means a fault.
  • !Overloading a 3.3 V input with a 5 V signal.
  • !Running signal wires beside mains cables.
08

Frequently asked questions

Why is the minimum 4 mA?

So that a broken wire (0 mA) can be told apart from a zero reading.

What resistor do I use?

250 Ω for 1-5 V or 150 Ω for a 3.3 V ADC.

Can I power the transmitter from 5 V?

Most need 12 to 24 V.

How do I convert 0-10 V to 3.3 V?

Use a voltage divider.

Should I use isolation?

Yes in noisy sites or when grounds differ.

Parts for this guide

  • DFRobot Gravity GP8501 2-Channel PWM to 0-2.5V/VCC DAC Module
    ₹944View
  • SN-300WQC-DC-PH/ORP-N01-201T Industrial pH/ORP Controller – RS485 Modbus, 4-20mA Output
    ₹7,799View
  • Asair AGP3000 Pirani Composite Vacuum Gauge – KF16 Interface, RS485 & 0-10V Output
    ₹16,979View
  • Endress+Hauser FMR20B-AABADTBMWDGWEEBR7 Level Transmitter, Flooding Protection Tube, G1-1/2, 3 bar, ±2mm Accuracy – HART 4-20mA, Bluetooth
    ₹1,45,769View
  • Asair AS200A Gas Mass Flow Controller 20 SLM – RS485 Digital Output
    ₹32,449View
Shop Industrial Transmitters & Signal Conditioners

Calculators

Current shunt resistor calculatorVoltage divider calculator

Terms in this guide

4-20 mA current loopA way to send a sensor reading as a current between 4 and 20 mA. It resists noise over long cables, and a reading below 4 mA signals a broken wire.Live zero (4 mA)In a 4-20 mA loop the lowest signal is 4 mA, not 0. A reading of 0 mA therefore means a broken wire or dead sensor.Shunt resistorA low-value, accurate resistor placed in series with a load so the current can be calculated from the small voltage across it.Voltage dividerTwo resistors in series that output a fixed fraction of the input voltage.

Projects that use it

Put this into practice: 1 step-by-step build in our project library uses parts from this guide.

Intermediate · 3 hoursRead RS485 Modbus industrial sensors with an ESP32View project
Browse all 1 project

Keep learning

Component guideIntermediateADC and DAC ModulesAn external ADC module gives a microcontroller more, better or cleaner analog inputs.3 min read · Semiconductors & ICsConcept explainerBeginnerADCs ExplainedAn analog-to-digital converter (ADC) measures a voltage and returns a number.4 min read · Electronics FundamentalsHow-toIntermediatePressure Transducers and TransmittersA pressure transducer turns fluid or gas pressure into an electrical signal.3 min read · SensorsHow-toAdvancedModbus RTU With Arduino and ESP32Connect industrial Modbus RTU sensors to Arduino or ESP32 with an RS485 module: wiring, termination, slave addresses, baud rate, registers and example code.3 min read · IoT & WirelessComponent guideIntermediateRS-485 and RS-232 ModulesRS-485 and RS-232 carry UART serial data over longer cables than plain TTL.3 min read · IoT & WirelessComponent guideIntermediateOp-Amps for BeginnersAn operational amplifier (op-amp) amplifies the voltage difference between its two inputs by a huge amount; feedback resistors turn that into a precise, useful gain.4 min read · Semiconductors & ICs

Sources

  • ISA/IEC 60381 analogue signal standards
  • ADS1115 datasheet

Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

On this page
Short answerWhy 4-20 mA2-wire, 3-wire and 4-wireReading 4-20 mA with a microcontrollerReading and creating 0-10 VDigital alternativesTry itCommon mistakesFAQsParts and next steps
Need a hand?Ask Geeko AI which part fits your project, or talk to the Geekobot team.Ask Geeko AIHelp & support

Parts for this guide5 items · ₹2,03,940

DFRobot Gravity GP8501 2-Channel PWM to 0-2.5V/VCC DAC Module · SN-300WQC-DC-PH/ORP-N01-201T Industrial pH/ORP Controller – RS485 Modbus, 4-20mA Output · Asair AGP3000 Pirani Composite Vacuum Gauge – KF16 Interface, RS485 & 0-10V Output · Endress+Hauser FMR20B-AABADTBMWDGWEEBR7 Level Transmitter, Flooding Protection Tube, G1-1/2, 3 bar, ±2mm Accuracy – HART 4-20mA, Bluetooth · Asair AS200A Gas Mass Flow Controller 20 SLM – RS485 Digital Output

Ask the Community

Ask a question