-
-
Notifications
You must be signed in to change notification settings - Fork 35
Electronics
Jens Dyvik edited this page Oct 22, 2018
·
41 revisions
(please help improve this page)
- Our very own GRBL shield for fabricatable machines
- 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
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.
- Unzip the file and install the contained .img file to an SD card. Alternatively, use a flashing program like 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
- 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)
- 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"
- "Settings" -> "Serial Connection" -> "Firmware & protocol" -> Scroll down to "Protocol fine tuning" -> Expand "Advanced options" -> Set "Hello command" to "M5"
- "Settings" -> "Serial Connection" -> "Behavior" -> "Error handling" -> Set "What to do on a firmware error (Error: or !!)" to "Ignore"
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.
- Hook Raspberry Pi up to the network using an ethernet cable.
- SSH into Pi
- Check network
- Change WiFi settings
- Useful Links
- Log into the Pi via SSH.
- Enter "ssh [email protected]" into your terminal window. PICTURE
- The default username is "pi" and the default password is "raspberry".
- NOTE: It is recommended that you change the password using the passwd command.
- Also can change password with sudo raspi-config.
- https://www.raspberrypi.org/documentation/remote-access/ssh/
sudo halt to shutdown Pi