Reading Humidity With Ethernet Sensor


56

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:

  1. T9602-5-D-1 Temperature and Humidity sensor
    Alternative: Sensor also available on Digi-Key
  2. Sensor Bridge to be used as I2C to Ethernet bridge
  3. Ethernet cable
  4. 12 V Power Supply

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Connecting Sensor Bridge

  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.

Step 2: Connect the T9602 Humidity Sensor

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)

Step 3: Read Results

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)

Be the First to Share

    Recommendations

    • Instrument Contest

      Instrument Contest
    • Make it Glow Contest

      Make it Glow Contest
    • STEM Contest

      STEM Contest

    Discussions