Pretty Cool use of Octoprint

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

Pretty Cool use of Octoprint

Postby lightninjay » Sat Aug 27, 2016 8:55 pm

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.
OctoprintARM.png
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: 604
Joined: Sat Nov 14, 2015 5:01 am
Location: Wessem, The Netherlands
Contact:

Re: Pretty Cool use of Octoprint

Postby DeltaCon » Mon Aug 29, 2016 7:34 am

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 V6 / Raymond Style Heatchamber on the way!

PS.: Sorry for the avatar, that's my other hobby!

User avatar
briankb
Printmaster!
Posts: 103
Joined: Thu Jun 13, 2013 11:50 am
Location: North Florida - USA

Re: Pretty Cool use of Octoprint

Postby briankb » Wed Nov 16, 2016 10:53 pm

Awesome hack, thanks for sharing!
- CNC's: Prusa i3, Orion Delta, Max v3, Shapeoko2 CNC (in progres...), Shark Mako Edition CNC (working)
- Software: Fusion 360, SpaceClaim Engineer, Simplify3D, Repetier Firmware & Host


Return to “OctoPrint”

Who is online

Users browsing this forum: No registered users and 1 guest