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. ›Draw-Wire and Magnetostrictive Sensors

Component guide · Intermediate · 4 min read

Draw-Wire and Magnetostrictive Sensors

SOP WPS-S-R-500, WPS-XS-R-1000 and WPS-S-R-2000 String Potentiometers, TE Connectivity SP2-50 Position Sensor and FirstRate FST400 Magnetostrictive Displacement Sensors with 4-20 mA

By Geekobot Learning Team · Updated 29 Oct 2026

On this page
Short answerWhat the Draw-wire (string pot) and magnetostrictive displacement sensors: SOP WPS, TE SP2 and FirstRate FST400 isDraw-wire (string pot) and magnetostrictive displacement sensors: SOP WPS, TE SP2 and FirstRate FST400 pinoutWiring the Draw-wire (string pot) and magnetostrictive displacement sensors: SOP WPS, TE SP2 and FirstRate FST400Example codeSetup and tuningWhat you needAlternatives and when to choose themCommon mistakesFAQsParts and next steps
Short answer

For strokes of half a metre to several metres, a rod potentiometer becomes too long. A draw-wire sensor has a steel cable on a spring drum turning a multi-turn potentiometer, so it measures long travel from a small box. Magnetostrictive sensors (FirstRate FST400) use a moving magnet ring along a sealed rod with no contact, giving very long life and 4-20 mA output for hydraulic cylinders and tanks.

Key specs at a glance

Draw-wire range
500, 1000, 2000mm (SOP); 50 inches (TE SP2-50)
Draw-wire output
5 kΩ potentiometer
Magnetostrictive
FirstRate FST400 around 1000mm, 4-20 mA
Supply
Up to 28V on pots; 24V DC for FST400
Protection
IP65 on WPS
Life
Draw-wire: cable cycles; magnetostrictive: contactless

Models in this guide

These are alternatives. Pick the one that fits your project; you only need one.

  • Option 1SOP WPS-S-R-2000 Draw Wire Linear Displacement Sensor, 2000mm Stroke, 5KΩ Analog Output, 24VDC, 1m Cable₹10,599
  • Option 2SOP WPS-S-R-500 0-500mm Rope Displacement Sensor, 5K Resistance Output, IP65, 1m Cable₹7,749
  • Option 3SOP WPS-XS-R-1000 Draw Wire Linear Displacement Sensor, 1000mm Stroke, 5KΩ Analog Output, 24VDC, 1m Cable₹10,049
  • Option 4TE Connectivity SP2-50 Position Sensor, Resistive Position, 50″ Range, SP2 Series₹57,551
  • Option 5FirstRate FST400-1000 Magnetostrictive Displacement Sensor, 950-1000mm Range, 4-20mA Output, M18x1.5 Port, IP67₹38,359
  • Option 6FirstRate FST400-3000 Magnetostrictive Displacement Sensor, Range 950-1000mm, 4-20mA Output, 24VDC, Built-In Cylinder Rod Type₹40,449
01

What the Draw-wire (string pot) and magnetostrictive displacement sensors: SOP WPS, TE SP2 and FirstRate FST400 is

Draw-wire sensors measure long linear travel with a steel cable on a spring drum, and magnetostrictive sensors measure position along a rod without contact.

Mount a draw-wire sensor so the cable leaves the drum straight, in line with the motion; an angled cable wears quickly and reads long. Never let the cable snap back freely, as it can break the spring or the pot.

Magnetostrictive sensors need the magnet ring to move along the rod at the stated gap. Read the 4-20 mA output across a 250Ω resistor or a PLC current input, and scale 4 mA to the start and 20 mA to the end of the range.

02

Draw-wire (string pot) and magnetostrictive displacement sensors: SOP WPS, TE SP2 and FirstRate FST400 pinout

The pins on the Draw-wire (string pot) and magnetostrictive displacement sensors: SOP WPS, TE SP2 and FirstRate FST400 and what each one does.

PinFunction
Pot end 1Supply
WiperOutput
Pot end 2Ground
FST400 V+24V DC
FST400 Iout4-20 mA
PinFunction
Pot end 1
Supply
Wiper
Output
Pot end 2
Ground
FST400 V+
24V DC
FST400 Iout
4-20 mA
03

Wiring the Draw-wire (string pot) and magnetostrictive displacement sensors: SOP WPS, TE SP2 and FirstRate FST400

