Sensirion SHT11 data transmission distance
charlieknox
Posts: 27
The Sensirion SHT11 sensor ( http://www.parallax.com/dl/docs/prod/acc/SensirionDocs.pdf·) sends serial data on temp & humidity to the Basic Stamp.· Does anyone know how far away the sensor can be from the Stamp, without losing the message?· What suggestions do folks have regarding data transmission about 35 feet away?· I'm talking numerous sensors here, so wireless is probably not feasible.
Thanks !!
Charlie
Thanks !!
Charlie
Comments
Check out Maxim here:
www.maxim-ic.com/quick_view2.cfm?qv_pk=1798
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Mike2545
This message sent to you on 100% recycled electrons.
Post Edited (Mike2545) : 5/13/2009 11:54:27 PM GMT
-- pullup resistor on the DTA line can be reduced to 2.2 kOhm or less in order keep good signal edges.
-- filter capacitor on power supply line at each Sensirion
-- shielded cable if necessary
You can probably drive all of the clock lines from one Stamp pin, but be sure to include a pulldown on the clock line (~5k)
Back of napkin calculation: 35 feet of cable, about 0.001 µF total capacitance, and with a 2 kΩ pullup, time constant = 2 microseconds, compared with ~65 microsecond clock period of BS2 SPI.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tracy Allen
www.emesystems.com
The cable was Belden 88723, 4 conductor shielded.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tracy Allen
www.emesystems.com
When using Cat 5, I use this pinout for the cable:
Cat5
SHT11
Blue
Vdd
Blue/Wht
Clock
Green
Gnd
Green/Wht----Data
Having the clock paired with Vdd and the data line paired with Gnd seems to work well. I have 6 of these sensors currently installed on various lengths of Cat5 in my house ranging from 12 to 84 feet. Eventually, I will have my "control panel" complete for my custom thermostat, so I can actually have all of them in use at the same time. Currently, they sit installed, but unpowered. (my almost non-existent free time currently goes to learning SXB/SX and the Cypress PSoC)
My Sensirion SHT1X module design is slightly different than the one Parallax makes (see attached schematic/picture), but you can add the extra parts to your circuit if you are using the Parallax sensor and have issues at 35 feet. All of my programs using the SHT11 sensors are based on Parallax's sample code without any added pause statements to slow down the clock. Even my conformally coated module with the IP67 waterproof cap runs at "sample code speed" while submerged in icewater. See my polar bear plunge datalogger: http://forums.parallax.com/showthread.php?p=792332
The Belden 8723 that Tracy mentions is excellent cable as well and if you are as lucky as me, your local Home Depot sells it (and Cat5) by the foot. I have also used "Silver Satin" (flat 4 conductor phone line), but only up to 20 feet.
good luck.....
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Andrew Williams
WBA Consulting
IT / Web / PCB / Audio