05-10-2017 03:57 AM
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.
05-10-2017 09:31 AM - edited 05-10-2017 09:35 AM
@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:
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?