Fix the cable end with the supplied clip, and fit a guide pulley if the path has to bend.

Draw-wire (string pot) and magnetostrictive displacement sensors: SOP WPS, TE SP2 and FirstRate FST400 pinArduinoNote
Pot ends5V and GNDDraw-wire as a divider
WiperA0Average readings
FST400 4-20 mA250Ω to GND, ADC across it1-5V range
Pot ends
Arduino:
5V and GND
Note:
Draw-wire as a divider
Wiper
Arduino:
A0
Note:
Average readings
FST400 4-20 mA
Arduino:
250Ω to GND, ADC across it
Note:
1-5V range
04

Example code

Set STROKE_MM to the draw-wire range, for example 1000 for WPS-XS-R-1000.

Read a potentiometric displacement sensor as millimetres (Uno) · Arduino C++Verify & upload in Electrolark
// Wire the sensor as a voltage divider: ends to 5V and GND, wiper to A0.
const float STROKE_MM = 150.0;   // electrical stroke of your sensor
int rawMin = 20;                 // reading at fully retracted (calibrate)
int rawMax = 1003;               // reading at fully extended (calibrate)

void setup() { Serial.begin(9600); }

void loop() {
  long sum = 0;
  for (int i = 0; i < 16; i++) sum += analogRead(A0);   // average out noise
  float raw = sum / 16.0;
  float mm = (raw - rawMin) * STROKE_MM / (rawMax - rawMin);
  Serial.print("Position "); Serial.print(mm, 1); Serial.println(" mm");
  delay(100);
}
05

Setup and tuning

Cable straight

pull the draw-wire cable straight out from the housing; side angles wear it.

No snapping back

never let the cable fly back; it damages the drum.

Read the pot

wire the draw-wire pot as a voltage divider and read it with an ADC.

4-20 mA

read magnetostrictive outputs with a 250 Ω resistor or a 4-20 mA receiver module.

Supply

24 V DC for magnetostrictive sensors; pots can run on 5 V.

06

What you need

Shop this list8 of 9 found in our store · ₹1,64,873

  • SOP WPS-S-R-2000 Draw Wire Linear Displacement Sensor, 2000mm Stroke, 5KΩ Analog Output, 24VDC, 1m Cable: the part this guide coversSOP WPS-S-R-2000 Draw Wire Linear Displacement Sensor, 2000mm Stroke, 5KΩ Analog Output, 24VDC, 1m Cable₹10,599
  • SOP WPS-S-R-500 0-500mm Rope Displacement Sensor, 5K Resistance Output, IP65, 1m Cable: another version this guide coversSOP WPS-S-R-500 0-500mm Rope Displacement Sensor, 5K Resistance Output, IP65, 1m Cable₹7,749
  • SOP WPS-XS-R-1000 Draw Wire Linear Displacement Sensor, 1000mm Stroke, 5KΩ Analog Output, 24VDC, 1m Cable: another version this guide coversSOP WPS-XS-R-1000 Draw Wire Linear Displacement Sensor, 1000mm Stroke, 5KΩ Analog Output, 24VDC, 1m Cable₹10,049
  • TE Connectivity SP2-50 Position Sensor, Resistive Position, 50″ Range, SP2 Series: another version this guide coversTE Connectivity SP2-50 Position Sensor, Resistive Position, 50″ Range, SP2 Series₹57,551
  • FirstRate FST400-1000 Magnetostrictive Displacement Sensor, 950-1000mm Range, 4-20mA Output, M18x1.5 Port, IP67: another version this guide coversFirstRate FST400-1000 Magnetostrictive Displacement Sensor, 950-1000mm Range, 4-20mA Output, M18x1.5 Port, IP67₹38,359
  • FirstRate FST400-3000 Magnetostrictive Displacement Sensor, Range 950-1000mm, 4-20mA Output, 24VDC, Built-In Cylinder Rod Type: another version this guide coversFirstRate FST400-3000 Magnetostrictive Displacement Sensor, Range 950-1000mm, 4-20mA Output, 24VDC, Built-In Cylinder Rod Type₹40,449
  • Uno R3 development board: the controller used in the wiring tableFind this part
  • Dupont jumper wires: for the connectionsDupont Jumper Wires (40 pcs)₹49Closest match, check the specs
  • Solderless breadboard: to build without solderingSolderless Breadboard₹68
