Ostern 2022 - Eine kleine Maschine zum Verzieren von Ostereiern

Every year the tradition stands on to paint easter eggs. There are countless possibilities and variants to provide the eggs with patterns and ornaments. What if we choose a picture and could use it in a short time as a decoration for one of these eggs? With this project we will build a small but useful machine for decorating Easter eggs yourself, the Eggbot. We will be able to transfer pictures or drawings to an egg

With a felt-tip pen and a few components, the necessary sketches and applications, which are also completely free, we can build our EGGBOT machine and also use them for decorating cylindrical parts. First, we will list the necessary components for the production, so we start with it.

Required materials:


Mega 2560 R3 Board with ATMEGA2560 with USB cable


28BYJ-48 Stepper motor with ULN2003 driver circuit board


MB 102 Breadboard Kit


Jumper wire cable 3 x 40 pcs. per 20 cm M2m / F2M / F2F


3mm thin wood blanks



Suction cups or rubber papers for holding the ice

Required software:


In this case, the parts of Balsaholz were made to make changes. The servomotor that holds the marker was originally installed on the left side of the front of the arm. But it happened the opposite of what he should. When he should raise his arm, he lowered him. The solution was to put the egg under his arm. To the
Happiness is enough space. So remember to place the servo on the right side.

Download drawing

Circuit and installation instructions for the required applications

The electronic structure of the components is as follows:

Download the circuit

The basic idea of ​​the device is the same, based on the 3D printer. In the Inkscape application we charge a drawing, which is then translated into a GCODE file with coordinate data and is sent to our microcontroller. This converts the steps that the motors have to perform to position the pen so that it can draw. The program we need to load into our microcontroller to transform these coordinates from the GCODE file into the steps for the engines is Eggduino. It contains the necessary libraries with the methods for carrying out transformation. We now connect the components, install in the device and allow the software to install our project for life.

You may need to install the right driver for the microcontroller first. To do this, download the CH341Ser file (see the above list, depending on the operating system), unpack them and install the driver. It is needed for microcontrollers with the CH340G USB / TTL converter chip.

The next software you need to download is Eggduino. Unpack the ZIP file, start the Arduino IDE and download the sketch Eggduino.ino. On the screen, some tabs with the names of the required libraries can be seen. There are the different methods required for the conversion of the coordinates to the engine steps. Thus, the information obtained by the InkScape application is converted into positions. Upload the program to the microcontroller. We are getting closer.

The next software we need to download is "Software_inkcape+extension.zip"In this file, the necessary drivers are already included for using and controlling our device. We unpack the file and the Inkscape folder appears. To execute the software, we do not have to install anything, but only perform the" Inkscape "file.

Once the application is open, we need to open the template for our device, which we via the file template Eggbot File -> Template -> Eggbot to do.

The stencil opens to use the desired drawing. We always have to place you within the field, as this is the dimensions of the range of the egg in which it should be drawn.

After we have made all necessary adjustments to the drawing, we need to install the marker in our EGGBOT and set the marker holder completely vertically, as this will be the central position of our drawing. When everything is done, marker and egg installed, select Extensions -> Eggboot -> Eggbot Control ....

A small EggBot control window will appear where we have to click Apply. If everything went well, after a few seconds the device will start drawing until it finishes the loaded image.

IMPORTANT NOTE: I built the Eggbot with the Mega R3 Atmega2560 microcontroller from AZ-Delivery, because with the UN microcontroller I get the error shown above. Although the EggDuino sketch is loaded, but communication with Inkscape fails. If this error occurs, you must first check the name of the port in the Windows Device Manager, to which our microcontroller is connected and change it in line 52 of the ebb_serial.py file from Inkscape. Instead of USB Serial CH340, write the name that appears in the device manager. I did that, but the error message is still there. When I joined the Mega and checked the connection name, the name of the USB Serial CH340 port appeared in the device manager. Therefore, I took the assembly with the mega.

It should not surprise that the drawn lines are not continuously and seemingly incomplete. At the end of the process, the entire drawing should be visible.

If we want to paint eggs we do not have to throw away, we can produce them from plaster. Kids Joy ™ eggs we have the perfect shape for it. We eat the chocolate, add the two parts together and already we have the shape for our eternal gypsum. If it is dried, we can decorate it. Perfect, right?

Alternatively to the wood variant you can also have one 3D printer use. Make sure that the correct brackets are included for the stepper motors.

We hope that this project has aroused your interest and that you have fun to give away decorated eggs and possibly also eat the chocolate of the dimensional specification.

We wish you a happy Easter

Source of the eggbot


For arduinoSpecials


Andreas Wolter

Andreas Wolter

Der originale Quellcode muss (wie bereits erkannt) an einigen Stellen an die hier verwendeten Komponenten angepasst werden. Wir haben den geänderten Quellcode im Text verlinkt und einen Hinweis hinzugefügt.

Danke für die Informationen.

Andreas Wolter

Simon Kellner

Simon Kellner

Hallo Andreas Wolter,

Ich vermisse den “PENCIL SERVOMOTOR” in Deiner Beschreibung.

Folgende Änderung in “Helper_Functions.ino” musste ausgeführt werden:
void initHardware() {
// enable eeprom wait in avr/eeprom.h functions

Mit freundlichen Grüßen
Simon Kellner

Andreas Wolter

Andreas Wolter

@Bernd Hutschenreuther:
ich habe dazu folgende Nachricht vom Autoren des Blogs bekommen, die ich an Sie weiterleiten soll:

Guten Morgen Bernd Hutschenreuther,
keine Frage ist dumm. Das mit dem Ei ist mir auch schon passiert und es lag daran, dass die Halterung, die keinen Motor hat, keinen ausreichenden Druck ausübte und der Stiel nicht richtig ausgerichtet war und sich verklemmte. Auch wenn er eine Feder hatte, so dass sich das Ei nicht richtig drehte und manchmal stehen blieb.

Um zu prüfen, ob die Motoren in Ordnung sind, versuchen Sie die Maschine mit der Zeichnung, die Sie drucken wollen, aber ohne das Ei. Sie werden sehen, wie es funktioniert, wenn die Motoren richtig arbeiten, ohne Sprünge. Sind die Grenzen des Stiftarms korrekt, dann ist es die Einstellung der Zeichnung in Inkscape.

Wir hoffen, wir haben Ihnen geholfen. Mit freundlichen Grüßen,
Miguel Torres Gordo

Bernd Hutschenreuther

Bernd Hutschenreuther

Hallo, ich habe eine kleine dumme Frage:
Ich habe die selbe Schaltung verwendet, aber das Gehäuse habe ich mit deiner 3D-Druck-Version gebaut. Bei mir driftet die Synchronisation langsam weg. Nach längeren Strecken wird der “Nullpunkt” nicht mehr erreicht.

Das betrifft komplexere Bilder.

Das Ei selbst scheint festzusitzen.

Kann es an den Motoren liegen? Sie sollten eigentlich durch die Digitalschaltung völlig im Raster laufen.

Es ist kein großes Problem, denn bei “normalen” Mustern spielt es keine Rolle.
Im originalen Eggbot werden ja größere Schrittmotoren verwendet (Siehe Quelle des EggBots im Originalbeitrag)

] by [url=https://www.flickr.com/photos/116228447@N06/]Bernd Hutschenreuther[/url], auf Flickr


Wie kann ich feststellen, ob es ein mechanisches oder ein elektronisches Problem ist? Geht das überhaupt?

Leave a comment

All comments are moderated before being published

Recommended blog posts

  1. Install ESP32 now from the board manager
  2. Lüftersteuerung Raspberry Pi
  3. Arduino IDE - Programmieren für Einsteiger - Teil 1
  4. ESP32 - das Multitalent
  5. OTA - Over the Air - ESP programming via WLAN