After getting access to a Lulzbot 3D printer, [Tim] designed a 3D printable peristaltic pump. The design was done in OpenSCAD, which makes it parametric and easy to modify.
Peristaltic pumps work by squeezing a length of tubing to push fluids. This mechanism is similar to how your intestines work. The pump provides an isolated fluid path, which is why they’re commonly used in medical and food grade applications. Like many products in the medical space, these pumps tend to be rather expensive. Being able to print one for your own projects could save quite a bit of cost.
The pump is based on [emmett]’s gear bearing design. One nice thing about this design is that it is printed preassembled. Pop it out of the printer, add some tubing, and you’re ready to pump fluids.
On top of the isolated fluid path, this pump gives accurate volume measurement. For that reason, we can imagine it moving booze for a robotic bartender build. After the break, a video of the pump moving some fluid.
Continue reading “A 3D Printed Peristaltic Pump”
[Dave] has some big plans to build himself a 1980’s style computer. Most of the time, large-scale projects can be made easier by breaking them down into their smaller components. [Dave] decided to start his project by designing and constructing a custom controller for his future computer. He calls it the Rabbit H1.
[Dave] was inspired by the HOTAS throttle control system, which is commonly used in aviation. The basic idea behind HOTAS is that the pilot has a bunch of controls built right into the throttle stick. This way, the pilot doesn’t ever have to remove his hand from the throttle. [Dave] took this basic concept and ran with it.
He first designed a simple controller shape in OpenSCAD and printed it out on his 3D printer. He tested it out in his hand and realized that it didn’t feel quite right. The second try was more narrow at the top, resulting in a triangular shape. [Dave] then found the most comfortable position for his fingers and marked the piece with a marker. Finally, he measured out all of the markings and transferred them into OpenSCAD to perfect his design.
[Dave] had some fun with OpenSCAD, designing various hinges and plywood inlays for all of the buttons. Lucky for [Dave], both the 3D printer software as well as the CNC router software accept STL files. This meant that he was able to design both parts together in one program and use the output for both machines.
With the physical controller out of the way, it was time to work on the electronics. [Dave] bought a couple of joysticks from Adafruit, as well as a couple of push buttons. One of the joysticks controls the mouse cursor. The other joystick controls scrolling vertically and horizontally, and includes a push button for left-click. The two buttons are used for middle and right-click. All of these inputs are read by a Teensy Arduino. The Teensy is compact and easily capable of emulating a USB mouse, which makes it perfect for this job.
[Dave] has published his designs on Thingiverse if you would like to try to build one of these yourself.
As far as physics demonstrations go, the Newton’s Cradle is probably one of the most recognizable. Named after Sir Isaac Newton, the Newton’s Cradle demonstrates the law of conservation of momentum using swinging ball bearings.
[Scorchworks] decided he wanted to build his own Newton’s Cradle. The frame appears to be cut from MDF or particle board and then screwed together. That material is really easy to obtain and also to work with using inexpensive tools. The tricky part was the ball bearings. Most of the time when you see a Newton’s Cradle, the ball bearings have a small hole drilled in the top with an eye hook attached. The string is then attached to the eye hook.
[Scorchworks] decided to do something different. His plan was to make custom injection molded plastic rings that would fit perfectly around the ball bearings. The most interesting thing is that he designed the injection molding plates entirely on his smart phone while at his child’s baseball practice. To do this, [Scorchworks] used his own Android app, ScorchCAD. ScorchCAD is a free clone of OpenSCAD that is designed to run on Android devices. Most of the functionality of OpenSCAD has been implemented in ScorchCAD, though not all functions work yet. You can find a list of all the supported functions on the project’s website or in the Google Play store.
Once the plates were designed within ScorchCAD, [Scorchworks] exported the STL file and then used Meshcam to generate the gcode for his CNC milling machine. Once he had the plates machined, he just placed the ball bearing into the mold and injected the molten plastic around it. The plastic formed a perfectly shaped ring around the bearing with small loops for the string. [Scorchworks] repeated the process several times to get all of the ball bearings finished.
Finally, the bearings were strung up using some fishing line. A Newton’s Cradle is very sensitive to the positioning of the ball bearings. To account for this, [Scorchworks] tied each end of the fishing line to two different screws on top of the cradle. This way, each screw can be tightened or loosened to adjust the position of each ball bearing.
This week, we’re starting off with OpenSCAD, a 3D modelling program that’s more like programming than drawing. A lot of useful 3D printable objects – including the parts for a lot of RepRaps – are designed in OpenSCAD, so hopefully by the end of this you’ll be able to design your own parts.
This isn’t meant to be a complete tutorial for OpenSCAD; I’m just demoing SCAD enough to build a simple part. Next week I’ll most likely be designing a part with AutoCAD, but if you have an idea of what software tools I should use as a tutorial to make a part, leave a note in the comments. Check out the 3D Printering guide to making a part with OpenSCAD below.
Continue reading “3D Printering: Making A Thing With OpenSCAD”
Recent experiments with the Arduino CapSense library led [Bryan] around the Internet looking for interesting applications. He hit upon a very cool touch scroll wheel made entirely with PCB traces, but the geometry – three interleaved zig zags is impossible to build in the decidedly ungeometric Eagle PCB package. One thing leads to another and now [Bryan] has a cap touch wheel Eagle part designed entirely in OpenSCAD.
The touch scroll wheel implementation [Bryan] found came from an ST touch controller datasheet and used oddly-shaped patterns to create a capacities sensor. Eagle is terrible for designing anything that isn’t laid out at a 45 degree angle, so he fired up OpenSCAD to draw these triangles. Importing into Eagle was another challenge, but a quick Ruby script to convert a DXF file into a set of coordinates for Eagle’s POLYGON command made everything very easy.
If OpenSCADing touch sensors isn’t your thing, there’s also an Eagle library full of them – something we found last week.
Here’s an enclosure which was designed with OpenSCAD and cut out on a CNC router. [Matthew Venn] wrote about the project because he sees tons of 3D printing hacks that use the software, but almost never hears about it as a tool for laser cutting or CNC router/mill work. When we read that we thought we must have seen a lot of 2D hacks but a search of Hackaday’s previous offerings proved us wrong. Just this week we heard about the software in use with the Makerbot. Or you could go back about a year and read about creating 3D molds. But nothing on 2D work.
His post is a quick read and shows off the bare bones of the case designs he’s been working with for a few years. By referencing the code itself, and playing with how it changes the render in OpenSCAD he makes a strong case for quick and easy enclosure design. If you use this technique make sure to document your experience because we want to hear about it!
Although having a 3D printer means you can create custom object of your own design, that doesn’t change the fact that most object printed on Makerbots and RepRaps are copies, or slight derivations, of already existing object. If you need a gear, just go grab an OpenSCAD file for a gear, and a custom smart phone case can be easily made by modifying an already existing one. The problem with this approach, though, is you’ll need to learn OpenSCAD or another 3D design tool. Enter the Makerbot Customizer, a web app that allows you to create custom versions of other people’s work right in your browser.
The idea behind Customizer is simple: someone creates an OpenSCAD file with a few variables like the number of teeth on a gear or the number of turns on a screw. Customizer takes this OpenSCAD file, puts sliders and radio buttons on a web page, and allows you to create custom objects based on user-created templates.
Already we’ve seen a lot of Hackaday readers send in some pretty cool customizable things, like [Bryan]’s coil form for DIY inductors and [Greg]’s customizable PVC pipe couplers. If you already know OpenSCAD, it’s easy to create your own objects that are customizable by anyone on the Internet.