I admit it: I'm a total geek. I love electronics, programming, 3D art, vintage Apple hardware, and whisky. I'm always juggling half a dozen projects. I also enjoy documenting it all: my successes, my failures, my experiences... and everything geeky along the way.


 
 
 
 
 

Optical Drive CNC Machine - Part I | Kevin Rye.net - Main

Kevin Rye

Geek Extraordinaire. Yeh, I said it.

Optical Drive CNC Machine - Part I

I’ve been meaning to do something with these old optical drives for years. They just keep piling up. I’ve seen plenty of posts online from people making them into mini laser engravers and PCB routers, etc. It’s time to dig in and see what I can do with them.

old_optical_drives_0001

I went through the pile and managed to find three from the same manufacturer. Although one is a CD burner and the other two are DVD burners, the part numbers and dates of manufacture are so close that I’m hoping that most of the drive mechanics will be similar across all three models. If I’m going to use them for X, Y, and Z axes, it would be nice if they were all the same shape and size.

old_optical_drives_0002

Gotta love it. Looks like this drive hasn’t been used in seven years. Why couldn’t it have been something cool like Photoshop? Then again, what would I do with a seven year old version of Photoshop?

old_optical_drives_0003

After taking all the drives apart, I sorted the junk from the keepers. Gotta recycle!

old_optical_drives_0005

So much for my theory that they’d have components in common. It looks like with each subsequent release, the manufacture decided to reinvent the wheel. Although the top two look like a pretty good match, they use two totally different stepper motors. I actually had to crack open a fourth one because there was no way to solder wires onto the stepper motor of one of them.

old_optical_drives_0004

See? The solder points are way too close together. Any attempt to solder wires to them resulted in a short. I even attempted to solder directly to the ribbon cable, but that proved to be an exercise in futility.

stepper_motor1_0001

You need a stepper motor that has the solder points in a nice straight row. Much easier.

stepper_motor2_0002

I picked up and EasyDriver stepper motor driver board from SparkFun a few years ago for another project that never got off the ground. I knew for this, at minimum, I’d need at least another EasyDriver. I picked up a second board, but now I’m thinking that I should have purchased a third for the Z axis. Then again, I’m still in the proof-of-concept phase. I’m not entirely sure if I’ll even need to control the Z axis yet. It all depends on what I end up making.

easy_drivers_0006

I took a look at the EasyDriver tutorial on SparkFun’s site, made the connections, and uploaded some code.

cnc_machine_0007

Hey! This is easy!

EasyDriver 1

Proof of concept nailed. In order to start prototyping something and execute some code, as well as see what kind of space I’ll ultimately need for a PCB, I’ll need to build some sort of rig to hold the motor assemblies in an X, Y, and Z arrangement.

I jumped into SketchUp and got to it. For now, I’m only going to concern myself with the X and Y axes, and worry about adding a Z axis as an upgrade later on.

First thing’s first. I need to figure out the hole placement for the standoffs. I got out my trusty caliper and took some measurements. I then chalked up a minimalistic design just to test the placement.

CNC_rig_prototype_0001

Nailed it on the first try.

CNC_rig_prototype_0002

The Y-axis was a little trickier, as all the holes aren’t lined up nicely in the four corners. It took 3 prints before I got this one right.

CNC_rig_prototype_0003

I then incorporated those pieces into my rig. The X and Y axes can be printed separately and then snapped together.

Screen Shot 2016-07-17 at 10.24.04 AM

The print did come out a little crappy, but it’ll do for now. This cheap roll of gray PLA kept jamming on me.

CNC_rig_prototype_0009

I had a lot of trouble printing the Y-axis assembly using the gray PLA. After the third failed print, I threw in the towel and switched back to the white roll. I suspect that this won’t be the final print before all is said and done, so I’m not bothered by the mismatched colors.

CNC_machine_v1_0018

I then got to work on the PCB. It’s basically just a PCB that I can mount three EasyDrivers to along with an Arduino Micro. Normally I’d roll my own Arduino implementation, but I don’t want to have to incorporate all the USB stuff. When you can get an Arduino Micro for $25 bucks, it’s cheaper to just drop one in as a daughterboard. I even broke out a few extra pins for future expansion.

Screen Shot 2016-07-17 at 11.14.00 PM

I then sent off for the PCB. I think this is as far as I can go until the PCBs arrive.

CNC Machine v1 front

More to come…