Temperature controlled oven

Hi im currently having problems with programming the oven i will use for my project in school and would really like your inputs and programming skills unto how i shall change the code. the problem is i need to have my oven set at 3 different temperatures. this should be the scenario. when the oven is turned on, it should first be set on 20 degrees and if it reaches that it needs to have a steady state there after it overcomes the overshoot, after that it should be set to 40 which needs to be set there and last is to 60 with the same scenario. i dont like the trouble of studying the arduino yet because this is just a minor part of the project which my professors said that i could go to the internet and get some help.sorry for my english :slight_smile: and would really appreciate your help

i almost forgot here are the things i am using:
FOTEK SSR
Arduino uno
i2c lcd
max6675 + ktype thermocouple

OVEN_ARDUINO.ino (2.88 KB)

flmarasigan:
i dont like the trouble of studying the arduino yet because this is just a minor part of the project which my professors said that i could go to the internet and get some help.

Tell your professors that they are unprofessional and they should not encourage their students to be lazy.

our project is composed of many subsystems, the oven will be used to melt the plastic which will be used for recycling. anyways thanks for the reply :slight_smile:

Ask your professors to write the code for you. If they refuse, ask why they think others would do it when they will not. We will not do your homework for you or write your code for free. But we will help you while you learn and guide you when you get stuck.

Alternatively if you have money, post your request on the "gigs and collaborations" section and say how much you can pay someone to write the code for you.

PaulRB:
Ask your professors to write the code for you. If they refuse, ask why they think others would do it when they will not. We will not do your homework for you or write your code for free. But we will help you while you learn and guide you when you get stuck.

Alternatively if you have money, post your request on the "gigs and collaborations" section and say how much you can pay someone to write the code for you.

ok, thanks! will surely try to do the code, ask for your inputs

Good.

I suggest you start by controlling the oven manually and set up the Arduino and thermocouple to read the temperature and print it to serial monitor, every few seconds, along with the time (from millis()). Perform some tests where you manually switch the oven on and then off after a known time. Plot time against temperature to see how quickly the oven heats up and how much overshoot you see, and how quickly it cools after switch-off. None of these changes will be linear!

Do some research on state machines, that would be a simple way to implement this.

You do need to be a bit more specific on exactly how the oven is suppose to operate. Does it need to stay at the 20, 40, or 60 degree temperature for some specific time, or just heat to 20 degrees, then go immediately to 40 as soon as it stabilizes at 20, etc. With an SSR, you can also control the heating element so that you have minimal overshoot at the set temperature, and to maintain a steady temperature once you reach the set temperature.