Octoprint Setup on OrangePiLite

Introduction: Octoprint Setup on OrangePiLite

What you need

1. OrangePi Lite (https://www.banggood.com/it/Orange-Pi-Lite-with-Quad-Core-1_2GHz-512MB-DDR3-WiFi-Mini-PC-p-1101903.html)

2. USB Keyboard and Monitor with HDMI cable only for first setup

3. Power Adapter for OrangePi Lite (not an USB one as OrangePi Lite as this board doesn’t take power from USB ports)

Step 1: Install Octoprint

1. Download Orange Pi Lite img from here: https://drive.google.com/open?id=0BwPG1so4QBZXSFNz...

2. Burn to your micro SD card with Win32DiskImager

3. Connect a keyboard and connect to a monitor

4. Login using username: root password: octoprint

5. Type the command “sudo cfdisk /dev/mmcblk0

6. Select the partition called "/dev/mmcblk0p1" with the arrow keys and then select DELETE

7. Make a new one that will use the full size of your sd card.

8. Select WRITE and type YES when confirmation is required.

9. Select QUIT and press Enter.

10. Type “sudo reboot” to and wait for the Orange Pi to reboot.

11. Log in again with user root and run the command “sudo resize2fs /dev/mmcblk0p1

12. Type “sudo reboot” to and wait for the Orange Pi to reboot.

13. Log in again and run the command “nmtui”, a network utility will help you to connect to your WiFi network following the instructions.

14. Type “shutdown” to quit and wait for it to turn off.

Step 2: First Access to Octoprint Server

1. Connect OrangePi to your printer with USB cable

2. Login Octoprint Server opening your browser and navigate to orangeocto.local:5000 or to IP address assigned to OrangePi by your router

3. Follow Octoprint step by step setup

4. When in Software Update tab add /home/pi/OctoPrint/ as your git update path.

5. in Webcam & Timelapse tab replace IP address with your own

For more into about Octoprint, http://octoprint.org/

Step 3: Setup Cura (optional)

From version 2.7 Cura slicer (https://ultimaker.com/en/products/cura-software) can directy be connected to Octoprint and directly send cgode to printer.

1. To setup login to octoprint and from Settings and API tab copy API key

2. Then open Cura and go to Preferences Configura Cura… - Printers. Select your printer and press Connect Octoprint.

3. click Add to setup a new Octoprint instance; fill in Name, IP and Port Number, than input API key.

4. Now you can send prints directly from Cura and monitor status and video streaming.

Share

    Recommendations

    • Tiny Home Contest

      Tiny Home Contest
    • Fix It! Contest

      Fix It! Contest
    • Creative Misuse Contest

      Creative Misuse Contest

    6 Discussions

    My OrangePi lite always freezes after more than 10 hrs printing, no heating issue, still can't find the cause.

    0
    None
    gc9n

    5 months ago

    Hey man , nice guide. i follow it and everything is good with a 16gb card , but i have 2 major issues if you can help out.

    1. I got some random freeze mid print , the printer is freeze while is printing , but keeping the temps steady.

    i suspect that when the orange pi looses the connection with the rooter , i get this. Can you confirm?

    2.i cant get new any updates for the octoptring when i hit the update button i get some erros

    1 reply
    0
    None
    gc9ngc9n

    Reply 5 months ago

    this is the error when Updating

    Updating, please wait.+++++++++++++++++++++++++++++++Now updating OctoPrint to 1.3.6+++++++++++++++++++++++++++++++/home/pi/OctoPrint/venv/bin/python "/home/pi/OctoPrint/venv/lib/python2.7/site-packages/OctoPrint-1.3.4-py2.7.egg/octoprint/plugins/softwareupdate/scripts/update-octoprint.py" --branch= --force=false "/home/pi/.octoprint" 1.3.6Python executable: '/home/pi/OctoPrint/venv/bin/python'>>> Running: git diff --shortstat> git diff --shortstatNot a git repositoryTo compare two paths outside a working tree:usage: git diff [--no-index] Traceback (most recent call last):File "/home/pi/OctoPrint/venv/lib/python2.7/site-packages/OctoPrint-1.3.4-py2.7.egg/octoprint/plugins/softwareupdate/scripts/update-octoprint.py", line 313, in main()File "/home/pi/OctoPrint/venv/lib/python2.7/site-packages/OctoPrint-1.3.4-py2.7.egg/octoprint/plugins/softwareupdate/scripts/update-octoprint.py", line 309, in mainupdate_source(git_executable, folder, args.target, force=args.force, branch=args.branch)File "/home/pi/OctoPrint/venv/lib/python2.7/site-packages/OctoPrint-1.3.4-py2.7.egg/octoprint/plugins/softwareupdate/scripts/update-octoprint.py", line 204, in update_sourceif _rescue_changes(git_executable, folder):File "/home/pi/OctoPrint/venv/lib/python2.7/site-packages/OctoPrint-1.3.4-py2.7.egg/octoprint/plugins/softwareupdate/scripts/update-octoprint.py", line 180, in _rescue_changesraise RuntimeError("Could not update, \"git diff\" failed with returncode {}".format(returncode))RuntimeError: Could not update, "git diff" failed with returncode 129


    The update did not finish successfully. Please consult the log for details.

    Domanda da perfetto ignorante in materia... In questo modo stai installando sulla micro-sd direttamente una sorta di server-octoprint, non un sistema operativo (es Armbian) dal quale poi installavi Octoprint, giusto?

    E poi per la telecamera? esiste il modulo da connettere direttamente all'Orangepi lite, ma non è facile trovare info su come impostarlo, tu ne sai qualcosa? :)

    1 reply

    Si installa sia il sistema operativo che octoprint, la comodità dell'immagine gia preparata è che molti settaggi son già fatti in questo modo. Per la camera, basta una webcam usb, io uso una logitech