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. ›IoT & Wireless
  4. ›WIN-SN Ethernet (Modbus TCP, MQTT, ASCII)

Component guide · Intermediate · 3 min read

WIN-SN Ethernet (Modbus TCP, MQTT, ASCII) and Analog Output (0-10 V

4-20 mA) Temperature Humidity Sensors

By Geekobot Learning Team · Updated 29 Oct 2026

On this page
Short answerWhat the WIN-SN Ethernet and analog-output temperature humidity sensors isWIN-SN Ethernet and analog-output temperature humidity sensors pinoutWiring the WIN-SN Ethernet and analog-output temperature humidity sensorsExample codeSetup and tuningWhat you needAlternatives and when to choose themCommon mistakesFAQsParts and next steps
Short answer

The WIN-SN-TNH-E sensors plug into an Ethernet network and report temperature and humidity directly, with versions that speak Modbus TCP, MQTT or plain ASCII text. They suit server rooms and warehouses already wired with LAN. The AHT20-based AO-V and AO-C versions instead give a 0 to 10 V or 4 to 20 mA output for PLCs, and the IAQ-W version adds indoor air quality.

Key specs at a glance

Network
10/100 Ethernet (E versions)
Protocols
Modbus TCP, MQTT or ASCII by model
Analog
0 to 10 V (AO-V) or 4 to 20 mA (AO-C)
Sensor
AHT20 class, about plus or minus 0.3 degrees C and 2% RH
Supply
12 to 24 V DC on most versions (check the label)
Setup
IP address via web page or config tool

Models in this guide

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

  • Option 1Winsen WIN-SN-TNH-E Ethernet Temperature & Humidity Sensor Module – Modbus TCP/RTU, MQTT, I2C Interface₹7,211
  • Option 2Winsen WIN-SN-TNH-E Ethernet Temperature Humidity Sensor – ASCII over Ethernet, USB-C/12V DC₹7,211
  • Option 3Agametic WIN-SN-TNH-E Ethernet Temperature & Humidity Sensor Module – MQTT over Ethernet, TCP/IP, Modbus RTU, 5V/12V DC₹7,211
  • Option 4Wittelb WIN-SN-TnH+IAQ-W Digital Temperature & Humidity Sensor with Internal Air Quality (IAQ) – Modbus/MQTT over Wi-Fi₹6,424
  • Option 5Wittelb WIN-SN-TnH-AHT20-AO-C Digital Temperature & Humidity Sensor – Analog Output (4-20mA)₹5,637
  • Option 6Wittelb WIN-SN-TnH-AHT20-AO-V Digital Temperature and Humidity Sensor with Analog Output Voltage Signal₹5,637
01

What the WIN-SN Ethernet and analog-output temperature humidity sensors is

Ethernet temperature and humidity sensors, such as WIN-SN network sensors, report readings over the LAN with a web page, SNMP, Modbus TCP or MQTT for server rooms and warehouses.

Set a fixed IP address first, using the maker's tool or web page. Then point your SCADA, Node-RED or Home Assistant at it.

For the analog versions, map 0 to 10 V (or 4 to 20 mA) onto the scale printed in the manual, often -40 to 80 degrees C and 0 to 100% RH.

02

WIN-SN Ethernet and analog-output temperature humidity sensors pinout

The pins on the WIN-SN Ethernet and analog-output temperature humidity sensors and what each one does.

PinFunction
RJ45Ethernet
V+ / GNDDC supply
T-OUT / H-OUTAnalog outputs (AO versions)
PinFunction
RJ45
Ethernet
V+ / GND
DC supply
T-OUT / H-OUT
Analog outputs (AO versions)
03

Wiring the WIN-SN Ethernet and analog-output temperature humidity sensors

A 250 ohm shunt turns 4 to 20 mA into 1 to 5 V; scale it down further for a 3.3 V ADC.

