Ok, if I simply comment that “from logo …” statement out, I get a bit of life … but the temperature is way off (10.2C vs 22.3C) so I guess the maths is off somewhere … anyone know the right numbers ??
This is the python code
[code]def read_temperature(model = ‘v1.2’):
“Read temperature values in Celsius from Grove Temperature Sensor”
# each of the sensor revisions use different thermistors, each with their own B value constant
if model == ‘v1.2’:
bValue = 4299 # sensor v1.2 uses thermistor ??? (assuming NCP18WF104F03RC until SeeedStudio clarifies)
elif model == ‘v1.1’:
bValue = 4250 # sensor v1.1 uses thermistor NCP18WF104F03RC
else:
bValue = 3975 # sensor v1.0 uses thermistor TTC3A103*39H
This issue occurs due to I2C address conflict for Grove I2C ADC module please refer the following forum post where this issue is resolved by changing the address to 0x50.