Category Archives: Laser Cutting

Crockpot Sous-Vide

As I was upgrading my 3D printer, I wanted to use an alternative heated platform. This new heated platform is a rubber silicone heating pad. You can take this pad, plug it straight into the wall outlet and it will eventually heat up to over 400 degrees Fahrenheit. The issue is you want to limit the temperature to the heated platform to around 200 degrees Fahrenheit. The way you limit the platform temperature is put the pad on a relay, attach a temperature sensor to the bottom of the pad, then program a micro-controller that reads the temperature sensor and toggles the relay off and on to maintain the proper temperature.

To prototype this design out I decided to create a device that is similar. I took my crock-pot and  converted it a sous-vide cooker.

IMG_4628

So what is a sous-vide cooker? Well if you ask Wikipedia she says:

Sous-vide (/sˈvd/; French for “under vacuum”)[1] is a method of cooking in which food is sealed in airtight plastic bags then placed in a water bath or in a temperature-controlled steam environment for longer than normal cooking times—96 hours or more, in some cases—at an accurately regulated temperature much lower than normally used for cooking, typically around 55 to 60 °C (131 to 140 °F) for meat and higher for vegetables. The intent is to cook the item evenly, ensuring that the inside is properly cooked without overcooking the outside, and retain moisture.

So generally the crock-pot maintains the water bath. The long black cable in the first picture is the temperature sensor.  The wood box is a variant of my box generator script. I configured the box to hold the crock-pot up front and electronics in the back so it is an all-in-one device that I can easily move it about.

IMG_4629

I cut an opening in the front so I can still access the off-low-high switch.

IMG_4630

The original code came from Adafuit, but I added my own controls with the three way switch and two knobs.

IMG_4631

Position one with the switch means device is on and the grey heat knob sets the water bath temperature.  Position two lets me set a count down clock in minuets with the black knob. Position three will start the clock to the count down. When it hits zero, the device will turn on to the temperature set by the grey knob.

IMG_4632

The purpose of the countdown lets me take out a frozen bag of food, place it in the water bath to defrost before I go into work in the morning. Lets say I set the count down to four or six hours. The sous-vide turns on and it is ready when I get home. Or if I am late or something I won’t be able to over cook the food too far because it will only go to the preset temperature.

Here is a picture of the guts in the back:

IMG_4633

Here is the arduino with the seeed studio relay shield.

IMG_4634

Here is the standard 120V double wall outlet. The left side is triggered by the relay shield. So that is where the crock-pot is plugged into. The right side is always on. In this case a 5V transform to run the arduino.

IMG_4635

The device works great. I can still retro use it as a crock-pot by just leaving the black temperature sensor out. The other thing I got out of this project is working with a PID controller. A PID controller is required to better maintain the heated bed of the 3D printer.

Wood Gears

I have always wanted to work with gears. A gear or cogwheel is a rotating machine part having cut teeth, or cogs, which mesh with another toothed part to transmit torque, in most cases with teeth on the one gear being of identical shape, and often also with that shape on the other gear. Two or more gears working in tandem are called a transmission and can produce a mechanical advantage through a gear ratio and thus may be considered a simple machine. Geared devices can change the speed, torque, and direction of a power source.

When I first got my 3D printer I made a 3D printed grandfather clock.

IMG_2599 IMG_2600

The clock worked ok. I printed the parts on a machine that was a little small for the design. The machine would work for a short time but I was able to see how the parts work. But I still wanted to design and build a machine of my own.

Several people on Thingiverse, a website dedicated to the sharing of user-created digital design files, have various models and scripts that create gears and gear based machines. I feel as I explore more mechanical design ideas, I will need to explore basic simple machines like gears to fill in gaps between motors and the work I am trying to drive.

On Thingiverse the user Leemon Baird shared his script to generate Public Domain Involute Parameterized Gears.  This script simplifies lots of the details. For example, according to wikipedia, details like the angular velocity ratio between two gears of a gearset must remain constant throughout the mesh.  That sounds difficult and would overwhelm someone new to making gears.  Leemon made a function that takes 9 parameters but you only need to enter 4. These variables are: the circumference of the pitch circle divided by the number of teeth (millimeters per tooth), total number of teeth around the entire perimeter, thickness of gear in mm, and diameter of the hole in the center in mm. With this basic script to went to task laser cutting gears out of thin plywood panel. I had to goal but to see how many I could put on a board and see hard/easy to drive the gears.

Simple gear experiment.
Simple gear experiment.

As you can see from the picture above I made a lot of gears. They were a little rough to drive all of them at the same time. I was having alignment problems as well. As I was moving the gears some wouldn’t engage. I placed an acrylic guide over the main drive gear, the one with the handle, to try to resolve the alignment issue. And the gears where attached by 3mm bolts. So the entire surface of the gear was rubbing against the attached panel.

After the laser cut gear experiment I had a few lessons for my next attempt. First, I need the cut the gears out of thicker material. The laser cutter is nice because I just load in the parametric design into the computer and cut, but the laser can only go through thin material. Second, I need to keep the gear floating above whatever it is attached to so I don’t get that surface drag. And third, I need the gear to use bearings and bushing to reduce friction on the fastening bolt.

 CNC Panel Router

So to cut out gears out of thicker material I need to learn a new tool. And that tool is the stinger CNC router.

Stinger CNC Router
Stinger CNC Router

