-
-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SHT20 feature request #84
Comments
Do you have an example of a device? I do find SHT15 and SHT21 but no 20. I do see some people got a SHT21 working on a PI. So that should be not an issue. But I would like to test it myself so I need some hardware to test with. |
I was thinking of something like this or this The way I read it, it runs the same software as a SHT21, but is a cheaper(less accurate version). |
Hmmm... they look cool... I will look into it. |
Hardware is ordered for testing... shipping is about 20 days :( |
Really cool that you're willing to do this, thanks a lot. |
Just got update that shipment has started.... so still 20 days waiting :( |
Thanks for the update. Chinese New Year delayed some of my orders as well. |
Hardware has arrived!! Now we need to read Chinese :P |
Cool! Let me know if you get stuck with some of the documentation and I'll try to help. |
I figured out the colors with google translate to chinese.. So now it is only matter of connecting them and trying some code... But if you have already something working, please share... |
These are the colours as labelled from my order. Not using black for the ground is strange to me... connection mode: VCC-red GND-green DATA-black SCK-white With studying and exams last week I haven't gotten around to testing the sensors myself but I found someone who linked this a while ago and saved that. I'm still learning python so while I feel comfortable editing code I'm not really able to write that well. This code is well documented and commented so it should provide a good starting point. |
Ah, now it gets funny. I have the following colors: black, brown, yellow, blue :p And I found: https://github.com/imonkey-tw/weather168_raspberry_pi/blob/master/SHT20/SHT2x2xively.py So that are already two ways of coding. That is nice... I hope to do some testing this weekend |
Let’s make this some more fun, shall we? I just looked it up and the product I have does not correspond with the product description. The sensors I have are RELed, Green, Blue and Yellow. I took the sensor appart and the PCB is labeled at least. Red - VCC |
do a git clone, restart and clear browser cache. You should be able to add new type of sensors. To find the right ID, use i2cdetect -y 1 and enter the found ID. Probably 40. Use that as address |
How about "template" for i2c ? =D |
Sorry, it is unclear what you try to tell. I do not have I2C experience. Nor do I have other hardware to test. So please be more clear what you mean. It is possible to enter a value like [BUS_ID],[HEX_ADDRESS] which can be 0,40 using bus 0 in stead of bus 1 |
Sorry, my language is not good. |
I am sorry, but above message is not helping with this issue. Please post on the right issues. This issue will be closed now, as support for the SHT20 is now available |
If i give you tested and working python scripts for different sensors for measurment can you adding this in your project ? |
Yes, but please, create new issue per sensor / code. So it is easier to debug and fix issues per sensor. |
I'd like to put in a feature request for SHT20 weatherproof temperature and humidity sensor. I run a very humid environment and would like to monitor soil moisture as well. Other sensors easily get corroded under these circumstances, but these seem to be up to the task. The sensor is essentially just an SHT-20 with the 4 data/power wires brought out so any SHT-2X code for a microcontroller will work. It uses I2C, I'm not sure if that will form a problem.
The text was updated successfully, but these errors were encountered: