Buying 3D-printer filament is little like eating potato chips: you can’t stop at just one. You start with basic black PLA, then you need a particular color for a special project, then you start experimenting with different plastics, and before you know it, you’ve got dozens of reels lined up. Trouble is, unless you move the in-use reel right over the printer, the filament can get a bit unruly as the printer sucks it up. What to do?
How about building an active strain relief system for your filament collection? That what [Daniel Harari] chose to do, and we have to say that it looks pretty slick. The idea is to keep the filament slack before it enters the printer’s extruder no matter where the reel is positioned relative to the printer. The active bit is a little like a low-force extruder, using a couple of pinch rollers from an old 2D-printer to pay out filament when needed. A clever sensor, consisting of a 3D-printed funnel and a copper wire contact loop, detects when the printer has taken up all the slack in the filament and triggers a payout from the feeder. In a nice touch, the feeder motor is controlled by a couple of 555s rather than a microcontroller. The short clip below shows the feeder being triggered and paying out a little more slack.
In the final analysis, this is just another in a long series of filament management projects, from dry-boxes to filament meters to end-of-spool alarms. It may be overkill, but [Daniel] put a lot of thought into it, which we always appreciate.
Continue reading “Active Strain Relief For 3D-Printer Filament”
If you want to get into electronics, it’s pretty straightforward: read up a little, buy a breadboard and some parts, and go to town. Getting into molecular biology as a hobby, however, presents some challenges. The knowledge is all out there, true, but finding the equipment can be a problem, and what’s out there tends to be fiendishly expensive.
So many would-be biohackers end up making their own equipment, like this DIY gel electrophoresis rig. Electrophoresis sorts macromolecules like DNA or proteins by size using an electric field. For DNA, a slab of agarose gel is immersed in a buffer solution and a current through the tank moves the DNA through the gel. The shorter the DNA fragment, the easier it can wiggle through the pores in the gel, and the faster it migrates down the gel. [abizar]’s first attempt at a DIY gel rig involved a lot of plastic cutting and solvent welding, so he simplified the process by using the little plastic drawers from an old parts cabinet. With nichrome and platinum wires for electrodes for the modified ATX power supply, it’s just the right size and shape for the gel, which is cast in a separate mold. The video below shows the whole build, and while [abizar] doesn’t offer much detail on recipes or techniques, there are plenty of videos online to guide you.
Need more apparatus to deck out your lab? We’ve got you covered there too.
Continue reading “Get Into Biohacking On The Cheap With This Electrophoresis Rig”
Why Buffer? Because buffers cut you some slack.
Inevitably, in our recent series on microcontroller interrupts, the question of how to deal with actual serial data came up. In those examples, we were passing one byte at a time between the interrupt service routine (ISR) and the main body of code. That works great as long as the main routine can handle the incoming data in time but, as many people noted in the comments, if the main routine takes too long the single byte can get overwritten by a new one.
The solution? Make some storage room for multiple bytes so that they can stack up until you have time to process them. And if you couple this storage space with some simple rules for reading and writing, you’ve got yourself a buffer.
So read on to see how to implement a simple, straightforward circular buffer in C for microcontrollers (or heck, for anything). Buffers are such a handy tool to have in your programming toolkit that you owe it to yourself to get familiar with them if you’re not already.
Continue reading “Embed With Elliot: Going ‘Round With Circular Buffers”