Configuring OctoPrint on an Orange Pi Zero – using Armbian Debian Jessie Distro

This is the second half of setting up an Orange Pi Zero.  These are the steps I followed to configure Octoprint.  I’m annoyed that it has to be started manually, but it does work and stay running.

—- OctoPrint Config —- (adapted from
**add user and configure permissions
sudo adduser octoprint
sudo usermod -a -G tty octoprint
sudo usermod -a -G dialout octoprint
sudo adduser octoprint sudo
sudo visudo

**clear password for user
sudo passwd octoprint -d
** install packages
sudo apt-get install python-pip python-dev git python-setuptools psmisc

set memory on Python otherwise you can have issues: (or create 256M of swap, see above)

sudo su octoprint

** setup pyserial
cd ~
tar -zxf pyserial-2.7.tar.gz
cd pyserial-2.7
sudo python install

** Obtain Octoprint
cd ~
git clone
cd OctoPrint
sudo python install

exit (stop being SUDO)

cd ~/OctoPRint (you should still be there, so this is just in case you did something else)
./run (it should start)


3D Scanning – BQ Ciclop kit ordered

I have realized that I would benefit from having a 3D scanner. I ran across the BQ Ciclop scanner. What a great open source company. BQ Systems You can read about the project on the link.

I purchase the electronics and metal bits part of the kit for $156 including shipping from AliExpress. This is about half the cost on eBay and less still than Amazon.

I’ve read really good things about the scanner and it’s really a novel idea. I’m not terribly amused with the shield and board design and may pay it forward by redesigning that later.

For the time being I’ll kick back and wait for the kit to get here. When it does I’ll create some videos and reviews of it. Here is a picture of what is supposed to be in the kit.
The images of the kit are quite good…. It’s either a darn good copy of BQ’s board or a nicely manufactured Chinese version. Their ZUM scan ought to be combined into a Arduino board though….

The 3D parts can be downloaded from Thingiverse. I think I’ll print it in Translucent Blue PLA, which I have on-hand. 🙂

3d Try Try Try Again

On the one hand, 3D printing holds out the promise of design it today, get it tonight. Somewhere along my toolchain I need to account for the shrink factor. Plastic shrinks when you heat it, extrude it, and cool it. ABS shrinks more than PLA. Fusion 360 (aka F360) thinks I’m working with Steel. In theory I could change the material, but I’ve been tweaking this design for so long that I’m not about to introduce a major change. I’m printing version 23, try number 2 right now. Try number 1 came off the print-bed. This normally indicates that it is time to spray some more “ABS Juice” which is simply ABS dissolved in Acetone. It creates a thin layer of plastic on the glass that allows the ABS being extruded to bond to it.

My particular project is probably about as complex as it gets because I want to control the outer and inner dimensions to create a friction fit on the outside and the inside. The outer friction fit needs to grab the tie-rod end and the inner friction fit needs to grab the ball stud. The combination gives me a way to rehab the 30 to 40 ball joints on my motorhome. All of which raises the observation that these iterations take lots of time. Just one more reason that 3D printing is probably not the future of Manufacturing, at least not in it’s current form. It is a great solution to custom or long-tail manufacturing. It’s also a great solution for niche problems, hobbyists, and tinkerers. I will be using it extensively for my circuit enclosures. I see it as one more value add that I can attach to an open source hardware project. The firmware, the board design, and the enclosure design available in case someone wants to leverage them.

In other news, my Prusa i3 RepRap printer has been performing flawlessly. I’ve been giving it a good workout this week. The Chinese linear bearings are a bit suspect, but I think a little 3-in-1 oil will keep them working good. I actually think a dry lube like Wonderlube would probably be better for them.

I’ve been looking at the 3D scanning arena as well. Ciclops from Spanish company BQ is a pretty neat solution. It’s a rotary table 3D scanner that you can build for around $150-$250. It uses 3D printed parts, some threaded rod, a Logitech C270 camera, a couple of laser line units, and an arduino to produce “dot cloud” scans. They even have some free software called Horus to go with it. The biggest issue I see with the whole design is that it leverages a quasi-custom Arduino with a stepper driver shield. I think this is clumsy and for projects like this it would be better to custom design a single board. It’s very tempting to design the board, build one for myself and release the design. Of course that shoots the whole “cheap 3d scanner” in the foot. There is nothing cheap about board design and iteration. However, when you install an Arduino in a permanent solution I think it should be on a dedicated hardware board. This eliminates the opportunity for bad contacts and makes it smaller.

3d printing

I decided to purchase and build a 3d printer. I acquired a Prusa i3 RepRap series open hardware kit from Prusa Research. Overall it’s a nice kit that leveraged the open manual based Dokazuki.

For software I’m using Autodesk’s Fusion 360 which is free for Hobbyist and Startup use. Just click “download trial” and then you can register for startup/hobby use.

I did decide to purchase Simplify3D because I wanted more control over my models than slic3r offers.

At the end of the day 3d printing is simply 5 axis CNC.

Right now I’m using it to make some parts for my RV. You can read more about that at I’ll eventually use the printer to build enclosures for some of my electronics projects. I’m almost ready to start selling boards and working on electronics again. I’ve been working on a house remodel that seems to have become a second career.