10-07-2010 01:25 PM
Thanks Mooseo
I have bought the Evaluation Kit from Sensirion (USB connection and driver for the sensor). But it'll take too long time to get it, so I have to start working now.
Ain't there any models for Serial Port control, the way you described it?
10-07-2010 05:42 PM
But why use some sort of serial port module when you can use a USB device?
10-19-2010 05:13 AM
I've been using SHTxx sensors for a while and everything works nicely with 6009 and via serial communication.
Have anyone made this work with a cRIO using a DIO module?
12-17-2010 03:52 PM - edited 12-17-2010 03:58 PM
I was able to interface with the Sensirion sht75 with the following code and connections. The connection is as follows:
SHTxx DAQ
______ _________________
GND |-------------------------| GND |
5V |---+--------------------| +5V |
SCK |---|---------------------| CLK digital port 0 |
DATA |---|----------+---->|---| read digital port 1 |
| | |----------| write digital port 2 |
_____| | | |_________________|
+--###--+
Resistor
I had the three digital lines for CLK, read, and write on port0.0, port0.1, and port0.2, respectively. I connected a 10K pull up resistor between 5V and DATA. I directly connected the write output from the DAQ to the DATA. And I connected the read input to the DAQ to the DATA via a diode with the positive end connected to DATA.
Hope this helps somebody,
-Crad
12-20-2010 04:33 PM
Hi everyone
I receive recently a free sample of the new temperature humidity sht21 sensirion sensor. I try to use the shtxxx driver, aparetly it works with ni6008, but the output values are wrong.
It seems the error becomes from the s_connectionreset.vi in the task in it gives an output of ERR (-200.....).
Can anyone help me to define the task in? I only change the physical address ports but the tasks I don't know.
Best regards from Portugal
CPalha
12-20-2010 07:30 PM
Hi Cpala,
I don't think that the drivers work with the 6008... they require the Tri-state property to use the same pin as input and output, but the 6008 doesn't support that.
It wouldn't be too tough to change them to use a different pin for input and output. If you go back to Marios earliest versions, I seem to recal that he used separate pins.
Good luck.
mike
12-21-2010 02:24 AM
Hi
We spent a great deal of time also making this sensor work on a cRIO with a 9401 DIO module, but never got it to work. If anyone has had succes with this let me know.
soeren
12-21-2010 03:20 AM
Hi mooseo
Thanks for the reply.
I confirm that I had used the Mario diagram, but in the lbb file it has many VI's. One of them, I think the only one that gives an output error (s_connectionreset.vi) because the "Task in" is empty in the front panel. I need to know what information I need to put there.
Regards from Pt
CPalha
12-22-2010 01:16 PM - edited 12-22-2010 01:17 PM
Hi everyone
I discovery the error about task in.
Was a bad solder in the sht21, very small and far conditions to solder. I use the SHT11 and it works good.
After compare with a good equipement to measure temp and hum, I can say to the forum that sensor has good accurancy.
regards from pt, brg
CPalha
03-17-2011 05:41 PM
Hello Mooseo,
I am trying to make your multiple sensor SHTxx code work, but I am unable to see the modification that enables it to read multiple sensors. You talked about a common SCK line and then indivudual data i/o line. Where do I select the data i/o lines for my additional sensors? Right now I am trying to get two sensors to work, but eventually I will need to read temp and humidity from 8 sensors.
Thanks in advance for your help!