How to Embed a Raspberry Pi Into Your EggBot

by crgfrench in Circuits > Raspberry Pi

104980 Views, 176 Favorites, 0 Comments

How to Embed a Raspberry Pi Into Your EggBot

IMG_7069.JPG
Build an egg-coloring robot that is completely independent of external computers by embedding a Raspberry Pi into the EggBot chassis.

Build an EggBot From an Evil Mad Science Laboratories Kit

IMG_4447.JPG
IMG_4446.JPG
IMG_4454.JPG
IMG_4451.JPG
IMG_4449.JPG
IMG_4453.JPG
Purchase an EggBot kit from Evil Mad Science Laboratories online, follow the instructions at http://wiki.evilmadscientist.com/The_Original_Egg-Bot_Kit to build it. Alternatively if you're a real hacker, build one from scavenged printer parts.

Obtain a Raspberry Pi Computer Board

IMG_7075.jpg
Purchase a Raspberry Pi computer from Element 14 online. In this Guide I used a Raspberry Pi model B with 512MB ram.

Obtain Some Eggs

IMG_7073.JPG
Purchase a dozen large, extra large or jumbo eggs. Alternatively if you live on a farm, just collect them from the henhouse.

Test the EggBot Using Your Regular Computer

IMG_7072.JPG
Test the Egg-Bot by connecting the USB port to your computer and running the EggBot extensions in Inkscape. The EggBot comes with a microcontroller board you will install on the headstock.

Drill Mounting Holes

IMG_7080.JPG
Now, free the EggBot from external computers! Mark out and drill 2 mounting holes for the Raspberry Pi in the tail stock of the EggBot. Be careful not to inhale the fiberglass dust from drilling.

Install Mounting Bolts

IMG_7079.JPG
Insert bolts through the 2 holes. I used some spare motherboard standoffs from another computer build.

Install the Raspberry Pi Onto the EggBot

IMG_7078.JPG
Mount the Raspberry Pi on the bolts or standoffs you installed on the tailstock. The HDMI port should be several millimeters above the table surface.

Secure the Pi Onto the Bolts

IMG_7077.JPG
Secure the Raspberry Pi to the EggBot by gently tightening nuts onto the bolts or standoffs. The RCA video jack will face up, offset from the spring-loaded egg cup axle. The Pi SD card faces front.  The illustrated method uses the RCA video out on the Pi; if one wanted to use HDMI instead just flip the pi over and drill tailstock holes in the appropriate places (with the SD card facing the rear of the chassis).  Mounting a Pi on the tailstock only allows one video out port (RCA or HDMI) to be feasibly used since the other will be facing the ground without clearance for a plug.

Connect All Raspberry Pi Connections

IMG_7071.JPG
Connect a TV to the RCA output; connect a keyboard and mouse to one Pi USB port; connect the other Pi USB port to the EggBot's micro USB port; insert the Pi SD card; connect 5VDC Pi power source.

Install the Inkscape and EggBot Software

IMG_7081.JPG
Install Inkscape with the terminal command "sudo apt-get install inkscape" (The Pi will need to be connected to your network via Ethernet for downloads). Install the EggBot extensions from EMSL.

Use the Raspberry Pi-hacked EggBot

IMG_7070.JPG
With your Pi-powered EggBot connected to keyboard, mouse, and TV (but no external computer), decorate your eggs using the EggBot Inkscape extensions.

Share Your Decorated Eggs

IMG_4526.JPG
Happy Easter!