WIN-SN Ethernet and analog-output temperature humidity sensors pinPLC or networkESP32 (analog versions)
EthernetRouter or switchRouter or switch
V+12 to 24 V supply12 to 24 V supply
AO-V outputPLC 0-10 V inputESP32 via 10 k / 3.3 k divider
AO-C outputPLC 4-20 mA input250 ohm shunt to ADC
Ethernet
PLC or network:
Router or switch
ESP32 (analog versions):
Router or switch
V+
PLC or network:
12 to 24 V supply
ESP32 (analog versions):
12 to 24 V supply
AO-V output
PLC or network:
PLC 0-10 V input
ESP32 (analog versions):
ESP32 via 10 k / 3.3 k divider
AO-C output
PLC or network:
PLC 4-20 mA input
ESP32 (analog versions):
250 ohm shunt to ADC
04

Example code

A minimal sketch to check the part works.

Read a Modbus TCP version from a PC (pymodbus) · MicroPython
from pymodbus.client import ModbusTcpClient

c = ModbusTcpClient("192.168.1.50", port=502)   # the sensor's IP
c.connect()
r = c.read_holding_registers(0, count=2, slave=1)   # check your manual's register map
if not r.isError():
    t, h = r.registers[0] / 10, r.registers[1] / 10
    print(f"{t:.1f} C  {h:.1f} %RH")
c.close()
05

Setup and tuning

Network

connect to a switch and set a static IP in the web page.

Power

use PoE or the DC adapter.

Protocols

enable SNMP, Modbus TCP or MQTT for your monitoring system.

Alarms

set high and low thresholds for email or relay alerts.

Placement

measure at rack inlet height in server rooms.

06

What you need

Shop this list10 of 10 found in our store · ₹40,223

  • Winsen WIN-SN-TNH-E Ethernet Temperature & Humidity Sensor Module – Modbus TCP/RTU, MQTT, I2C Interface: the part this guide coversWinsen WIN-SN-TNH-E Ethernet Temperature & Humidity Sensor Module – Modbus TCP/RTU, MQTT, I2C Interface₹7,211
  • Winsen WIN-SN-TNH-E Ethernet Temperature Humidity Sensor – ASCII over Ethernet, USB-C/12V DC: another version this guide coversWinsen WIN-SN-TNH-E Ethernet Temperature Humidity Sensor – ASCII over Ethernet, USB-C/12V DC₹7,211
  • Agametic WIN-SN-TNH-E Ethernet Temperature & Humidity Sensor Module – MQTT over Ethernet, TCP/IP, Modbus RTU, 5V/12V DC: another version this guide coversAgametic WIN-SN-TNH-E Ethernet Temperature & Humidity Sensor Module – MQTT over Ethernet, TCP/IP, Modbus RTU, 5V/12V DC₹7,211
  • Wittelb WIN-SN-TnH+IAQ-W Digital Temperature & Humidity Sensor with Internal Air Quality (IAQ) – Modbus/MQTT over Wi-Fi: another version this guide coversWittelb WIN-SN-TnH+IAQ-W Digital Temperature & Humidity Sensor with Internal Air Quality (IAQ) – Modbus/MQTT over Wi-Fi₹6,424
  • Wittelb WIN-SN-TnH-AHT20-AO-C Digital Temperature & Humidity Sensor – Analog Output (4-20mA): another version this guide coversWittelb WIN-SN-TnH-AHT20-AO-C Digital Temperature & Humidity Sensor – Analog Output (4-20mA)₹5,637
  • Wittelb WIN-SN-TnH-AHT20-AO-V Digital Temperature and Humidity Sensor with Analog Output Voltage Signal: another version this guide coversWittelb WIN-SN-TnH-AHT20-AO-V Digital Temperature and Humidity Sensor with Analog Output Voltage Signal₹5,637
  • ESP32-WROOM-32 38-pin development board: for Wi-Fi logging and dashboardsESP32-WROOM-32 38-Pin Development Board₹389
  • SMPS power supply in metal enclosure (5/12/24 V): a 12 V or 24 V supplySMPS Power Supply, Metal Enclosure (5V / 12V / 24V)₹298Closest match, check the specs
  • Digital multimeter: to check supply and signal voltagesDigital Multimeter₹177
  • MAX485 RS-485 to TTL module: to read the Modbus sensor from a microcontrollerMAX485 RS-485 to TTL Module₹28
07

Alternatives and when to choose them

  • ✓RS485 temperature humidity sensors: cheaper, need a bus.
  • ✓MQTT and Home Assistant: receiving the data.
  • ✓Humidity transmitters: other analog-output types.
08

