LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to connect sht71 with ni pci 6221

hi...i'm khairul azhar.a student.my final project is to control Air Cond blower by using temperature and humidity as data reference.How i can connect my SHT71 with DAQAssistant NI PCI 6221?
0 Kudos
Message 1 of 6
(3,442 Views)

Is this the sensor you're using?

 

http://www.sensirion.com/en/01_humidity_sensors/05_humidity_sensor_sht71.htm

 

It looks like it has its own digital interface.  You will have to hookup two digital lines on the 6221 to the SHT71.  In terms of communicating, you will have to right some low level drivers.  There are some C examples on the website that should be useful, but you will have to translate them to LabVIEW.

-Matt Bradley

************ kudos always appreciated, but only when deserved **************************




0 Kudos
Message 2 of 6
(3,439 Views)
which menas i can't connect sht71 directly to NI PCI 6221 even it has digital input port?can u give me the URL to the example u said?thank you
0 Kudos
Message 3 of 6
(3,408 Views)

Matt gave you the URL. Why don't you just go there and look? The sample code link is right along with the rest of the app notes.

 

You can connect the sensor to the 6221 but what you will have to do is duplicate the communication protocol that is described in the datasheet. That means providing SCK and sending and receiving data per section 3 of the datasheet. It says that the interface consists of static logic so you don't have to worry about running the digital I/O at any specific frequency.

Message 4 of 6
(3,404 Views)
Thank You
Message 5 of 6
(3,401 Views)

Thank you Dennis.  Couldn't get back here earlier (on Friday, I teach class at the local JC).

-Matt Bradley

************ kudos always appreciated, but only when deserved **************************




0 Kudos
Message 6 of 6
(3,387 Views)