HTU21D Humidity and Temperature Sensor
Anyone got this sensor working?
I thought it was compatible with the SI7021 but i can not get it too work.
HTU21D Sensor?
Moderators: grovkillen, Stuntteam, TD-er
-
- Normal user
- Posts: 89
- Joined: 09 Oct 2015, 13:23
Re: HTU21D Sensor?
Same here, 2 sensors are found by the I2C scanner but it's not working.
-
- Normal user
- Posts: 57
- Joined: 04 Oct 2015, 17:14
Re: HTU21D Sensor?
Mine will not even show up in the scanner.
But it works perfectly on the arduino pro mini and mysensors?
But it works perfectly on the arduino pro mini and mysensors?
-
- Normal user
- Posts: 57
- Joined: 04 Oct 2015, 17:14
Re: HTU21D Sensor?
Found the problem.
The delays after conversion are not correct in the source code.
The delays after conversion are not correct in the source code.
-
- New user
- Posts: 3
- Joined: 11 Oct 2016, 20:39
Re: HTU21D Sensor?
I am fighting with a ESP-12E and a HTU21D...
I cannot get it to work. I am using the latest ESPEasy firmware (137).
I connect the + to the 3v3 pin, the - to the ground pin.
then the SDA GPIO-4 and SDL to GPIO-5
In ESP Easy I configure a SI7021 with correct IDX for Domoticz. This IDX is a dummy in Domoticz.
I have set Delay 55 in the config but still I receive:
300649 : SI7021 : Res=0x80 => Error 0x1
300650 : SI7021 : Read Error!
Also the IC2scanner remains empty if I scan....
What am i doing wrong here?
When I connect the sensor to my Uno, I can read the values.. so the sensor does work...
I cannot get it to work. I am using the latest ESPEasy firmware (137).
I connect the + to the 3v3 pin, the - to the ground pin.
then the SDA GPIO-4 and SDL to GPIO-5
In ESP Easy I configure a SI7021 with correct IDX for Domoticz. This IDX is a dummy in Domoticz.
I have set Delay 55 in the config but still I receive:
300649 : SI7021 : Res=0x80 => Error 0x1
300650 : SI7021 : Read Error!
Also the IC2scanner remains empty if I scan....
What am i doing wrong here?
When I connect the sensor to my Uno, I can read the values.. so the sensor does work...
-
- New user
- Posts: 3
- Joined: 11 Oct 2016, 20:39
Re: HTU21D Sensor?
Reley wrote:I am fighting with a ESP-12E and a HTU21D...
I cannot get it to work. I am using the latest ESPEasy firmware (137).
I connect the + to the 3v3 pin, the - to the ground pin.
then the SDA GPIO-4 and SDL to GPIO-5
In ESP Easy I configure a SI7021 with correct IDX for Domoticz. This IDX is a dummy in Domoticz.
I have set Delay 55 in the config but still I receive:
300649 : SI7021 : Res=0x80 => Error 0x1
300650 : SI7021 : Read Error!
Also the IC2scanner remains empty if I scan....
What am i doing wrong here?
When I connect the sensor to my Uno, I can read the values.. so the sensor does work...
nobody with a hint?
-
- Normal user
- Posts: 507
- Joined: 21 Nov 2015, 15:03
- Location: SW-Netherlands, NB
Re: HTU21D Sensor?
Are you having pull-up resistors on SCL & SDA ?
chech your sensor to see if it has pull-ups, the ESP12 does not have any. You can check with a voltmeter, SDA & SCL should be close to 3.3 volt. If not connect 2 4k7 resistors between Vcc and the I2C bus.
chech your sensor to see if it has pull-ups, the ESP12 does not have any. You can check with a voltmeter, SDA & SCL should be close to 3.3 volt. If not connect 2 4k7 resistors between Vcc and the I2C bus.
-
- New user
- Posts: 3
- Joined: 11 Oct 2016, 20:39
Re: HTU21D Sensor?
Both SCL and SDA have 3,something volt. (close to 3,3)
This means I do not need resistors right?
It is a NodeMCU 1 board running the latest ESP easy...
I tested with a DHT11 and this works fine with ESP easy.
On an Arduino, this HTU21D works fine as well..
This means I do not need resistors right?
It is a NodeMCU 1 board running the latest ESP easy...
I tested with a DHT11 and this works fine with ESP easy.
On an Arduino, this HTU21D works fine as well..
Who is online
Users browsing this forum: Anthropic Claude Bot [bot] and 4 guests