MAX 10 Plus User
Manual
77
May 31, 2019
6.7
Humidity/Temperature Sensor
This demonstration illustrates steps to evaluate the performance of humidity and temperature sensor
HDC1000. The HDC1000 is a fully integrated humidity and temperature sensor, providing excellent
measurement accuracy and long-term stability. Humidity and temperature results can be read out
through the I2C compatible interface. The Nios II Console displays the result of our demo. In our
Nios II software, we show temperature and humidity data on the Nios II Console. The value of the
sensor will change as the environment changes.
shows the block diagram of this demonstration. In this demonstration, a Nios II
processor is used to achieve i2c operation and display results on the Nios II console.
Figure 6-29 Block Diagram of Humidity and Temperature Sensor
This demonstration shows basic function of HDC1000 and temperature and humidity reading in
different acquisition modes. HDC1000 can perform measurements of both humidity and
temperature, or either humidity only or temperature only. The measurement resolution can be set to
8, 11, or 14 bits for humidity; 11 or 14 bits for temperature. Different resolution setting results in a
different conversion time. When triggering the measurements, operation should wait for the
measurements to complete based on the conversion time. Alternatively, wait for the assertion of
DRDYn. In this demonstration, a delay in I2C function is adopted to simplify the process.
◼
Design Tools
•
Quartus II v15.0
•
Nios II Eclipse 15.0
◼
Demonstration Source Code
•
Quartus project directory: humidity_temperature
•
Nios II Eclipse project workspace: humidity_temperature \software