07

Alternatives and when to choose them

  • ✓Linear position sensors: all types.
  • ✓Potentiometric displacement sensors: shorter strokes.
  • ✓SICK MPS cylinder sensors: pneumatic cylinders.
08

Common mistakes to avoid

  • !Letting the cable snap back into the housing.
  • !Pulling the cable at an angle.
  • !Reading a 4-20 mA output without a resistor.
  • !Running long unshielded wires for analog signals.
09

Frequently asked questions

How long can a draw-wire sensor measure?

These models measure about 500 mm to 2000 mm.

How do I read a 4-20 mA sensor with Arduino?

Pass the current through a 250 Ω resistor and read 1 to 5 V, or use a receiver module.

What is a magnetostrictive sensor used for?

Hydraulic cylinder and machine positions, where contact-free measurement lasts long.

Why are my readings noisy?

Use shielded cable and average readings; pot outputs pick up noise over long runs.

Can I use it outdoors?

Many models are IP65 or better; check the rating.

Parts for this guide

  • SOP WPS-S-R-2000 Draw Wire Linear Displacement Sensor, 2000mm Stroke, 5KΩ Analog Output, 24VDC, 1m Cable
    ₹10,599View
  • SOP WPS-S-R-500 0-500mm Rope Displacement Sensor, 5K Resistance Output, IP65, 1m Cable
    ₹7,749View
  • SOP WPS-XS-R-1000 Draw Wire Linear Displacement Sensor, 1000mm Stroke, 5KΩ Analog Output, 24VDC, 1m Cable
    ₹10,049View
  • TE Connectivity SP2-50 Position Sensor, Resistive Position, 50″ Range, SP2 Series
    ₹57,551View
  • FirstRate FST400-1000 Magnetostrictive Displacement Sensor, 950-1000mm Range, 4-20mA Output, M18x1.5 Port, IP67
    ₹38,359View
  • FirstRate FST400-3000 Magnetostrictive Displacement Sensor, Range 950-1000mm, 4-20mA Output, 24VDC, Built-In Cylinder Rod Type
    ₹40,449View
  • Uno R3 Development Board (No Cable)
    ₹359View
  • Dupont Jumper Wires (40 pcs)
    ₹49View
  • Solderless Breadboard
    ₹68View
Shop Displacement, Rope & Linear Position Sensors

Keep learning

ComparisonIntermediateLinear Position SensorsLinear position sensors measure how far a rod or cable has moved.3 min read · SensorsComponent guideIntermediateLinear Displacement SensorsPotentiometric linear displacement sensors from MIRAN, SOP, Eurosensor and LXTHUS: pull-rod, slider, spring-return and flange types from 25 to 800mm stroke.6 min read · SensorsComponent guideAdvancedIndustrial PressureThese are sealed, threaded pressure transmitters for hydraulics, compressors, pumps and process plants.5 min read · Sensors

Sources

  • SOP WPS manual
  • TE SP2 datasheet
  • FirstRate FST400 manual

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

On this page
Short answerWhat the Draw-wire (string pot) and magnetostrictive displacement sensors: SOP WPS, TE SP2 and FirstRate FST400 isDraw-wire (string pot) and magnetostrictive displacement sensors: SOP WPS, TE SP2 and FirstRate FST400 pinoutWiring the Draw-wire (string pot) and magnetostrictive displacement sensors: SOP WPS, TE SP2 and FirstRate FST400Example codeSetup and tuningWhat you needAlternatives and when to choose themCommon 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 guide4 items · ₹78,267

SOP WPS-S-R-2000 Draw Wire Linear Displacement Sensor, 2000mm Stroke, 5KΩ Analog Output, 24VDC, 1m Cable · SOP WPS-XS-R-1000 Draw Wire Linear Displacement Sensor, 1000mm Stroke, 5KΩ Analog Output, 24VDC, 1m Cable · TE Connectivity SP2-50 Position Sensor, Resistive Position, 50″ Range, SP2 Series · Solderless Breadboard

Run itChange the inputs and watch the output

150 mm stroke. rawMin and rawMax are the readings at the two ends.

Stroke62.0 / 150 mm
Serial monitor9600 baud
Position 61.9 mm

A simulation of the sketch above, so you know what to expect. Real readings vary with your parts and wiring.

Ask the Community

Ask a question