Hi I’m working in a project to move a lego robo arm (ev3 orginal). We change ev3 controller by a rpi3B and brickpi board. The problem is that we are using a lego NXT temperature sensor. We are coding in python and we are trying with brickpy3.py from dexter and ev3dev libs too. With ev3dev we can get a correct temperature, setting up the sensor as NXT/I2C sensor addess 0x4C and mode NXT-TEMP-C (celsius).
But we don’t get the match with dexter libraries. It’s possible to get the correct temperature configuration for this type of sensor? We tested CUSTOM (analog type)
self.BP.set_sensor_type(self.port_s_TEMP, self.BP.SENSOR_TYPE.CUSTOM, [(self.BP.SENSOR_CUSTOM.PIN1_ADC)])
But we got 4095 value in  position.
We tested then with PIN6_ADC and error occurred and with I2C type too
This sensor is critic for our project because the robot must to stop when the sensor reach 35ºC or something like that.