MCP9808
MCP9808
is I2C temperature sensor from Microchip. I bought them from Farnell, they are just over 1€ on there.
The 9808 is ±0.25 (typical) from -40°C to +125°C. And ±0.5°C (maximum) from -20°C to 100°C. Not bad at all, another good one!
I has user-selectable measurement resolution down to 0.0625°C. At this resulution it takes 250mS to take sample.
• Operating Voltage Range: 2.7V to 5.5V
• Operating Current: 200 μA (typical)
I2C scanner sketch shows sensor at 0x18 and 0x1F (the way I configured my sensors). You can set many different addresses since you have 3 pins avaliable for setting it anywhere between 0x18 and 0x1F.
For library I searched for mcp9808 in Arduino IDE and use DHT11 from robin (yea I don't know why did he put DHT11 as name... but it is for mcp)
Example sketch has MCP9808 mcp = MCP9808(); in code, but if you have specific address like 0x1F, then you simply put that in:
MCP9808 mcp = MCP9808(0x1F);
I my two sketches, I use two sensor at the same time, one sketch does averaging.
MCP9808 visits: