Pretty Cool use of Octoprint

Talk about the web based OctoPrint controllers
Post Reply
User avatar
lightninjay
Printmaster!
Posts: 289
Joined: Sun Jul 13, 2014 12:49 am
Location: Tampa, Florida

Pretty Cool use of Octoprint

Post by lightninjay »

Hey guys, so I have been fiddling around with a rather different and unorthodox way of controlling my printer and making it wireless.

A few months back I was purchasing a new cell phone to replace the one I had at the time. I made a mistake, purchasing an international Nexus 5X instead of the U.S. variant that would work with Verizon.

Thus, I now have a new development device to do fun things with! I used an android application known as Linux Deploy to install Arch Linux into a chrooted environment which can be VNC'd into. Once I had accomplished that, I loaded Octoprint into Arch Linux, purchased a USB C OTG cable in order to allow my phone to be connected to the printer, and then fiddled with file permissions on the serial device /dev/ttyACM0 (which on linux turns out to be used for our printer communications over USB).

The end result looks a lot like this.
This is me VNC'd into the phone's Arch Linux ARM environment, from my Arch Linux x64 environment on my desktop.
This is me VNC'd into the phone's Arch Linux ARM environment, from my Arch Linux x64 environment on my desktop.
With this setup, I essentially have an entire computer operating system that can be embedded within my 3D printer, giving it access to cellular networks and wifi networks for connection to it.

Totally overkill when a Raspberry Pi could be used, but this was a device I had laying around that I wanted to see if it was capable of driving my printer.

EDIT:
I forgot to mention that my intention is to use the phone as a remote server that I can remote into and control the printer. It can be accessible either with a display mounted to the front of the printer, or by a handheld device. The phone itself can actually VNC to its own chrooted environment, and be mounted on the front of the printer as well.

It is meant to be a versatile solution which can be configured for many different uses. just about any old smartphone that you have lying around which has OTG (USB hosting) capabilities can be used. The only other gotcha, is to make sure that your phone is capable of utilizing loop devices to run Arch Linux or any other Linux environment you want.

If you have any questions, I'll do my best to explain.
If at first you don't succeed, you're doing something wrong. Try again, and if it fails again, try once more. Through trial and error, one can be the first to accomplish something great.
User avatar
DeltaCon
Printmaster!
Posts: 616
Joined: Sat Nov 14, 2015 5:01 am
Location: Wessem, The Netherlands
Contact:

Re: Pretty Cool use of Octoprint

Post by DeltaCon »

That's nice, especially if you're into Linux.
It takes the hassle out of designing a housing solution for the RPi ;-)
I am DeltaCon, I have a delta, my name is Con, I am definitely PRO delta! ;-)
Rostock V2 / E3D Volcano / FSR kit / Duet 0.6

PS.: Sorry for the avatar, that's my other hobby!
User avatar
briankb
Printmaster!
Posts: 106
Joined: Thu Jun 13, 2013 11:50 am
Location: North Florida - USA
Contact:

Re: Pretty Cool use of Octoprint

Post by briankb »

Awesome hack, thanks for sharing!
- CNC's: Rostock Max upgraded to v3.2, Prusa i3 MK3 MMU, Formlabs Form SLA, Shapeoko3 CNC, Palette+, Palette 2 Pro
- Software: Fusion 360, SpaceClaim Engineer, Simplify3D, Repetier Firmware & Host, VCarve Pro
Post Reply

Return to “OctoPrint”