FINALLY, A use FOR OLD CELLPHONES
In what is now a three-year long search, I’ve finally found the best use for an old cellphone. and with it, the answer to a burning question: Why aren’t we hacking cellphones?
First, the application. The Octo4a project lets you use an old Android phone as a 3D printer server, web interface, and even time-lapse cam to make those great motion pictures where the print seems to grow up out of nothing before your eyes. It’s the best application for an old phone, making use of the memory, WiFi, graphics capabilities, and even the touch-screen if you want local control of your prints.
Connecting to the phone was the main hurdle that I’ve always seen in developing for cellphone projects, because I have robotics applications in mind. but Octo4a gets around this with low or no effort. a lot of 3D printers are created to run on USB anyway, so connecting it to the phone is as basic as getting a USB OTG cable. With the USB port taken over, powering the phone long-run becomes a tiny problem, which can be fixed with a Y-cable or a little solder. keep the OS from going to sleep, somehow, and it’s problem solved!
But here’s why this isn’t a solution, and it points out the deeper problem with cellphone hacking that lots of pointed out in the comments three years ago. Octoprint is written in Python, and because of this is very easy to write extensions for and to hack on, if that’s your thing. When I first saw Octo4a, I thought “oh great, a working Android Python port”. then I went to dig into the code.
Octo4a is written in Kotlin and uses the Gradle framework. It’s a complete port of Octoprint, not just to a different platform, but to a different programming language and to an nearly entirely different programming paradigm. My hat is off to [feelfreelinux] for doing it, but my guess is that the community of other people fluent enough in Kotlin and Python to help port across upstream changes in Octoprint is a lot smaller than the community of Python programmers would have been. Octo4a is a great project, but it’s not a walk in the park to develop on it.
So all of you who wrote in the comments to my previous piece that it’s the Android software ecosystem that’s stopping phone reuse, well here’s the exception that proves your rule! A dedicated and talented, multi-lingual developer community could pull it off, but the hurdle is so high that few will rise to it.
Anyway, thanks [Feelfree Filip] for your great work! I’ll be putting this on my old S4.
This post is part of the Hackaday.com newsletter, delivered every seven days for each of the last 200+ weeks. It also includes our favorite articles from the last seven days that you can see on the web version of the newsletter.
Want this type of post to hit your inbox every Friday morning? You must sign up!