LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Humidity teste Labview-arduino

Hi.

Currently, working on a way to use Labview and arduino for, a humidity tester.

I am using, a SHT 15 coupled to, an Arduino uno board.  

From the arduino, i use a formula, to convert the numbers from 0% to 100%  to the arduino´s PWM 0-5V.

The PWM is going to, a OP-AMP and capacitor´to stabilize the signal, and then going to. a NI 9201 in a NI DAQ 9172.

In my Labview program i have, a Daq Assisstant, then my formula for converting the signal from 0-5V to a humidity number and then a string display.

 

I have tested both, the arduino code and Labview program and they work fine seperatly, but for some reason i loose some data when i put them together, so the labview shows a humidity about 2-6% less than the arduino. The labview program humidity number i get is very unstable. Also when i measure a humidity on 60% or higher the Labview program goes straight to 100%.

 

I am sorry if it does not make sense what i write and hope some of you have any idea how to help.

0 Kudos
Message 1 of 2
(2,661 Views)

@Jav851Ktf wrote:

Hi.

Currently, working on a way to use Labview and arduino for, a humidity tester.

I am using, a SHT 15 coupled to, an Arduino uno board.  

From the arduino, i use a formula, to convert the numbers from 0% to 100%  to the arduino´s PWM 0-5V.

The PWM is going to, a OP-AMP and capacitor´to stabilize the signal, and then going to. a NI 9201 in a NI DAQ 9172.

In my Labview program i have, a Daq Assisstant, then my formula for converting the signal from 0-5V to a humidity number and then a string display.

 

I have tested both, the arduino code and Labview program and they work fine seperatly, but for some reason i loose some data when i put them together, so the labview shows a humidity about 2-6% less than the arduino. The labview program humidity number i get is very unstable. Also when i measure a humidity on 60% or higher the Labview program goes straight to 100%.

 

I am sorry if it does not make sense what i write and hope some of you have any idea how to help.


So let me get this straight, you have:

  1. An I2C humidity sensor connected to an Arduino
  2. The Arduino takes the 0-100%Rh value received and converts is to an analog voltage
  3. That analog voltage get fed to a NI-DAQ
  4. LabVIEW converts the NI-DAQ voltage measurement to a 0-100%Rh display

Rube Goldberg much?

 

Why not eliminate the NI-DAQ and just make the Arduino read the 0-100% value from the sensor and send it out through its serial port as text, then use LabVIEW to read the value from the Com port and display it?

 

Or why not use LINX and have the Arduino run LabVIEW directly?

 

 

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 2 of 2
(2,612 Views)