LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Temperature/humidity sensor over TCP with USB6501

Hello, 

 

I'm a master student Engineering, and for a project, I've got next situation. 

 

I have a room (100x400m) where the temperature and humidity (6 sensors) have to be measured.

It has to be possible to show the graphics in Labview, and has to be connected by intranet (TCP/IP)

 

For the cheapest sollution, I tought;

- use 6 digital temperature/humidity sensors.

- the NI USB 6501 I/O

- connect the usb to the central computer at the shop

- use labview to sent it over TCP/IP 

 

does anyone can tell me if this is possible? Is it ok to use cheap sensors? 

 

Thank you

Knibber

 

 

0 Kudos
Message 1 of 7
(3,667 Views)

Yes, you can certainly do all of that.  Cheap sensors can be just fine, it all depends on the qualilty of measurements you want to take.  But I'd imagine for measuring room temperature/humidity, anything commercially available would probably be good enough for your needs.

 

For TCP/IP communications, there are several Examples built into LabVIEW you can look at.

0 Kudos
Message 2 of 7
(3,664 Views)

@Knibber wrote:

Hello, 

 

I'm a master student Engineering, and for a project, I've got next situation. 

 

I have a room (100x400m) where the temperature and humidity (6 sensors) have to be measured.

It has to be possible to show the graphics in Labview, and has to be connected by intranet (TCP/IP)

 

For the cheapest sollution, I tought;

- use 6 digital temperature/humidity sensors.

- the NI USB 6501 I/O

- connect the usb to the central computer at the shop

- use labview to sent it over TCP/IP 

 

does anyone can tell me if this is possible? Is it ok to use cheap sensors? 

 

 


Yes, you can do this. You will need an application running on the central computer that will acquire data and also allow clients to connect to it, if you want the data to be sent out over TCP/IP. There is an example of a server handling multiple TCP client connections that ships with LabVIEW. You can use that as a starting point. You will then need a second application (the client) that other users would have on their computers in order to receive and display data. 

 

As for question number 2, you will have to tell us. Price doesn't necessarily indicate accuracy (although usually more accurate is more expensive). Make sure you know the accuracy you need, then you can find multiple sensors that meet that requirement and pick the one that seems like a fair price to you.

0 Kudos
Message 3 of 7
(3,663 Views)

Hello,

 

Thank you very much for the quick and useful responses. 

Since the budget is rather limited, I tought of this sensor;

AM2301, which is a DHT22 sensor.

 

 

0 Kudos
Message 4 of 7
(3,655 Views)

And is it no problem that the data cables of the sensors are quite long? because it's a large building so the wires will be  +- hundred metres?

 

 

edit: the part of the building I've will measure is 170 x 80 m

0 Kudos
Message 5 of 7
(3,652 Views)

You should contact the manufacturer of the device with those questions.

 

I found this link http://www.goodluckbuy.com/dht21-am2301-digital-temperature-and-humidity-sensor.html and it says that it has "long distance signal transmission".  But It doesn't have any specs.  How far they consider long distance, I don't know.

0 Kudos
Message 6 of 7
(3,623 Views)

Everyone's definition of "cheap" is different.  I can recommend the  Sensatronics EM1, we've used it to monitor temp and RH (also the E4 and E16 for temp-only).  They'll basically work right out of the box and serve measurements up over TCP/IP with a built in webserver.  Getting readings via LabVIEW is trivially easy.

 

But the NI DAQ and component-level sensors is a viable option too.  Likely less ultimate cost, more development time for the hardware.

 

Good luck!

 

Dave

David Boyd
Sr. Test Engineer
Abbott Labs
(lapsed) Certified LabVIEW Developer
0 Kudos
Message 7 of 7
(3,615 Views)