# Need Help with the Arduino using a relay and a temprature switch

**URL:** <https://forum.arduino.cc/t/need-help-with-the-arduino-using-a-relay-and-a-temprature-switch/1066147>\
**Category:** General Guidance\
**Created:** [December 16, 2022, 9:37am UTC](https://forum.arduino.cc/t/need-help-with-the-arduino-using-a-relay-and-a-temprature-switch/1066147 "2022-12-16T09:37:10Z")\
**Posts on this page:** 4\
**Page:** 2

<div class="post-metadata">

**Author:** ![UKHeliBob](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/ukhelibob/32/215663_2.png) [@UKHeliBob](https://forum.arduino.cc/u/UKHeliBob)\
**Post date:** [December 16, 2022, 12:29pm UTC](https://forum.arduino.cc/t/need-help-with-the-arduino-using-a-relay-and-a-temprature-switch/1066147/22 "2022-12-16T12:29:33Z")

</div>

> [@themianer](#):
>
> this code

Please help us to help you by posting your code in the most helpful way by noting the advice that you were given when you joined the forum

Please follow the advice given in the link below when posting code, in particular the section entitled 'Posting code and common code problems'  
  
Use **code tags** (the \</\> icon above the compose window)&nbsp;to make it easier to read and copy for examination

> [@How to get the best out of this forum](https://forum.arduino.cc/t/how-to-get-the-best-out-of-this-forum/679966):
>
> See also [FAQ - Arduino Forum](https://forum.arduino.cc/faq) for general rules on forum behaviour and etiquette. Hello, Welcome to the Arduino Forum. This guide explains how to get the best out of this forum. Please read and follow the instructions below. Being new here you might think this is having rules for the sake of rules, but that is not the case. If you don’t follow the guidelines all that happens is there is a long exchange of posts while we try to get you to tell us what we need in order to help you, which is fru…

---

<div class="post-metadata">

**Author:** ![bidrohini](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/bidrohini/32/1126551_2.png) [@bidrohini](https://forum.arduino.cc/u/bidrohini)\
**Post date:** [December 16, 2022, 12:34pm UTC](https://forum.arduino.cc/t/need-help-with-the-arduino-using-a-relay-and-a-temprature-switch/1066147/23 "2022-12-16T12:34:34Z")

</div>

Primarily, you can proceed with a temperature sensor LM35 and a relay module.

[https://create.arduino.cc/projecthub/infoelectorials/project-003-arduino-lm35-temperature-sensor-project-0a43ba](https://create.arduino.cc/projecthub/infoelectorials/project-003-arduino-lm35-temperature-sensor-project-0a43ba)

---

<div class="post-metadata">

**Author:** ![cedarlakeinstruments](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/cedarlakeinstruments/32/1128931_2.png) [@cedarlakeinstruments](https://forum.arduino.cc/u/cedarlakeinstruments)\
**Post date:** [December 16, 2022, 1:30pm UTC](https://forum.arduino.cc/t/need-help-with-the-arduino-using-a-relay-and-a-temprature-switch/1066147/24 "2022-12-16T13:30:03Z")

</div>

@OP:  
You're basically building a thermostat as stated before. The fact that you only want it to cut out at a certain temperature isn't really relevant: it's still a thermostat.

Temperature is the most commonly measured process variable and as a result, there are thousands of different types of temperature monitoring/temperature control devices since the dawn of the industrial age.

If you're doing this as a (commercial) product, you don't need an arduino, etc; you need a temperature switch.

[Here is an example device](https://quality.analog.com/SearchResults.aspx?Model=ADT6501SRJZP105RL7) that will activate an output at a factory preset 105C. It can be ordered in 10C trip-point increments and costs $0.64 each at a quantity of 1,000. The single-unit price is $1.98.

Does that work? If not, why not?

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [June 14, 2023, 1:30pm UTC](https://forum.arduino.cc/t/need-help-with-the-arduino-using-a-relay-and-a-temprature-switch/1066147/25 "2023-06-14T13:30:16Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.

[Previous page](https://forum.arduino.cc/t/need-help-with-the-arduino-using-a-relay-and-a-temprature-switch/1066147.md?page=1)
