This is now officially doing my head in.....pause 10 in place of WEND gives a temp of 4000 and a humidity of 65071. methinks this is not working for me, and my sanity quotient has dramatically decreased these last few days.
This is now officially doing my head in.....pause 10 in place of WEND gives a temp of 4000 and a humidity of 65071. methinks this is not working for me, and my sanity quotient has dramatically decreased these last few days.
Well, then get rid of all that crazy math (ok, it's really not that crazy, but it does increase the chance of a logical error of some sort) you've got going on, read raw values and see if anything at all makes sense.
Put the sensor in ice water, run the program, read the value.
Put the sensor in really hot water, run the program, read the value, see if the temp rises by something that's reasonable, like say you went from ice to boiling, the temp sensor might rise by 100 (or 212 depending on your units). And the humidity would surely rise a bunch too. Then maybe put the sensor in a bunch of dessicant, to dry it out really good and see what the humidity output reads.
That 4000 you've got might be 40.00C (doubt it, but anything's possible), that 65071 might be 65.071%RH (again, doubt it, but, you know...).
Careful Ski, people might start accusing you of knowing things!!!!!! I think what the problem is, is the SHT is either not understanding the commands, or the program isn't complete (I got it off the forum). I wonder is there anyone out there who has experience at this sensor?
I have tried reading the raw data, and got, well, nothing. Or maybe less.
Last edited by gringobomba14; - 19th June 2008 at 18:57. Reason: bad spelling again
That's the last thing I want...and/or need...
That post I saw looked pretty complete to me.I think what the problem is, is the SHT is either not understanding the commands, or the program isn't complete (I got it off the forum). I wonder is there anyone out there who has experience at this sensor?
Maybe you let all the smoke out of it?I have tried reading the raw data, and got, well, nothing. Or maybe less.
I'd put it down, go out and mow the lawn or something, come back to it later.
But that's just me...and that's what I do when crap ain't working.
Blue smoke genie is still in one piece, but just to make sure I changed PIC's and SHT's. (Maybe there is an "I" missing in that sensor code somewhere...........)
Here is a question. If I wanted to send say "00000101" from a pin on the PIC, how would I do that? SEROUT? and then to receive "01101010" would be SERIN right? Maybe I might have a go at some changes and see what kind of trouble I can get myself into
Ah yes, the standard RTFM answer. In the meantime, another search has produced results of some sort, which has the sensor doing SOMETHING, but I think now it's down to the crazy maths. Watching SCRUBS is a great way of clearing the mind and getting back to work.
Bookmarks