06-23-2006 02:29 PM
Michibeck
I would like to try your code but I'm working in LabView 7.1. Is it possible for you to compile your code in 7.1?
Many Thanks
06-26-2006 05:33 AM
06-30-2006 11:04 AM
06-30-2006 04:18 PM
07-01-2006 03:05 AM - edited 07-01-2006 03:05 AM
Message Edited by MarioLutz on 07-01-2006 03:15 AM
07-05-2006 11:01 AM
With reference to your diagram,
@MarioLutz wrote:
I use the USB-6008 with an build-in pullup resistor to 5 Volt.
You can also use the internal +5V power supply of the DAQ for the sensor.
Example of connection:
SHTxx DAQ
______ ___________________
GND |-------------------------| GND |
5V |-------------------------| +5V |
CLK |-------------------------| writing digital port 1 |
DATA |-------------------------| reading digital port 2 |
______| \ -------------|writing digital port 3 |
|__________________|Message Edited by MarioLutz on 07-01-2006 03:15 AM
07-14-2006 12:57 AM
07-14-2006 10:09 AM
Thanks, I appreciate the help.
@MarioLutz wrote:
Yes, I simply connect port 2 to port 3. You can do this, because of the build-in pullup-resistor to +5V and the open collector configuration of the DAQ. So it is not important if the SHTxx controls the line or the DAQ-card. But before the SHTxx can control the line you must "release" the line, that means a logical "1" on the writing digital port 3. Controlling the line means pulling to ground on a logical "0" and releasing on logical "1".
The reading port is passive.
For more information look for Open Collector digital I/O in google or wikipedia...
07-31-2006 02:17 AM - edited 07-31-2006 02:17 AM
Message Edited by MarioLutz on 07-31-2006 02:38 AM
07-31-2006 02:46 AM