Do I need to change the code to use the Sensiron temp. sensor with the bs2px?
P!-Ro
Posts: 1,189
I just used the sample code on the page for it here and converted it into code for the bs2px. However, these are the results I'm getting back:
SHT1x Demo
soRH..... 65535
rhLin.... 2623.1%
rhTrue... 471.8%
tC....... 615.3º
tF....... 1139.5º
Do I need to change the code or is it a different problem?
Post Edited (Pi Guy) : 11/30/2008 12:59:41 AM GMT
SHT1x Demo
soRH..... 65535
rhLin.... 2623.1%
rhTrue... 471.8%
tC....... 615.3º
tF....... 1139.5º
Do I need to change the code or is it a different problem?
Post Edited (Pi Guy) : 11/30/2008 12:59:41 AM GMT
Comments
Otherwise it's probably a code problem.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
PG
Post Edited (Pi Guy) : 11/30/2008 12:59:57 AM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
Have you looked through this?
www.parallax.com/Portals/0/Downloads/docs/cols/nv/vol3/col/nv91.pdf
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
PG
Post Edited (Pi Guy) : 11/30/2008 1:00:16 AM GMT
http://www.parallax.com/Portals/0/Downloads/docs/cols/nv/vol3/col/nv91.pdf
Sensirion Kit Documentation (.pdf)
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
PG
Post Edited (Pi Guy) : 11/30/2008 1:00:36 AM GMT
Of course they are. Sylvie was directing him to a Nuts and Volts column, NOT the product page.
Regards
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
When all else fails, try inserting a new battery.
Am I correct in assuming that there's nothing to adjust with the SHIFTIN/SHIFTOUT commands to account for using a BS2px instead of a BS2?
As far as I know you are correct that there are no changes to SHIFTIN and SHIFTOUT based on which Stamp platform you use.
Regards,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
When all else fails, try inserting a new battery.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
PG
Post Edited (Pi Guy) : 11/30/2008 1:01:02 AM GMT
You may want to check your PM's before posing (sic) again. Just a "word to the wise..." .
Regards,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
When all else fails, try inserting a new battery.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
PG
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
PG
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
PG
I have·12 versions of·code for the BS2/BS2P40 (one that works with two sensors at the same time, see·http://forums.parallax.com/showthread.php?p=690671·), but I don't see anything·in them·that causes a light bulb to come on other than what I mention above.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Andrew Williams
WBA Consulting
IT / Web / PCB / Audio
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
PG