DIY Arduino Controlled Egg-Bot
by Nikus in Circuits > Arduino
163864 Views, 509 Favorites, 0 Comments
DIY Arduino Controlled Egg-Bot
![DSC01604.JPG](/proxy/?url=https://content.instructables.com/F8D/TRF0/I85QOYNN/F8DTRF0I85QOYNN.jpg&filename=DSC01604.JPG)
![DIY arduino controlled EggBot](/proxy/?url=https://content.instructables.com/FCE/T9EU/I8BGFXEY/FCET9EUI8BGFXEY.jpg&filename=DIY arduino controlled EggBot)
In this instructables I will show you how to make your own Egg-Bot controlled with Arduino. I wanted to make it before but I thought it is too hard for me but I was wrong. It's easy to build so for sure everyone can do it.
Parts
![DSC01333.JPG](/proxy/?url=https://content.instructables.com/FJF/BS17/I4UNPPTT/FJFBS17I4UNPPTT.jpg&filename=DSC01333.JPG)
![DSC01303.JPG](/proxy/?url=https://content.instructables.com/FGO/YAZG/I31C4B1I/FGOYAZGI31C4B1I.jpg&filename=DSC01303.JPG)
![DSC01335.JPG](/proxy/?url=https://content.instructables.com/F5U/X9MX/I5QN2EM4/F5UX9MXI5QN2EM4.jpg&filename=DSC01335.JPG)
![DSC01455.JPG](/proxy/?url=https://content.instructables.com/FV7/E3QS/I7N5YZA3/FV7E3QSI7N5YZA3.jpg&filename=DSC01455.JPG)
Below I add list of parts:
- Stepper motors
- Stepper motor drivers
- Arduino
- Power supply
- Micro Servo
- Plastic plate, wood
- 40cm screws x3 and 12 nuts for it's
- Two lego wheels
- Markers in different colors
- Drill, knife, saw, screwdriver, double-sided tape, wood glue, wire, soldering iron, rubber bands
- Everything you need to make PCB link.
Connection
![eggbot_connection.jpg](/proxy/?url=https://content.instructables.com/FT3/R524/I800X7JS/FT3R524I800X7JS.jpg&filename=eggbot_connection.jpg)
![DSC01288.JPG](/proxy/?url=https://content.instructables.com/FIL/SULG/I31C49EU/FILSULGI31C49EU.jpg&filename=DSC01288.JPG)
Connect it like on fritzing image above or go to the next step and make PCB (printable circuit board). And you must find right settings for potentiometer on stepper motors controller. With this potentiometer you can control voltage that goes to stepper motors. Try to set it that the stepper move is as smooth as it possible.
PCB (optional)
![DSC01640.JPG](/proxy/?url=https://content.instructables.com/FVK/9QW8/I86LSV19/FVK9QW8I86LSV19.jpg&filename=DSC01640.JPG)
![DSC01641.JPG](/proxy/?url=https://content.instructables.com/FRD/EIUQ/I86LSV23/FRDEIUQI86LSV23.jpg&filename=DSC01641.JPG)
![DSC01442.JPG](/proxy/?url=https://content.instructables.com/F0B/WBD4/I7N5YXTM/F0BWBD4I7N5YXTM.jpg&filename=DSC01442.JPG)
![DSC01293.JPG](/proxy/?url=https://content.instructables.com/F26/IHBR/I31C4AIA/F26IHBRI31C4AIA.jpg&filename=DSC01293.JPG)
![DSC01441.JPG](/proxy/?url=https://content.instructables.com/FWG/U7IK/I7N5YXS1/FWGU7IKI7N5YXS1.jpg&filename=DSC01441.JPG)
![DSC01443.JPG](/proxy/?url=https://content.instructables.com/FGI/PEWM/I7N5YXYC/FGIPEWMI7N5YXYC.jpg&filename=DSC01443.JPG)
![DSC01447.JPG](/proxy/?url=https://content.instructables.com/FE2/H7FM/I7N5YYDM/FE2H7FMI7N5YYDM.jpg&filename=DSC01447.JPG)
![DSC01444.JPG](/proxy/?url=https://content.instructables.com/FSB/3BV6/I7N5YY3W/FSB3BV6I7N5YY3W.jpg&filename=DSC01444.JPG)
![DSC01450.JPG](/proxy/?url=https://content.instructables.com/FWD/EFJ2/I7N5YYHJ/FWDEFJ2I7N5YYHJ.jpg&filename=DSC01450.JPG)
Why I made PCB? Look at the image above, it shows how it looks on breadboard. Too many wires. You can easily connect something wrong or something can disconnect itself and you can spoil e.g: stepper motor driver. And on PCB everything looks better, take less place and is reliable in combined. You can read about how to make PCB here. Below I added PDF file with PCB layout. For more info see arduino on breadboard.
Frame
![eggbot.jpg](/proxy/?url=https://content.instructables.com/F6L/V61T/I800W689/F6LV61TI800W689.jpg&filename=eggbot.jpg)
![DSC01352.JPG](/proxy/?url=https://content.instructables.com/FNJ/QTF9/I5QN2ENX/FNJQTF9I5QN2ENX.jpg&filename=DSC01352.JPG)
![DSC01345.JPG](/proxy/?url=https://content.instructables.com/FY2/C06Q/I5QN2EMU/FY2C06QI5QN2EMU.jpg&filename=DSC01345.JPG)
![DSC01356.JPG](/proxy/?url=https://content.instructables.com/FGG/PXEW/I5QN2EPS/FGGPXEWI5QN2EPS.jpg&filename=DSC01356.JPG)
![DSC01335.JPG](/proxy/?url=https://content.instructables.com/F92/6NMH/I4UNPQ1C/F926NMHI4UNPQ1C.jpg&filename=DSC01335.JPG)
![DSC01348.JPG](/proxy/?url=https://content.instructables.com/FMX/1252/I5QN2EN5/FMX1252I5QN2EN5.jpg&filename=DSC01348.JPG)
The frame is made with plastic and some wood. You can see dimensions in sketchup below or in next step.
Downloads
Cutting of the Frame
![DSC01303.JPG](/proxy/?url=https://content.instructables.com/FGO/YAZG/I31C4B1I/FGOYAZGI31C4B1I.jpg&filename=DSC01303.JPG)
![DSC01309.jpg](/proxy/?url=https://content.instructables.com/F5G/ZHFB/I85QORE4/F5GZHFBI85QORE4.jpg&filename=DSC01309.jpg)
![DSC01327.jpg](/proxy/?url=https://content.instructables.com/F7N/V3RN/I85QOX4B/F7NV3RNI85QOX4B.jpg&filename=DSC01327.jpg)
Cut two elements from second picture and one from the third picture. Dimensions are shown in the pictures.
Smoothing the Edge
![DSC01312.JPG](/proxy/?url=https://content.instructables.com/FIB/XQ1A/I4UNPPPD/FIBXQ1AI4UNPPPD.jpg&filename=DSC01312.JPG)
![DSC01318.JPG](/proxy/?url=https://content.instructables.com/FNT/D1L9/I4UNPPQ0/FNTD1L9I4UNPPQ0.jpg&filename=DSC01318.JPG)
![DSC01313.JPG](/proxy/?url=https://content.instructables.com/FRU/U7VJ/I4UNPPPL/FRUU7VJI4UNPPPL.jpg&filename=DSC01313.JPG)
Smooth the edges with sandpaper to make them look better.
Drilling Holes
![DSC01327.JPG](/proxy/?url=https://content.instructables.com/FIP/H4JO/I800X7HW/FIPH4JOI800X7HW.jpg&filename=DSC01327.JPG)
![DSC01349.JPG](/proxy/?url=https://content.instructables.com/FML/87IH/I5QN2EN7/FML87IHI5QN2EN7.jpg&filename=DSC01349.JPG)
Drill holes like on image above. You need to make it very precisely. In the 3 holes at the corners put pieces of aluminum tube.
Pen Arm
![DSC01327.JPG](/proxy/?url=https://content.instructables.com/F6U/0SRN/I4UNPPQQ/F6U0SRNI4UNPPQQ.jpg&filename=DSC01327.JPG)
![DSC01325.JPG](/proxy/?url=https://content.instructables.com/FRP/LVBQ/I4UNPPQJ/FRPLVBQI4UNPPQJ.jpg&filename=DSC01325.JPG)
![DSC01603.JPG](/proxy/?url=https://content.instructables.com/FO9/EUOQ/I85QOYDS/FO9EUOQI85QOYDS.jpg&filename=DSC01603.JPG)
Pen arm is made with wood and plastic. At the end of the arm I made 9mm hole for marker
Connection Frame
![DSC01599.JPG](/proxy/?url=https://content.instructables.com/F57/0Q44/I85QOY1X/F570Q44I85QOY1X.jpg&filename=DSC01599.JPG)
![DSC01604.JPG](/proxy/?url=https://content.instructables.com/F8D/TRF0/I85QOYNN/F8DTRF0I85QOYNN.jpg&filename=DSC01604.JPG)
![DSC01601.JPG](/proxy/?url=https://content.instructables.com/FIZ/5QBH/I85QOY9I/FIZ5QBHI85QOY9I.jpg&filename=DSC01601.JPG)
![DSC01607.JPG](/proxy/?url=https://content.instructables.com/FEF/XWYO/I85QOZ1Q/FEFXWYOI85QOZ1Q.jpg&filename=DSC01607.JPG)
![DSC01598.JPG](/proxy/?url=https://content.instructables.com/FU3/YJIH/I85QOXSO/FU3YJIHI85QOXSO.jpg&filename=DSC01598.JPG)
I hope you understand how to connect all of parts of frame with this photo if you have problems with it, write a comment I will try to help. Everything is connected with screws, double sided tape, glue and wires.
Code for Arduino
Download code for arduino from here. And you need to change few lines:
This:<br>#define YAXIS_DIR_PIN 14<br>#define YAXIS_STEP_PIN 15<br><br><br>To this:<br>#define YAXIS_DIR_PIN 10<br>#define YAXIS_STEP_PIN 11<br>
and
This:<br>#define XAXIS_DIR_PIN 10 <br>#define XAXIS_STEP_PIN 8<br><br>To this:<br>#define XAXIS_DIR_PIN 7<br>#define XAXIS_STEP_PIN 8<br>
and
This:<br>#define SERVO_PIN 13<br><br>To:<br>#define SERVO_PIN 9
Software for Computer
I propose to install original eggbot extension to inkscape because with it you can print filled object. You can read how to download it and how to use here. To make G-code files in inkscape download this extension made by martymcguire. And the last thing to download is a program to sending commands over serial to arduino. Download it here. Now you need to change unicorn extension code. Go to:
C:\program files\inkscape\share\extensions\unicorn\context.py
Add to 29 line this:
<p>"M300 S%0.2F (pen up)" % self.pen_up_angle,</p>
And delete line 39:
<p>"M300 S255 (turn off servo)",</p>
First Painting
![DSC01648.JPG](/proxy/?url=https://content.instructables.com/FFR/2DN5/I8BGGFZL/FFR2DN5I8BGGFZL.jpg&filename=DSC01648.JPG)
![DSC01638.JPG](/proxy/?url=https://content.instructables.com/FYI/AMAV/I85QP7V1/FYIAMAVI85QP7V1.jpg&filename=DSC01638.JPG)
![DSC01651.JPG](/proxy/?url=https://content.instructables.com/F8N/YLYW/I8CVY1PO/F8NYLYWI8CVY1PO.jpg&filename=DSC01651.JPG)
![DSC01631.JPG](/proxy/?url=https://content.instructables.com/FBZ/211N/I85QP7SB/FBZ211NI85QP7SB.jpg&filename=DSC01631.JPG)
![DSC01626.JPG](/proxy/?url=https://content.instructables.com/FAD/G8CY/I85QP0S6/FADG8CYI85QP0S6.jpg&filename=DSC01626.JPG)
This are first eggs that I painted by my eggbot. Effect is no the best because of pen vibration. I all the time try to fix it but I can't do it succesfully yet. Picture on the orange egg is supposed to represent a bear.
Please, if you like my project vote for me. Thanks!!!!
Thanks for reading and sorry for my English :)
Have fun with your EggBot.