Creating an Automatic Deepfryer


For a school project, I attempted to create an automatic deepfryer. My plan was to make the proces of deepfrying a snack fully automated until the point where someone only has to select their targeted amount of snacks.

Unfortunately due to my lack of experience and understanding with mechanics, I was only able to create a prototype of a small part of the process. Being the part that is responsible for raising and lowering the deepfry pan.

So because of that I can only show you how to create this part of the project.

What you will need:

- 12V transmission motor with a 1:30 ratio

- 12mm thick full threaded metal rod

- Wood or other material for creating the structure

-The deep fryer itself (I bought the cheapest one I could find)

- 12mm nuts - An arduino uno with some male to male and female to female cables

- An L298N component (this functions as an H-bridge to allow our motor to change directions)

- A 12V power adapter for powering the 12V motor

Step 1: Wiring

In the images above you can see how I connected all the wiring for this project.

Im using the following wires for the following pins:

Blue: 8

Orange: 9

Yellow: 10

These wires are then connected to the L298N component.

At the bottom of the L298N component we connect the power supply (12V adapter).

To the left we connect the wires that run to the motor(see images).

Step 2: The Code

int enA = 10;
int in1 = 9;
int in2 = 8; void setup() {
  pinMode(enA, OUTPUT);
  pinMode(in1, OUTPUT);
  pinMode(in2, OUTPUT);
void loop() {
  digitalWrite(in1, HIGH);
  digitalWrite(in2, LOW);
  analogWrite(enA, 255);
digitalWrite(in1, LOW);
  digitalWrite(in2, HIGH);
  digitalWrite(in1, LOW);
  digitalWrite(in2, LOW);

Step 3: Attaching the Motor to the Rod

I tried multiple things to attach the motor to the rod. At first I tested it by using a wooden block but ended up using a small wooden cylinder which fits nicely to the motor and around the rod.

Step 4: Keeping Everything in Place.

To keep the whole thing from falling over I used multiple pieces of wood. For the bottom part I made a circular wooden disk with a hole in the middle that perfectly fits our motor.

To keep the rod from falling over I placed 2 vertical planks at the sides and added a plank in the middle with a hole inside that the rod goes through.

For now I've used zipties to keep everyting together, but eventually you would want to screw or glue it all together.



    • Epilog X Contest

      Epilog X Contest
    • Faux-Real Contest

      Faux-Real Contest
    • Warm and Fuzzy Contest

      Warm and Fuzzy Contest



    21 days ago on Step 4

    That is an awesome contraption! It only needs a conveyor belt to drop goodies in the basket, then, if you lift the basket vertically by wires you can tip it by winding further on one side to empty the fried product into a tray. Then the Arduino really helps by holding different cooking profile times.
    Great fun!