Hello everyone who want to help me i have been trying to de bug my thermo relay im using chinese arduini uno atmega328 core 10 10kom resistors 100kom termistor and 5 vdc relay.
my scheme is working but when im trying to make relay turn off after the temperature reaaches 200 degreee celsium but it doesnt show temperature correctly (i know how to fix that) and when it reaches something around 120~150 degree celsium the arduino uno takes 5~10 sec and that is very anoing i need it to turn off as fast as posible and turn back on when temperature drops 5 degree lover the set temp.
There is no test in your code except the 270 test.
Perhaps your English is so full of mistakes because you are very angry and frustrated. If so, please take time to become calm before you post again. If you are calm now, then maybe you should use an on-line translator so that you do not have to write in English.
Please read the forum guide before you post again.
i swap temp=temp 273.15 to 330 on line 7 and it makes it display 200 degree but it shows incorect temp if it below 180 and more that 240
and i swaped on lin 13 temp from 270 to 200
Please post your full sketch, using code tags when you do
Posting your code using code tags prevents parts of it being interpreted as HTML coding and makes it easier to copy for examination
In my experience the easiest way to tidy up the code and add the code tags is as follows
Start by tidying up your code by using Tools/Auto Format in the IDE to make it easier to read. Then use Edit/Copy for Forum and paste what was copied in a new reply. Code tags will have been added to the code to make it easy to read in the forum thus making it easier to provide help.
It is also helpful to post error messages in code tags as it makes it easier to scroll through them and copy them for examination
Which sensor are we talking about.
I think I see some black tube, but I also see clixons (thermal switches).
The string of 10k resistors might be wrong for a 100k thermistor.
We normally use a pull up resistor value of the thermistor value at the temp of interrest.
A 10k pull up resistor could be better suited for a 100k thermistor at those high temps.
Leo..
Hi, @ardduino_noob
Welcome to the forum
Can you please tell us what your native language is?
Can you please post a copy of your circuit, a picture of a hand drawn circuit in jpg, png?
Hand drawn and photographed is perfectly acceptable.
Please include ALL hardware, power supplies, component names and pin labels.
For the relay, draw a box and label the points that the wire go into it.