2018-10-31 01:32 PM
I'm trying to read the temperature using the MLX90614 sensor, however I can not get into the project. I'm using the I2C communication protocol and the code provided below, and I get the value 0 when I read it in the variable buffer.
After many attempts my doubt was to verify if the sensor was actually connected correctly, then I used the following command:
Which returns HAL_ERRO.
What should I do to read the temperature correctly using this sensor and the stm32f1 ???
2018-10-31 04:32 PM
did you check the data sheet ?
Slave address SA Factory default 5A
2018-10-31 06:00 PM
Yes I also used the address 0x05A and got the same fault, the address 0x00 is a default address to which the sensor must always respond (there is a possibility that someone has changed the default slave address of my sensor).