Skip to content
Jens Dyvik edited this page Oct 22, 2018 · 41 revisions

(please help improve this page)

Controll electronics

Control firmware

OctoPrint with Grbl Plug-In (...in progress...)

Required Materials

  • Raspberry Pi
  • Raspberry Pi Wifi Adapter (only needed if you are not using a Raspberry Pi 3 with a built-in WiFi module)
  • Power cord for Raspberry Pi
  • Control Board

What To Do

There is a brief and good tutorial on how to setup OctoPi on the OctoPrint website, a portion of these instructions paraphrase that tutorial.

  • The first step is to download the latest version of OctoPi from the link given above.

OctoPi

  • Unzip the file and install the contained .img file to an SD card. Alternatively, use a flashing program like Etcher.

Etcher

  • Configure your WiFi connection by editing octopi-wpa-supplicant.txt. The file can be found on the root of the flashed card. NOTE: it is important not to use WordPad (Windows) or TextEdit (MacOS X) when editing the file because they can mangle formatting.
    • Enter WiFi network
    • Change country

supplicant

  • Insert the micro SD card into your Pi.
  • Plug in the Pi's power cord.
  • It is now strongly recommended you change the password to your Pi, instructions to do so can be found in "SSH into Pi" below.
  • You can now access the Pi through http://octopi.local.
  • Download plugin on OctoPrint.
    • Go to http://octopi.local -> "Settings" -> "Plugin Manager" (located on left sidebar) -> "Get More" -> search for "Grbl" and download. (You might need to press the settings icon and select "Refresh list from Repository" in order to be able to search)

getMore

  • You now need to change some settings for the Grbl plugin to work.
    • "Settings" -> "Serial Connection" -> "Firmware & protocol" -> Set "Send a checksum with the command" to "Never"

checksum

  • "Settings" -> "Serial Connection" -> "Firmware & protocol" -> Scroll down to "Protocol fine tuning" -> Expand "Advanced options" -> Set "Hello command" to "M5"

helloCommand

  • "Settings" -> "Serial Connection" -> "Behavior" -> "Error handling" -> Set "What to do on a firmware error (Error: or !!)" to "Ignore"

ignore

Other octoprint plugins we recommend

Troubleshooting WiFi

You may encounter some issues connecting to the WiFi network. I recommend troubleshooting by booting the Pi while connected to the network through an ethernet cable.

SSH into Pi

Setting up webcam (..more..)

Other Useful Commands

sudo halt to shutdown Pi

Clone this wiki locally