# Help me concerning my Arduino Programmable Temperature Controller project

**URL:** <https://forum.arduino.cc/t/help-me-concerning-my-arduino-programmable-temperature-controller-project/684470>\
**Category:** General Guidance\
**Created:** [November 26, 2020, 8:41pm UTC](https://forum.arduino.cc/t/help-me-concerning-my-arduino-programmable-temperature-controller-project/684470 "2020-11-26T20:41:39Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![bechir05](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/bechir05/32/543294_2.png) [@bechir05](https://forum.arduino.cc/u/bechir05)\
**Post date:** [November 26, 2020, 8:41pm UTC](https://forum.arduino.cc/t/help-me-concerning-my-arduino-programmable-temperature-controller-project/684470/1 "2020-11-26T20:41:39Z")

</div>

Hi guys,  
You all know that it is winter the period of cold, so I decided to make an Arduino Programmable thermostat like W1401 and W109, but this time it will be with an LCD screen with an I2C serial interface for fewer pins, LM35DZ temperature sensor, two 4_4 fans for heat distribution and 500 ohms resistors with 12v power supply as a source of heat, and a 4_4 keypad to indicate the adequate temperature for you. But this part of the project is the most dark because I haven't any idea concerning the code. I can make a simple one with a limit of maximum and minimum temperature but you have to change the code whenever you want to change the temperature.  
Please, help me solving this issue, I rely on you.

---

<div class="post-metadata">

**Author:** ![anon57585045](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@anon57585045](https://forum.arduino.cc/u/anon57585045)\
**Post date:** [November 27, 2020, 12:19am UTC](https://forum.arduino.cc/t/help-me-concerning-my-arduino-programmable-temperature-controller-project/684470/2 "2020-11-27T00:19:16Z")

</div>

This is a learning forum, but each single issue takes a lot of time to discuss. You are asking for an extended tutorial about how to write a fairly complex piece of code. You can not rely on a forum for that.

Instead, take your existing project, and add one feature at a time, then test and prove it works before moving to the next step. Pick what you think will be the easiest modification. Make a serious attempt to code it yourself, and post it here if you have any problems.

Then, repeat if you like until you have all those features.

---

<div class="post-metadata">

**Author:** ![JCA34F](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/jca34f/32/340148_2.png) [@JCA34F](https://forum.arduino.cc/u/JCA34F)\
**Post date:** [November 27, 2020, 1:16am UTC](https://forum.arduino.cc/t/help-me-concerning-my-arduino-programmable-temperature-controller-project/684470/3 "2020-11-27T01:16:05Z")

</div>

12V across a 500Ω resistor would dissipate 0.288 Watts, 248 calories per hour. It would take more than 4 hours to warm 1 liter of water up 1℃. What do you plan to heat with that?

---

<div class="post-metadata">

**Author:** ![linearity64](https://avatars.discourse-cdn.com/v4/letter/l/87869e/32.png) [@linearity64](https://forum.arduino.cc/u/linearity64)\
**Post date:** [November 27, 2020, 1:52am UTC](https://forum.arduino.cc/t/help-me-concerning-my-arduino-programmable-temperature-controller-project/684470/4 "2020-11-27T01:52:10Z")

</div>

First, reconsider your choice of heating element. Even having a massive array of resistors, that's still pretty jank. I would suggest using an commercial AC-based heating element, and using a relay to control it.

Second, as @aarg said, plan your steps, and build your program in blocks. Break things into module, make block diagrams for them, plot their interactions. Then build the modules one by one, making sure they work by themselves at first, then combining one with the other slowly. Also, plan your pin usage, sometimes they can get messy if you don't plan them well.

Personally, I like to make sure all my input and output elements work first before even thinking about the logic, so, I guess that's where you should start, imo.

---

<div class="post-metadata">

**Author:** ![bechir05](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/bechir05/32/543294_2.png) [@bechir05](https://forum.arduino.cc/u/bechir05)\
**Post date:** [November 27, 2020, 5:57am UTC](https://forum.arduino.cc/t/help-me-concerning-my-arduino-programmable-temperature-controller-project/684470/5 "2020-11-27T05:57:43Z")

</div>

> JCA34F:  
> 12V across a 500Ω resistor would dissipate 0.288 Watts, 248 calories per hour. It would take more than 4 hours to warm 1 liter of water up 1℃. What do you plan to heat with that?

I can use low value resistors for example a 15 Ohms resistor with rated power of 0.25w would dissipate 9.6 Watts and the result is fire then overheating which produces an acceptable amount of heat with 16 resistors for each fan but we shouldn't risk with 12v across 15 Ohms 1/4 Watts resistor.

![Captsssssure.PNG](https://europe1.discourse-cdn.com/arduino/original/4X/c/e/0/ce013e81d0d7eff66ef451cef17e0fa76a50fc2c.png)

![Captsssssure.PNG](https://europe1.discourse-cdn.com/arduino/original/4X/c/e/0/ce013e81d0d7eff66ef451cef17e0fa76a50fc2c.png)

---

<div class="post-metadata">

**Author:** ![bechir05](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/bechir05/32/543294_2.png) [@bechir05](https://forum.arduino.cc/u/bechir05)\
**Post date:** [November 27, 2020, 6:04am UTC](https://forum.arduino.cc/t/help-me-concerning-my-arduino-programmable-temperature-controller-project/684470/6 "2020-11-27T06:04:08Z")

</div>

> linearity64:  
> First, reconsider your choice of heating element. Even having a massive array of resistors, that's still pretty jank. I would suggest using an commercial AC-based heating element, and using a relay to control it.
> 
> Second, as @aarg said, plan your steps, and build your program in blocks. Break things into module, make block diagrams for them, plot their interactions. Then build the modules one by one, making sure they work by themselves at first, then combining one with the other slowly. Also, plan your pin usage, sometimes they can get messy if you don't plan them well.
> 
> Personally, I like to make sure all my input and output elements work first before even thinking about the logic, so, I guess that's where you should start, imo.

Can I use a 12v heating cartridge with the resistor and a pair of 12v tungsten car lamps that produce an acceptable amount of heat ??

---

<div class="post-metadata">

**Author:** ![Ballscrewbob](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/ballscrewbob/32/950458_2.png) [@Ballscrewbob](https://forum.arduino.cc/u/Ballscrewbob)\
**Post date:** [November 27, 2020, 12:38pm UTC](https://forum.arduino.cc/t/help-me-concerning-my-arduino-programmable-temperature-controller-project/684470/7 "2020-11-27T12:38:46Z")

</div>

@bechir05

**Other post/duplicate DELETED**  
Please do NOT cross post / duplicate as it wastes peoples time and efforts to have more than one post for a single topic.

Continued cross posting could result in a time out from the forum.

Could you also take a few moments to [Learn How To Use The Forum](https://forum.arduino.cc/index.php?topic=710766.0).

Other general [help and troubleshooting advice can be found here.](https://forum.arduino.cc/index.php?topic=52113.0)  
It will help you get the best out of the forum in the future.

---

<div class="post-metadata">

**Author:** ![TomGeorge](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/tomgeorge/32/215261_2.png) [@TomGeorge](https://forum.arduino.cc/u/TomGeorge)\
**Post date:** [November 27, 2020, 1:03pm UTC](https://forum.arduino.cc/t/help-me-concerning-my-arduino-programmable-temperature-controller-project/684470/8 "2020-11-27T13:03:35Z")

</div>

Hi,  
What are you trying to keep warm?  
What is its size, volume?

Thanks.. Tom.. 🙂

---

<div class="post-metadata">

**Author:** ![bechir05](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/bechir05/32/543294_2.png) [@bechir05](https://forum.arduino.cc/u/bechir05)\
**Post date:** [November 28, 2020, 5:02pm UTC](https://forum.arduino.cc/t/help-me-concerning-my-arduino-programmable-temperature-controller-project/684470/9 "2020-11-28T17:02:08Z")

</div>

> TomGeorge:  
> Hi,  
> What are you trying to keep warm?  
> What is its size, volume?
> 
> Thanks.. Tom.. 🙂

Practically it should be able to warm up a room but it it enough to do that for my desk or the place that I am in let's say 2_2_3=12m^3

---

<div class="post-metadata">

**Author:** ![anon57585045](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@anon57585045](https://forum.arduino.cc/u/anon57585045)\
**Post date:** [November 28, 2020, 5:29pm UTC](https://forum.arduino.cc/t/help-me-concerning-my-arduino-programmable-temperature-controller-project/684470/10 "2020-11-28T17:29:34Z")

</div>

I think you've seriously underestimated the amount of power it would take to heat that space.

---

<div class="post-metadata">

**Author:** ![bechir05](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/bechir05/32/543294_2.png) [@bechir05](https://forum.arduino.cc/u/bechir05)\
**Post date:** [November 29, 2020, 9:37am UTC](https://forum.arduino.cc/t/help-me-concerning-my-arduino-programmable-temperature-controller-project/684470/11 "2020-11-29T09:37:10Z")

</div>

Hi guys,  
The idea is to make a smart room heater but practically it should be able to heat the volume of 4 to 8 m^3(cubic meters). First, I thought to use low power 1/4w resistors mounted like a radius for a pair of fans with 12v power supply that gets overheated when the power is higher than 0.25 watts and a pair of tungsten 12v car lamps that warm up for an acceptable amount. For example: this type of resistors gets on fire for for 12v across a 15 Ohms 1/4 watts one. But after thinking, I found that it isn't sufficient.  
So please help me concerning this issue giving advice about low cost commercial heaters or even how to make a DIY one myself.  
HELP please!

---

<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:** [November 29, 2020, 9:46am UTC](https://forum.arduino.cc/t/help-me-concerning-my-arduino-programmable-temperature-controller-project/684470/12 "2020-11-29T09:46:57Z")

</div>

Topics merged AGAIN

You have previously been warned about starting new topics on the same subject

Enjoy a little timeout from the forum

---

<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:** [May 5, 2021, 7:22pm UTC](https://forum.arduino.cc/t/help-me-concerning-my-arduino-programmable-temperature-controller-project/684470/13 "2021-05-05T19:22:15Z")

</div>

Closed on May 5, 2021, 7:22pm UTC


