Reading Humidity With Ethernet Sensor

by Kallio Designs in Circuits > Sensors

928 Views, 1 Favorites, 0 Comments

Reading Humidity With Ethernet Sensor

532003_v36_home_flanges.jpg
532015 sensor.jpg
532008 SADAP.jpg

Purpose of the project was to be able to read humidity and temperature readings through ethernet network, so that the results could be used for home automation (Home Assistant etc).

T9602 sensor had the best form factor, with great performance at a reasonable cost.

Kallio Designs Sensor Bridge was used as a I2C to ethernet bridge, so that the results can be read from any point of the network.

Supplies

Connecting Sensor Bridge

pinout.png
532008 SADAP.jpg
  1. Connect the Sensor Bridge power supply to the screw connector in the front
    • If you are using an adapter PCB, connect the wires according to silkscreen on the adapter board
    • If not using an adapter, refer to the pinout for connections
    • You can also power the device with Power over Ethernet (PoE)
  2. Connect an ethernet cable from the front port to your router, you should see the green indicator LED lit as well as the ethernet port LEDs indicating traffic.

Connect the T9602 Humidity Sensor

pinout.png
532015 sensor.jpg
532008 SADAP.jpg

If you are using the adapter, just connect the wire connector.

If not, refer to pinout image and T9602 datasheet:

Sensor Bridge pins (wire color):

  1. GND (Power supply negative)
  2. Voltage Input (Power supply positive)
  3. SCL (Black wire)
  4. SDA (White wire)
  5. GND (Green wire)
  6. Sensor power 5 V (Red wire)

Read Results

humidity.png

Open your chosen browser (Tested on Mozilla Firefox, MS Edge, Google Chrome).

Enter http://192.168.1.190/T96025D1RH in the address bar, and you should see a humidity reading. Use http://192.168.1.190/T96025D1T to read temperature.

You should see the reading displayed.

You can also use Python or other programming languages capable of HTTP communication. Sensor Bridge sends out the required metadata for browsers and software libraries.

If not, check following things:

  • default IP address is within the DHCP server IP lease range
  • port 80 is available for communication within the network.
  • IP is not used by another device (if you are unable to view all devices, you can try to ping the address with the Sensor Bridge disconnected and connected)