Humidity and Thermometer DHT12

From Visuino
Jump to navigation Jump to search

File:TArduinoDHT12.png

Summary

Reads temperature and humidity data from the DHT12 digital sensor using the I²C interface.

Description

The **Humidity and Thermometer DHT12** component measures ambient temperature and relative humidity. It communicates over the I²C bus and provides precise digital sensing. The temperature can be reported in Celsius or Fahrenheit based on the **In Fahrenheit** property. A read cycle is triggered through the **Clock** pin, and results are available as analog outputs for temperature and humidity.

Diagram:

Properties

  • Enabled – Enables or disables the component.
  • In Fahrenheit – Outputs temperature in Fahrenheit instead of Celsius.
  • Address – I²C address of the DHT12 sensor.

Pins

Input Pins

  • Clock – Triggers a sensor read cycle.
  • Sensor (I²C) – I²C bus connection for communication with the sensor.

Output Pins

  • Temperature (analog) – Ambient temperature in Celsius or Fahrenheit.
  • Humidity (%) (analog) – Relative humidity output as a percentage.

Categories