Astroprint and Raspberry Pi 3

How to build an Astrobox with a Raspberry Pi 3 for 3D Printing

Introduction

As you know, we have discontinued the pcDuino based Astroboxes and have switched to Raspberry Pi 3 as the primary method of creating an Astrobox.

This is a brief guide on how to create an Astrobox using a Raspberry Pi 3.

If you are not interested in creating your own Astrobox, you can buy a Raspberry Pi 3 Astrobox kit directly from us when it becomes available.

You can skip steps #2 and #3 if you buy a pre-flash SD Card from us.

Let’s get started.


Step 1: Gather supplies.

Astroprint and Raspberry Pi 3: How to create an Astrobox with Raspberry Pi 3

 

What you’ll need:

  1. A Raspberry Pi 3
  2. Edimax EW-7811Un Wi-Fi USB Adapter — (Why do I need an extra dongle?)
  3. 8GB Class 10 MicroSDHC Memory Card (try to get a class 10 card)
  4. 5V 2.5A Power Supply (make sure it’s 5V and 2.5A)
  5. Raspberry Pi 3 Case (optional – you can also 3D Print a case)
  6. A free AstroBox Image to install into your Raspberry Pi 3

Total Estimated Cost: $65 USD

Note about #2: If you don’t need hotspot functionality, it is possible to use a Raspberry Pi 3 without an extra WiFi dongle – You’ll need to be aware of the Astrobox’s IP address while you set it up for the first time using Ethernet though. (Not covered in this guide)

Optional Materials (not listed in the picture above)

Cameras: If you are interested in remotely monitoring your 3D Printer, you’ll need a camera for your Astrobox.

These are the ones we have tested and can recommend:

Got a Raspicam? Support for Raspicam is currently experimental but should mostly work. Remember to activate your camera using raspi-config.


Step 2: Download an Astrobox Image

(Skip this step if you buy a Pre-Flashed SD Card from us)

First, download an Astrobox Image from the downloads section.

Astrobox Raspberry Pi 3 Image

Optional: In order to check the integrity of the image, you can check the MD5 checksum listed on our downloads page against the file you just downloaded. (How do I do that?)

After it’s done downloading, extract the contents of the zip file into a directory.

You should end up with a file ending in .img, like so:

Raspberry Pi 3 Astrobox Image

For our purposes, all we need is the .img file.


Step 3: Flash/Install the Astrobox Image into your microSD card.

(Skip this step if you buy a Pre-Flashed SD Card from us)

During this step, our goal is to install the Astrobox image we downloaded earlier into the Raspberry Pi 3.

The successful completion of this step is the most critical in this guide.

  • Download and run Etcher for your operating system.
  • Select the .img file obtained in the previous step
  • Select the SD Card where you want the image to flashed.

Etcher will flash and verify the SD Card. Looks good? Great.

If not, you might need to repeat the flashing process above. Also, check the MD5 checksum in Step #1 to verify the integrity of the image.

Let’s move on to the next step.


Step 4: Astrobox Setup

Presuming you have successfully flashed the Astrobox image into your Rasperry Pi 3, the final step is to simply configure your Astrobox.

The best method to accomplish this is to first connect to your Astrobox via it’s own WiFi hotspot.

Decided not to use a WiFi dongle? If you chose not to use the additional WiFi Dongle, you’ll need to know the Astrobox’s IP address in order to access it over the browser. (not covered in this guide)

First, go ahead and plug in the microSD card into the Pi

Raspberry Pi 3 Astrobox via AstroPrint
Second, make sure your Edimax Wi-Fi Adapter is plugged into the Pi.

Then, simply power it on.

AstroPrint's Astrobox on Raspberry Pi 3

 

After several minutes, you should see a hotspot in the format of astrobox-XXXX in your WiFi manager. You don’t NEED a laptop/desktop computer to do this by the way — a smart phone would suffice.

Go ahead and connect to the Astrobox WiFi hotspot

Astrobox Hotspot on a Raspberry Pi 3

Then head to http://astrobox-1085.local/ or http://10.10.0.1 to complete the setup.

Note: Replace 1085 with the 4-digit astrobox number you see on your hotspot list.

The setup should be fairly straightforward from this point on.

If you need a visual aid, follow this video starting from 1:01:

If you have any question(s) or need clarification on a certain step or process, you can ask us on the forums.

Our final product allows us to simply plug into a 3D Printer and have the ability to manage it remotely using the AstroPrint Cloud Platform.

Cool huh?

#

 

Share: Share on FacebookTweet about this on Twitter