Introduction: How to Build a Cute Desktop Companion Robot (That Moves, Blinks & Talks!)
Ever wished your desk had a little more personality?
Meet CAKE, an addorable desktop companion robot that combines tech with an irresistible personality. Unlike traditional robots, CAKE specializes in bringing moments of delight to your day with expressive movements, playful interactions, and gentle wellness reminders.
CAKE doesn't just sit there—it rolls, waves, dances to music, displays custom messages, and even reminds you to take water breaks. With its dual mobility system, mood-based LED animations, and intuitive web interface, this little robot packs serious personality into a beautifully designed package that will become the highlight of your workspace.
All packed into a compact, beautifully customizable form.
PCB & 3D printable Design files included!
Firmware version: v1.24
Powered by an ESP32
Designed in Fusion 360
Why build CAKE?
Bring your desk to life with a robot friend that responds to your presence
Stay on track with gentle fitness and hydration reminders
Express yourself by customizing CAKE's appearance and behaviors
Learn robotics through a fun, approachable project that combines hardware, software, and design
Impress your colleagues with your very own desktop companion (that doesn't eat your snacks!)
Features
Dual mobility: Walk or roll mode with real-time switching
Mood modes with eye/LED animation (e.g., happy, angry, curious)
Sticky Notes: Display custom text via the embedded web UI
Reminders: Schedule water breaks or custom alerts
Time/Date: Real-time clock from ESP32 with auto-sync
Joystick control via responsive local web UI
Auto-reconnect on Wi-Fi restart
Battery level display and servo feedback on GUI (updated every 2s)
Speed settings with simple slider
Plays short melodies or sounds (via speaker)
Power-saving: Auto-disable servo torque in "stand" mode
This step-by-step guide will take you from parts to personality in just a few hours, with detailed instructions suitable for makers of all skill levels. Ready to bake your own CAKE?
Let's get started!
CAKE 2.0
Supplies
What You'll Need
Servos: 4x SC09 Serial Servos (Waveshare or equivalent)
Driver: Waveshare Serial Servo Driver Board
Speaker: MAX98357A DAC with any small Speaker
Display: 2.4" OLED
Lights: Neopixel led Strip
Microphone: INMP mic or I2S (mic included, not yet functional in v1.24)
Proximity: ADPS9960 (gesture / ambient light. not yet functional)
Battery: 2S LiPo 2500mAh or equivalent
Charging: USB-C Charging module and Buck Converter (5V rails)
Mini Buck Converter (5V rails)
Connectivity: Wi-Fi AP Mode (ESP32 (no internet required)
Spray Paint of your choice (I use Dark blue, matt black)
And some inner engineering soul with common sense.. etc.
Tools & Materials
3D printer (PLA or PETG recommended)
Soldering iron and solder
Wire cutters/strippers
M3 screws ( 10mm)
Spray paint (optional for custom finish)
Double-sided tape or adhesive
Heat shrink tubing
Basic hand tools (screwdrivers, pliers)
Pro Tip: While exact components are listed, many can be substituted with equivalents. However, if you plan to use the provided PCB design, stick to the specified components for compatibility.
Step 1: Gather the Components
Collect all the mentioned components listed above.
Its not necssarily this components if you can procure them.. you can choose any other similar or equvivalent compotnents.
The exact components are required if You are going on... with PCB (PFA).
Step 2: Download & 3D Print the CAKE Parts
The heart of CAKE's aura is its carefully designed chassis that enables both its expressive movements and adorable appearance.
Printing Specifications
- Resolution: 0.2mm layer height (0.16mm for even smoother finish)
- Material: PLA or PETG (PLA for beginners, PETG for durability)
- Infill: 20% for body parts, 40% for mechanical components
- Support: Required primarily for arm/wheel connections
- Print Time: Approximately 6-10 hours total across all parts
Essential Components to Print
- Head Lid
- Head with mounting points for OLED
- Wheel caps (2x) - choose between standard or enhanced grip design
- Feet (1x)
Finishing Touches
For a professional look, consider these optional but recommended finishing steps:
- Sand key visible surfaces starting with 220 grit, then 400 grit for smooth transitions
- Prime with plastic-compatible primer (1-2 light coats)
- Paint with spray paint of your choice (I used dark blue for body, matte black for wheels)
- Seal with clear matte coating for durability
Designer's Note: The dark blue and black color combination gives CAKE a modern, tech-forward look, but feel free to customize with colors that match your workspace aesthetic!
STL files for the chassis, shell, and wheel clips: Download from GitHub / also attached it here. (PFA)
Attachments
Step 3: Order the Custom PCB
While you can build CAKE using point-to-point wiring, the custom PCB dramatically simplifies assembly and increases reliability. The PCB handles all the complex interconnections between components and includes mounting points perfectly matched to the 3D printed chassis.
PCB Specifications
- Layers: 2-layer board
- Dimensions: 60mm × 40mm
- Thickness: 1.6mm standard
- Finish: HASL or ENIG (either works fine)
Ordering Process
- JUST find the gerber file form my github
- Upload to your preferred PCB manufacturer (PCBWay, JLCPCB, etc.)
- Select quantity (3-5 recommended in case of mistakes)
- Choose standard options (2-layer, 1.6mm, etc.)
- Total cost is typically around $5-10 plus shipping
Money-Saving Tip: Many PCB manufacturers offer first-time customer discounts. Also consider bundling with other projects to save on shipping!
While You Wait
The PCB typically takes 1-2 weeks to arrive - the perfect time to gather the remaining components and print your chassis!
Step 4: Assemble Body
- Mount the OLED display in the head cavity with rubber based adhesive
- you will need M3screws to connect head and lef.
- lid is snap fit .. but you can also opt for tightning it with m3 screws.
- I will suggest you to stick the (circular attachment which comes with servo) on the wheel.
- its the best method and easily removable while working with it.
- Glue a red wire or a rubber gascket around the wheel for grip and looks.
- Fit servos on feet and wheels with screws.
- Dont forget ot mount leds.. it should be glued facing botton.
Precision Tip: Before final assembly, test the fit of each servo in its mount. A drop of light machine oil on mechanical joints will ensure smooth movement for the life of your CAKE!
Step 5: Assemble Hardware
This is where CAKE begins to come alive! Follow these steps carefully to ensure all electronics work properly.
Servo ID Configuration
Critical Step: Before connecting to the junction board, each servo needs a unique ID:
- Use the the attached code to ping and set ID to each servo
- Assign IDs as follows:
- ID 1: Left arm/foot
- ID 2: Left wheel
- ID 3: Right arm/foot
- ID 4: Right wheel
- Connect servos to junction board and driver
- Mount speaker, mic, OLED, Neopixel, and ADPS to ESP32
- Power ESP32 (2) via regulated 5V from the buck converter
- Install the battery and toggle switch
- Optional: wire headphone jack for alternate audio output
- I had attached schematics of pcb.
PFA: A detailed connection table is available in the GITHUB repo
^you will need to ping and set if to each servo individually by connecting it one by one to the driver.
Pro Wiring Tip: Use different colored wires for power (red), ground (black), and signals (various colors) to make future maintenance easier. Label any non-standard connections!
Attachments
Step 6: Flash Firmware
Flash using Arduino IDE / Arduino Cloud
(Validated and uploaded with arduino IDE 2.3.6) / (Arduino Cloud)
There are 2 separate code (.ino) files for ESP1 and ESP2
(Some preview..)
On first boot:
- servo move to neutral
- Wheels (2/4) move to stand pose
- Torque turns off after 1 second
- Battery and servo feedback start updating
Step 7: Calibrate & Test
Let's get to know CAKE's controls and customize it to your preferences!
Connecting to CAKE
- On your smartphone or computer, connect to the WiFi network:
- SSID: CAKE_ROBOT
- Password: 12121212
- Open a web browser and navigate to: 192.168.4.1
- The CAKE control interface should appear
Basic Controls
The intuitive web interface gives you complete control:
- Movement:
- Directional pad for forward/backward motion
- Tilt controls for expressive movements
- Speed slider to adjust movement rate
- Expressions:
- Toggle between Happy, Curious, Sleepy, or Angry eye animations
- Custom animation sequences for special occasions
- LED Control:
- Color picker for static lighting
- Animation modes (pulse, rainbow, mood-based)
- Brightness control
- Sticky Notes:
- Enter custom text messages to display
- Schedule messages to appear at specific times
- Choose from preset encouraging messages
Wellness Reminders
CAKE can be your wellness buddy too:
- Set hydration reminders (30-90 minute intervals)
- Create custom reminders for medications or other needs
Step 8: Use the Web Interface
Controls:
- Motion: Forward/backward, tilt left/right
- Eyes: Angry, happy, sleepy modes
- LEDs: Pulse, static, or mood-based colors
- Reminders: Set timer-based alerts
Step 9: Enjoy Your CAKE Robot! 🍰
Congratulations on creating your very own CAKE desktop companion! From a collection of parts to an adorable, interactive robot friend, you've completed a project that combines electronics, programming, and design into something truly special.
CAKE is designed to grow with you - as your skills improve, you can enhance its capabilities with new features and customizations. We can't wait to see how your CAKE becomes part of your daily routine and workspace!
Experiment with animations, add sensors, or program new behaviors via the web interface!
Future Development
The CAKE project is constantly evolving! Coming soon:
- Voice control capabilities
- Advanced gesture recognition
- Multi-CAKE synchronized movements
- Mobile app control interface