Dealing with unsupported I2C sensors

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
Tomass
New user
Posts: 2
Joined: 07 Dec 2018, 10:22

Dealing with unsupported I2C sensors

#1 Post by Tomass » 07 Dec 2018, 10:33

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?
Last edited by Tomass on 07 Dec 2018, 21:52, edited 1 time in total.

Domosapiens
Normal user
Posts: 307
Joined: 06 Nov 2016, 13:45

Re: Dealing with unsupported I2C sensors

#2 Post by Domosapiens » 07 Dec 2018, 20:34

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.
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.

Tomass
New user
Posts: 2
Joined: 07 Dec 2018, 10:22

Re: Dealing with unsupported I2C sensors

#3 Post by Tomass » 07 Dec 2018, 21:52

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.

Domosapiens
Normal user
Posts: 307
Joined: 06 Nov 2016, 13:45

Re: Dealing with unsupported I2C sensors

#4 Post by Domosapiens » 08 Dec 2018, 00:26

My comment was regarding:
I've tried the MLX90614 IR temperature sensor using the correct port (64), but that doesn't work.
and explained that port is not the number you see in the scan, but an offset to a standard number.

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.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 31 guests