Common mistakes to avoid

  • !DHCP addresses that change.
  • !No alerts set.
  • !Placing behind racks in hot air.
  • !Default passwords.
09

Frequently asked questions

How do I find the sensor's IP address?

Use the vendor's search tool or check your router.

Can it send alerts?

Yes. It sends alerts by email, SNMP traps or relay outputs.

Can it work with Home Assistant?

Yes. Read it in Home Assistant over MQTT or Modbus TCP.

Is PoE supported?

Many models support PoE, so one cable carries power and data.

Where should I place it in a server room?

At the front of racks where cold air enters.

Parts for this guide

  • Winsen WIN-SN-TNH-E Ethernet Temperature & Humidity Sensor Module – Modbus TCP/RTU, MQTT, I2C Interface
    ₹7,211View
  • Winsen WIN-SN-TNH-E Ethernet Temperature Humidity Sensor – ASCII over Ethernet, USB-C/12V DC
    ₹7,211View
  • Agametic WIN-SN-TNH-E Ethernet Temperature & Humidity Sensor Module – MQTT over Ethernet, TCP/IP, Modbus RTU, 5V/12V DC
    ₹7,211View
  • Wittelb WIN-SN-TnH+IAQ-W Digital Temperature & Humidity Sensor with Internal Air Quality (IAQ) – Modbus/MQTT over Wi-Fi
    ₹6,424View
  • Wittelb WIN-SN-TnH-AHT20-AO-C Digital Temperature & Humidity Sensor – Analog Output (4-20mA)
    ₹5,637View
  • Wittelb WIN-SN-TnH-AHT20-AO-V Digital Temperature and Humidity Sensor with Analog Output Voltage Signal
    ₹5,637View
  • ESP32-WROOM-32 38-Pin Development Board
    ₹389View
  • SMPS Power Supply, Metal Enclosure (5V / 12V / 24V)
    ₹298View
  • Digital Multimeter
    ₹177View
  • MAX485 RS-485 to TTL Module
    ₹28View
Shop Temperature & Thermal Sensors

Keep learning

Component guideIntermediateRS485 Modbus Temperature and Humidity SensorsRS485 Modbus temperature and humidity sensors send readings over two twisted wires up to about 1 km, so they suit factories, cold rooms, server rooms and greenhouses.5 min read · SensorsConcept explainerIntermediateMQTT and Home Assistant for ESP32MQTT is a lightweight messaging system: devices publish messages to named topics on a broker, and anything subscribed to that topic receives them.3 min read · IoT & WirelessComponent guideIntermediateHumidity and Temperature TransmittersA humidity transmitter measures relative humidity and often temperature, then outputs a 4-20 mA or 0-10 V signal for a PLC, controller or data logger.3 min read · SensorsComponent guideBeginnerAHT20 / AHT10 Temperature and Humidity SensorThe AHT20 is a small I2C temperature and humidity sensor with about ±2 percent RH and ±0.3 °C accuracy, a good modern replacement for the DHT11 and DHT22.3 min read · Sensors

Sources

  • Wittelb WIN-SN product manuals

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 WIN-SN Ethernet and analog-output temperature humidity sensors isWIN-SN Ethernet and analog-output temperature humidity sensors pinoutWiring the WIN-SN Ethernet and analog-output temperature humidity sensorsExample 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 guide7 items · ₹28,651

Winsen WIN-SN-TNH-E Ethernet Temperature & Humidity Sensor Module – Modbus TCP/RTU, MQTT, I2C Interface · Winsen WIN-SN-TNH-E Ethernet Temperature Humidity Sensor – ASCII over Ethernet, USB-C/12V DC · Agametic WIN-SN-TNH-E Ethernet Temperature & Humidity Sensor Module – MQTT over Ethernet, TCP/IP, Modbus RTU, 5V/12V DC · Wittelb WIN-SN-TnH+IAQ-W Digital Temperature & Humidity Sensor with Internal Air Quality (IAQ) – Modbus/MQTT over Wi-Fi · ESP32-WROOM-32 38-Pin Development Board · Digital Multimeter · MAX485 RS-485 to TTL Module

Run itChange the inputs and watch the output

Both registers hold tenths, so 258 is 25.8 C.

Shell
$ python3 read.py
25.8 C  55.0 %RH

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