A CNC router is basically what it sounds like. The machine has a router mounted on an arm that moves in the X,Y and Z axis and the arm is controlled by a computer. You can load a computer design file into the computer, the computer will determine the tool head path based on the design file and the type of bit on the router. This machine can use the same files I generated for the laser cutter, but can cut through up to 3 inches of wood. There is a little more setup involved that the laser cutter. The laser beam is a simple point and doesn’t change, it simply follows the line. The CNC router is a bit that can be one-eighth to three-quarters of an inch thick. So when you define the tool path you need to specify whether you follow the inside or the outside of the line.

The CNC router also allows other options that a laser cutter doesn’t. First, you can specify the depth that you can cut down. You can cut all the way through or just a shallow cut. Second, there are different drilling profiles. You can drill hole, a pocket where all material is cleared away, cut on the inside or outside of a profile, engrave a shape into a surface, or cut a relief on a surface.

For the gear I needed three things, the ability to a gear profile out of a piece of three-quarters inch plywood, drill a hole through for a bolt and bushing, and a pocket for a regular skate bearing. I was able to take the files from my lasercut gears and use them to generate some vector files for routing. I can select each line in the vector file and create a different cut style.  For example I can select the teeth profile and tell the software to route all the way through the plywood from the outside of the line. The inner two circles have a different cut path. The center most circle will cut all the way through from the inside of the circle. And the outer circle will cut a pocket half way through the plywood. Below are some pictures showing the a vector art being loaded into the tool path generation program.

Vector art loaded into tool path generation program
Vector art loaded into tool path generation program
Tool path visualization
Tool path visualization
IMG_4088
Adding some text to the surface of the wood.

I configured the tool path generation to use two different bits. The Teeth profile and center circles can be cut with a single end-mill bit. This bit will leave straight edges. The lettering will be engraved with a 90 degree V-bit. After generating the tool path and then saved out the commands into two files. I am now able to load the tool path data into the CNC router driver software.

Screen shot of the tool path loaded into the CNC tool driver software.
Screen shot of the tool path loaded into the CNC tool driver software.

Once to plywood is loaded onto the machine and the bit head is aligned and configured I can let the machine cut out the parts.IMG_4039

A whole panel of cut gears
A whole panel of cut gears
Extra material removed
Extra material removed

Once I can take off the gears I just need to place in the bearing, screw on the bolt, and attach a magnet to the bolt so the gears can attach and slide on a metal surface.

Bearing placed in gear
Bearing placed in gear
Screw on the bolt
Screw on the bolt
Attach the magnet
Attach the magnet

And here is the final product.

Gears on metal door
Gears on metal door

Parametric Box Script Generator

A few years back I was prototyping a data collecting product with an arduino at it’s core. The arduino would have a SD card shield to collect the data on,  a motor driving shield, and poll data from various types of sensors. I developed the prototype in my garage and I was looking to transition the prototype to the field. I wanted to transform my prototype from a bundle of wires on a rack to an enclosed device with well defined plugins, ports, etc, so non-technical people could just plug it in. I tried using a simple enclosure from a well known retailer, and it would hold everything with space to spare, but customizing ports was a bit of a pain. My first goal as a member of my local hacker space, Sector 67, was to use the laser cutter and design a parametric box that would be quick to make, and easy to take apart and redesign.

Examples of parametric boxes
Examples of parametric boxes

So what does parametric mean? Basically parametric refers to the ability to alter the structure of an object (usually a computer model) by simply changing one or a few parameters, and the model is structured in such a way that sub-elements have built in logic to adjust themselves accordingly. For example, programs from companies like Solidworks, Autodesk, and others have the ability to build parametric designs. The software I used for this box is an open source program called OpenSCAD, OpenSCAD.org.

OpenSCAD models 3D and 2D objects via a scripting language. The software allows you start off with basic primitives (2D: circle, square, polygons ; 3D: cube, cylinder, sphere) then add, subtract, union, etc until you get the object with the geometry you need. The language has features to define variables, for loops, modules and allows you to pass variables that will give the user the ability to redefine the model via these parameters.

My requirements was to build a script where I could supply an interior box dimension with a length, width and depth, and the script would spit out a parts outline document that I could just take to a laser cutter, cut out the parts and assemble with 3mm bolts.

OpenSCAD script with a visualization of the finished product
OpenSCAD script with a visualization of the finished product

When I was done building the script I had the basics of what I wanted. But I also added a parameter for the material thickness the panels were cut out of and the slots and bolts would adjust themselves accordingly. I also added a parameter for how thick the tabs are, how long and wide the bolts are,  and the length of the nut is to secure the bolts. I also added a parameter for the number of tabs on the length, width, and depth dimensions individually.  I also designed the code is such a way that I can cut square, circle and polygon holes through individual panels to pass wires and mount buttons and controls on. Finally I coded the ability to toggle the visualization of the design between an assembled box as shown above and the flat design files ready to be cut and assembled.

Rendered design files ready to be sent to a laser cutter.
Rendered design files ready to be sent to a laser cutter.
Parts arranged and cut with a laser cutter.
Parts arranged and cut with a laser cutter.

The box is then assembled with 16mm long 3mm bolts with the nut embedded into the panel and the bolt is inserted from the outside to hold the box together.

IMG_4076

IMG_4075

And finally the assembled box.

Fully assembled plywood box.
Fully assembled plywood box.

And below is an example of a prototyped Raspberry Pi device utilizing this script for an enclosure. As you can see the base of the box is plywood and the top is acrylic. The plywood is nice for a box because if you don’t quite have your holes in the right area ,or you just forgot to add the holes, or you want to mount it on a wall, you can easily drill out a hole.

IMG_4069
Customized parametric box

I made a variant on the parametric box script where the tabs are nested into the receiving panel. This script became the basis of my 3D printer that I upgraded.

Parametric box with tabs nested into the receiving panels.
Parametric box with tabs nested into the receiving panels.