My Shapeoko Version 1 to Version 2 Conversion Adventures

whole machine Forgive this messy rant….

After obsessing over CNC machines for about 10 years, and having some misadventures from time to time designing my own hardware and software, I jumped at the chance to order the original Shapeoko CNC mill mechanical kit as soon as it came out. It took me a year to find time to put it all together. After it was assembled, I connected up my old HobbyCNCPro Motor driver board to it. This driver board is for Unipolar motors, so I searched for some that would work.  I found these NEMA 17s from pololu <<LINK>>

 

On a previous attempt at making a CNC machine, I used Mach 3, but this time I went with LinuxCNC.  The main reason I wanted the machine was to mill PCBs. The workflow was EaglecAD–>pcb-Gcode–>autoleveller–>linuxCNC.<<LINK>>  I made a few really horrible PCBs with the machine before realizing it simply wasn’t the tool for the job. The gantry had way too much play.  The eShapeoko community was constantly updating and improving on the designs, so I waited it out until the V2 came out before the obsession hit me again when I saw how they doubled the gantry slides to improve strength.

 

After a year of V2 being on the market, I searched forums for a conversion pack but none was to be found. So I spent a while trying to define the differences between the machines. In the end, I spent probably just as much as buying a whole new mechanical kit, but here’s my process.

First, instead of buying all new motor mount plates, I only bought 2.  I then modified a couple of my plates from my original machine.  IN the image below, you can see the original plate on the right, the new plate on the left, and the modified one in the middle. I basically just had someone with a drill press line up the new plate with the old and drill out a two holes at the top that could attach the 70mm machine screws through to make the carriage assembly (pictured further down.)

plates1

The V1 Y rails became my new gantry, leaving me with something like 375mm in that dimension. After I mounted the carriage assembly, I saw that the Z axis had no holes to mount to.  To remedy this, I simply used the V1 Z plate as an interface between the new Z axis and the carriage.  In the image below, you can see the bolts I had to extend with short nylon spacers so they could mount the old Z plate and line up with the original eccentric nut circled in green while the four 70mm long spacer screws are circled in blue. (I had to buy 4 70mm M5 bolts on amazon as inventabes doesn’t sell them for some reason).

plates2

Zplate

Below you can see the spacers and everything inside the carriage assembly. This is a “bottom-up” view after the Z axis has been mounted.

Carriage1

I was able to use the belt and the belt standoffs from my V1 on the gantry with no problem, but the lower profile of the new motor mount plates that became my new Y axis required the belt to be clipped to the slide itself.  Instead of buying them, I just laid my V1 standoffs for the belt flat and mounted them that way. This reduced cutting area, but the first thing I will cut will be smaller belt clips.

I ordered a 1000mm piece of Makerslide and cut it directly in half, leaving me with about 500mm rails.  I mounted these up with new end mount plates and some 80 X 20 aluminum.  I was disappointed to see that I couldn’t use readily available half-inch MDF as spoilboard on top of the extrusion, so I just mounted the entire machine on a 500mm X 500mm piece of half-inch MDF.  This gives me a bit more Z depth.

I was not very excited when I saw that my cutting area is less now than it was with the V1. I’m contemplating ordering more makerslide if I need to in the future.

Another change I made was to get a unipolar stepper with the shaft sticking out of the back for my z axis, and used a 3d printer to print a thumbwheel to attach to it. Now I don’t have to struggle to adjust the Z axis by hand anymore. I hadn’t used this company before, but <<LINK HERE>  stepper world?  was cheap, shipped fast and packaged everything great. The only problem I found with the datasheet they included is that they had labeled the brown wire “BLW”  for some reason.

 

If I can find another NEMA23 aound the house, I will replace my Y axis motors with NEMA23s for added power.

 

I’m also hacking on the electronics. I added the 4th axis motor driver to the HobbyCNC Pro board and would like to use it to drive a 3d printer extruder. Since the HobbyCNC Pro board interfaces with a parallel port, it isn’t very practical for my laptop, so I decided to slap an arduino on there running GRBL to simplify the entire process. After seeing a demonstration of chillipeppr for GRBL, I’m thinking of using that.  I kind of dig the browser-based tools available for controlling the machine for their simplicity.I don’t wanna use my PhD to make PCBs I just want to click a button and be done with it. It shouldn’t be such a pill to make things on the CNC. For using GRBL with 4 axes, I’m looking at using the spindle speed control as my extruder, or using a slave ATmega328, or even just getting the timing set for strapping my 3doodler onto the thing.  The interfacing of the driver and the arduino should be pretty straightforward, I just need to wire X direction on one to X direction on the other, etc. for the most part.

My tool tip wobbles as the Z goes up and down, which sounds to me like I have a bent leadscrew somehow. I’ not sure about this and will have to hack on it later.

