Mini Burger Bot 🍔
Meet the robot that runs its own tiny burger shop! It spins a carousel of ingredients and drops each layer perfectly to build a burger — all on its own, using Arduino and servo motors.
🧠 What Are We Building?
The Mini Burger Bot is a tabletop robot that works like a mini automated burger shop. It has a spinning carousel with six little trays — bottom bun, patty, cheese, lettuce, tomato, and top bun. One servo motor spins the carousel to line up each ingredient over a stack. A second servo opens a tiny trapdoor to drop the ingredient. A third servo slowly lowers a mini platform so the stack always drops from the same height. Press one button, and watch your robot "cook" a perfectly stacked burger — layer by layer!
This project teaches servo motor control, sequencing logic, and sensors — real robotics concepts, dressed up as the most delicious machine on the block.
🧰 Components Required
Everything you need, with approximate India pricing
| Component | Quantity | Approx. Price (INR) |
|---|---|---|
| Arduino Uno R3 | 1 | ₹550 |
| SG90 Micro Servo Motor (Turntable) | 1 | ₹150 |
| SG90 Micro Servo Motor (Trapdoor) | 1 | ₹150 |
| SG90 Micro Servo Motor (Elevator) | 1 | ₹150 |
| Push Button | 1 | ₹10 |
| Buzzer (5V) | 1 | ₹20 |
| Green LED | 1 | ₹5 |
| Red LED | 1 | ₹5 |
| 220Ω Resistor | 2 | ₹4 |
| Breadboard | 1 | ₹90 |
| Jumper Wires (M-M, M-F) | 1 set | ₹99 |
| 9V Battery + Connector (or USB power) | 1 | ₹60 |
| Cardboard / Foam Board + Craft Felt (for ingredients) | 1 set | ₹150 |
| Hot Glue Gun + Sticks | 1 | ₹200 |
💡 You can source all electronics from Robocraze, Flyrobo, or Robu.in. Craft supplies are easily found at any local stationery or art store!
🔌 Circuit Diagram
How everything connects to the Arduino Uno
📌 Pin Connection Table
| Component | Pin on Component | Arduino Pin |
|---|---|---|
| Turntable Servo | Signal | D9 |
| Trapdoor Servo | Signal | D10 |
| Elevator Servo | Signal | D11 |
| Push Button | One leg | D2 (other leg to GND) |
| Buzzer | + | D8 |
| Green LED | Anode (via resistor) | D7 |
| Red LED | Anode (via resistor) | D6 |
| All Servos | VCC / GND | External 5V supply / Common GND |
🛠️ Step-by-Step Build Guide
Cut the Carousel Base
Cut a circular piece of cardboard (about 20cm diameter) and divide it into 6 equal slots using a marker and ruler. Each slot will hold one felt "ingredient" — bottom bun, patty, cheese, lettuce, tomato, top bun.
Add the Trapdoors
Cut a small flap at the bottom of each slot that can swing open. Attach a thread from each flap to a central point so the Trapdoor Servo's arm can pull them open one at a time.
Mount the Turntable Servo
Fix the Turntable Servo underneath the center of the carousel using hot glue and a small cardboard bracket. This servo will rotate the carousel by 60° for each ingredient.
Build the Elevator Platform
Create a small square platform below the carousel where the burger stack will grow. Attach it to the Elevator Servo's arm so it can tilt or lower slightly after each layer drops, keeping drop height consistent.
Wire the Circuit
Connect all three servos, the push button, buzzer, and LEDs to your Arduino Uno exactly as shown in the circuit diagram and pin table above. Double-check GND connections are common across all parts.
Upload the Code
Connect your Arduino to your computer, open the Arduino IDE, paste in the sketch below, select the correct board and port, and click Upload.
Load the Ingredients & Press Start
Place felt ingredients into all 6 carousel slots in order. Press the push button and watch the robot rotate, drop, and stack each layer — finishing with a happy buzzer beep and a green LED!
💻 Arduino Code
Upload this sketch using the Arduino IDE
// Mini Burger Bot - MakeMindz Robotics Project #include <Servo.h> Servo turntable; Servo trapdoor; Servo elevator; const int buttonPin = 2; const int buzzerPin = 8; const int greenLED = 7; const int redLED = 6; int slotAngle[6] = {0, 60, 120, 180, 240, 300}; int elevatorAngle = 150; // starts high, lowers after each layer void setup() { turntable.attach(9); trapdoor.attach(10); elevator.attach(11); pinMode(buttonPin, INPUT_PULLUP); pinMode(buzzerPin, OUTPUT); pinMode(greenLED, OUTPUT); pinMode(redLED, OUTPUT); elevator.write(elevatorAngle); trapdoor.write(0); digitalWrite(redLED, HIGH); } void loop() { if (digitalRead(buttonPin) == LOW) { digitalWrite(redLED, LOW); buildBurger(); digitalWrite(greenLED, HIGH); tone(buzzerPin, 1000, 600); delay(3000); digitalWrite(greenLED, LOW); digitalWrite(redLED, HIGH); } } void buildBurger() { for (int i = 0; i < 6; i++) { turntable.write(slotAngle[i]); // rotate to next ingredient delay(600); dropIngredient(); elevatorAngle -= 20; // lower stack a little elevator.write(elevatorAngle); delay(400); } elevatorAngle = 150; // reset for next burger elevator.write(elevatorAngle); } void dropIngredient() { trapdoor.write(90); // open trapdoor delay(500); trapdoor.write(0); // close trapdoor delay(300); }
⚙️ How It Works
When you press the start button, the Arduino runs through all 6 ingredient slots one by one. For each ingredient, the Turntable Servo spins the carousel to the correct angle, the Trapdoor Servo briefly opens to let the ingredient fall onto the stack, and the Elevator Servo lowers the platform slightly so the next ingredient always drops from the same height. Once all six layers are stacked, the buzzer beeps and the green LED lights up to say your burger is ready!
❓ Frequently Asked Questions
Not at all! The Arduino code is ready to copy and upload. Basic robotics projects like this are a great way to start learning code by seeing it in action.
We recommend felt, foam, or paper cutouts for safety and reusability. Real food can stain and damage the mechanism over time.
Each servo controls a different, independent motion — rotating, opening, and lowering. Splitting the tasks makes wiring and code simpler, and it's easier to debug if something goes wrong.
SG90 servos can vary slightly. Test each slot angle individually using a simple test sketch and adjust the values in the slotAngle array until the carousel aligns perfectly.
Yes, a 9V battery with a barrel connector works for the Arduino. However, for smoother servo movement, it's best to power the servos from a separate 5V source rather than the Arduino's 5V pin.
🚀 Upgrade Ideas
🎙️ Voice Orders
Add a voice recognition module so you can say "Cheese burger, no tomato!" and the robot skips that ingredient.
📱 App Control
Use a Bluetooth module (HC-05) to trigger the burger-building sequence from a phone app.
🔢 Order Counter
Add an LCD screen to display how many burgers have been built — like a real shop's order counter!
🎨 Custom Toppings
Add extra carousel slots for onions, sauces, or a second patty for a "double burger" mode.

Comments
Post a Comment