If you need a temperature sensor and relay in one device, you should look no further than Thermostat click. It can be used to measure environmental temperature and to directly switch ON/OFF cooling and heating devices, performing all the functions of a thermostat.
Thermostat click carries the MAX7502 IC digital temperature sensor, that also provides an overtemperature alarm/interrupt/shutdown output, and an SN74LVC1G126 single bus buffer from Texas Instruments. MAX7502 IC can measure temperatures from -25°C to +100°C, within the accuracy of ±1.5°C.
The G6D PCB power relay can control up to 5A, 250V AC/30V DC loads.
The click runs on either 3.3V or 5V power supply and communicates with the target MCU over I2C interface.
The IC can measure temperatures from -25°C to +100°C, within the accuracy of ±1.5°C.
MAX7502 temperature sensor measures temperature, converts the data into digital form using a sigma-delta ADC, and communicates the conversion results through an I2C-compatible 2-wire serial interface.
It accepts standard I2C commands to read the data, set the overtemperature alarm trip thresholds, and configure other characteristics.
The MAX7502 temperature sensor typically uses only around 250 µA, and in shutdown mode around 3 µA. With such low power consumption, it is very suitable for home automation devices.
There is also the TE (thermostat enable) pin on the mikroBUS™ pin socket for enabling (high level) or disabling (low) of the thermostat functionality. This is accomplished via the SN74LVC1G126 single bus buffer with 3-state output IC, which serves as an electronic switch between temperature sensor IC output pin and the relay driver circuit.
This way the relay can be permanently disconnected from the sensor IC output. A feature like this can be useful when the sensor IC is only used as an measuring device, or if the thermostat needs to be temporarily disabled.
HVAC systems, heating systems, cooling systems, simple interrupt ON/OFF temp control, hysteresis controller, etc.