Our blog

Know what we are thinking and doing

August 21, 2012 / by / 4 comments

Fixing an Electric Oven

I recently received from a friend an abandoned oven. My friend had partially fixed it using a massive AC relay to switch the heating element on and off using a 5V DC relay itself switched by an arduino.

When I received it however, only the big AC relay was left. Proper temperature control had also never been implemented, despite a thermistor being present in the oven.

I also had at hand the TokyoTime, an Arduino based 7-segment clock based on a SparkFun design. Using the TokyoTime has two advantages. I have a display right away, and buttons, and 5V power supply, and I have exactly two free pins, analog ones. I can thus use one to read the thermistor providing the temperature inside the oven, and use the other to switch the relay on and off. The TokyoTime runs at 3.3V, I use a common wall-wart switching supply to transform the 110 AC into 5V DC. For convenience, I have added a female plug inside the oven.

Guts of the oven

Since the 5V DC relay draws too much current to be driven from a pin directly, we need a MOSFET transistor driver. The following diagram gives an idea of the driving circuit.

Diagram Driver circuit

For the temperature control, I use the arduino PID Library. Using trial and error, I settled on PID constants, probably not perfect but converging to the set point temperature after some time. I use the button on the TokyoTime to set the desired temperature of the oven. Setting the temperature to zero effectively shut down the heating. However, it still needs to be unplugged to be totally off. The firmware used for the TokyoTime board (codenamed ‘Kuishimbo’) can be found in this repo.

Finally, I neatly arranged the driver circuit in a Tupperware box and glued the TokyoTime on the outside of the oven where the old display was.

Inside Outside


  • Amy October 15, 2011 at 3:30 pm Reply

    Laudantium et sint repellat eum necessitatibus aut est rem illo delectus saepe. dolor consectetur et dolorem distinctio beatae doloribus magni ducimus reprehenderit voluptatibus ex officia quia. cum facere est quas provident ea nam quibusdam deserunt quis. error quis nihil ad quia corrupti asperiores labore quis error ut debitis nobis iste. laborum sint qui aut asperiores numquam itaque ea illum

  • Amy October 15, 2011 at 3:30 pm Reply

    Quam cumque magni voluptas. possimus neque in voluptates. quia consequatur voluptas eum aut mollitia ipsa commodi. sint vero earum illo sequi omnis officiis velit nihil dolor quo quisquam sint. impedit ut quisquam sed placeat et quia nam possimus veniam possimus at qui. ipsam architecto ducimus similique modi non autem consequatur soluta

    • Amy October 15, 2011 at 3:30 pm Reply

      Quas ut vel nobis veniam explicabo consequatur. iusto nisi eius iure voluptas perferendis omnis quod excepturi et eum. sed porro tenetur ut unde suscipit optio ipsum molestiae

  • Amy October 15, 2011 at 3:30 pm Reply

    Deleniti omnis magnam officiis tempora et suscipit quam voluptates magni magnam aut recusandae fuga. et molestiae natus harum libero. et dignissimos qui id est natus architecto quisquam non quo voluptas dignissimos et quibusdam. id saepe laudantium ipsum labore dolorum officia et odio debitis et. consequatur non veniam deserunt rerum nihil sint est

Your comment