Anyway, that’s my progress so far. Any more info and I’ll post it when I get the chance.

 

Adam-Atom

Annotating (Grading) PDF Assignments

For a while now, I’ve been asking my students to submit their work as PDFs online using moodle (or email).  I always use open source tools to annotate and grade these documents.  There are several apps out there for this, I happen to use Xournal.  The problem was that my preferences in Xournal were never saved.  So I figured if I had the problem, maybe others do to.  Here’s how to fix it:

First find where the preferences are stored.  In Linux, these are found in a text file in my Home folder. I assume it will be similar in Windows.  I edited this text file to automatically start with good grading tools already selected: ie. Red text with a Serif font.

$ gedit ~/.xournal/config

Then Ctrl+F and find “startup_tool”  set this to “text”

Then Ctrl+F for “pen_color”and change this to “red”

Finally Ctrl+F for “default_font” and set this to “Serif”.

Save the file and you are done. Now every time you open Xournal, these settings will be loaded and you can just start commenting and grading without having to do any additional tool selections.

 

UPDATE: In Windows, Xournal configurations are hard to find.  You must first set it up so you can view hidden folders and files (Go to Start menu–> Control panel –> Appearances and Optimizations –> Folder Options –> Show hidden files and Folders.  Look for the radio buttons and select “Show hidden files, folders, or drives”.  While I’m in here I usually also uncheck “Hide extensions of known filetypes”  which lets me rename files including their filetype and see what types of files they are directly.

Once you do this, you can run Xournal and “Save Preferences” once as Ken mentioned in the comments below. Close Xournal first, then go to the path “C:Users\<username>\.xournal  (Notice the dot in “.xournal”!!!) Open the “Config” file in a text editor (like notepad or notepad++ or Sublime text editor)  Now you can make the changes above, and save.

A note of caution, edit a PDF with text, export it, then open it in another PDF reader to make sure it does not mess up.  Sometimes when editing the config file, the Font doesn’t work correctly and I end up with garbage text and random characters on my exported copy which isn’t useful for students.  If this happens to you, simply delete the config file and start over.

 

Adam-Atom

Easily get Public Link for Dropbox Files in Linux

I got tired of going to the dropbox website to find the public link for files I put in the Public folder.  On Windows you can simply right click–>get Public link, but I’m running LinuxMint with Dropbox version 2.0.22 which doesn’t support this (among many other things like Pausing a sync…)

Anyway I wrote a script that you can just drag your files onto and it’ll pop up a box showing you the public link.  In Linux, a script alone can’t do this, but a script and a .desktop file can call a script to do it.  Here’s what I got:

Save the following in a text file called “getPublicLink.sh” inside your Dropbox/Public folder.  Make sure it has permission to run (right-click the file–> properties –>permission and check the box to allow it to run)

#!/bin/bash
publicLink=$(dropbox puburl $1)
zenity --info --text $publicLink

Now create a new text file named “Get Public Dropbox Link”.  Paste the following there, be sure to change your username, mine says “adam” yours does not and this will make it not work. Save it in the Dropbox/Public folder and give it permission to execute as well. Here’s the file:

[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Terminal=false
Exec=/home/adam/Dropbox/Public/getPublicLink.sh
Name=My Application
Icon=/usr/share/icons/hicolor/48x48/status/aptdaemon-update-cache.png
#Required for double-click running and Drag-andDrop files into this icon.
#reference: http://linuxcritic.wordpress.com/2010/04/07/anatomy-of-a-desktop-file/
Name[en_US]=Get Public Dropbox Link

 

Now you can  simply drag files from your public folder on top of the “Get Public Dropbox Link” file and a window will pop up showing you the public link. from here, simply copy and paste that link to where ever you need.

Information_903

 

Adam-Atom

A Cheap but Quality Home Surveillance System

Today as I got into my car I realized that someone had broken into it and ransacked my glovebox and center console. I couldn’t nail down exactly when it happened but I couldn’t help but feel violated.  Someone else in my neighborhood also had a break in. I decided to do something about it. I immediately went to the closest store and grabbed a cheap webcam and prepared to make a motion triggered surveillance system. (Man, I love Linux).

Read more

How to Replace XP with Linux

Many people are curious about linux, or maybe have even tried linux at some point. There is a huge difference between people trying linux, and people using linux. Hopefully this article will sort of ease your transition into using linux, either as a full time OS or even just enough to get around if you ever encounter it. Once you are familiar with software on one OS, its tough to move on but with this article I hope to list out some linux software that replaces many of the XP programs I once loved and how to run certain irreplaceable Windows software on linux.

The version of linux used here is Linux Mint, which is built off Ubuntu.

(Image provided by Wikimedia Commons. Authors Larry Ewing, Simon Budig, Anja Gerwinski)

Read more