Hi,
I have flashed my sonoff TH10 with ESP Easy, disabled the serial connection and enabled SDA & SCL on GPIO 1 and 3 in the web interface. Finally I connected a I2C IR temperature sensor (TMP006) and did a I2C scan: a device was found on port 0x40!
But unfortunately the TMP006 (or the upgraded TMP 007) is not listed as supported devices. It also doesn't appear in the pull down in the hardware menu. I've tried the MLX90614 IR temperature sensor using the correct port (64), but that doesn't work.
Is there a way to use this sensor? Maybe some generic/raw I2C output reading?
Dealing with unsupported I2C sensors
Moderators: grovkillen, Stuntteam, TD-er
Dealing with unsupported I2C sensors
Last edited by Tomass on 07 Dec 2018, 21:52, edited 1 time in total.
-
- Normal user
- Posts: 307
- Joined: 06 Nov 2016, 13:45
Re: Dealing with unsupported I2C sensors
The GY-906 MLX90614 IR temperature is working fine here.
Standard port is 0x5A.
The port number in the GUI is an offset on 0x5A.
So keep it zero if I2C address is 0x5A.
Don't understand your 60 ... Decimal ? Hex?
If it is 0x60 (thus hex) you need an offset of 6.
Fill the port number in the GUI with 6.
Standard port is 0x5A.
The port number in the GUI is an offset on 0x5A.
So keep it zero if I2C address is 0x5A.
Don't understand your 60 ... Decimal ? Hex?
If it is 0x60 (thus hex) you need an offset of 6.
Fill the port number in the GUI with 6.
30+ ESP units for production and test. Ranging from control of heating equipment, flow sensing, floor temp sensing, energy calculation, floor thermostat, water usage, to an interactive "fun box" for my grandson. Mainly Wemos D1.
Re: Dealing with unsupported I2C sensors
Just to be clear,I'n not using the MLX90614 but the TMP006.
I used the I2C scan tool in the tools menu and found a device at address 0x40. That's why I tried using port 64 (=0x40). In the devices table I also see 0x40. So that seems correct. I Also tried an offset of 6 (port 70 and 58) but nothing helps, the value is static at 1037.55.
I used the I2C scan tool in the tools menu and found a device at address 0x40. That's why I tried using port 64 (=0x40). In the devices table I also see 0x40. So that seems correct. I Also tried an offset of 6 (port 70 and 58) but nothing helps, the value is static at 1037.55.
-
- Normal user
- Posts: 307
- Joined: 06 Nov 2016, 13:45
Re: Dealing with unsupported I2C sensors
My comment was regarding:
I have no idea about unsupported sensors.
and explained that port is not the number you see in the scan, but an offset to a standard number.I've tried the MLX90614 IR temperature sensor using the correct port (64), but that doesn't work.
I have no idea about unsupported sensors.
30+ ESP units for production and test. Ranging from control of heating equipment, flow sensing, floor temp sensing, energy calculation, floor thermostat, water usage, to an interactive "fun box" for my grandson. Mainly Wemos D1.
Who is online
Users browsing this forum: No registered users and 116 guests