Circuit Simulation In Python

Using SPICE to simulate an electrical circuit is a common enough practice in engineering that “SPICEing a circuit” is a perfectly valid phrase in the lexicon. SPICE as a software tool has been around since the 70s, and its open source nature means there are more SPICE tools around now to count. It also means it is straightforward enough to use with other software as well, like integrating LTspice with Python for some interesting signal processing circuit simulation.

[Michael]’s latest project involves simulating filters in LTspice (a SPICE derivative) and then using Python/NumPy to both provide the input signal for the filter and process the output data from it. Basically, it allows you to “plug in” a graphical analog circuit of any design into a Python script and manipulate it easily, in any way needed. SPICE programs aren’t without their clumsiness, and being able to write your own tools for manipulating circuits is a powerful tool.

This project is definitely worth a look if you have any interest in signal processing (digital or analog) or even if you have never heard of SPICE before and want an easier way of simulating a circuit before prototyping one on a breadboard.

Simple Acrylic Plates Make Kirlian Photography A Breeze

We know, we know – “Kirlian photography” is a term loaded with pseudoscientific baggage. Paranormal researchers have longed claimed that Kirlian photography can explore the mood or emotional state of a subject through the “aura”, an energy field said to surround and emanate from all living things. It’s straight-up nonsense, of course, but that doesn’t detract from the beauty of plasma aficionado [Jay Bowles]’ images produced by capacitive coupling and corona discharge.

Technically, what [Jay] is doing here is not quite Kirlian photography. The classic setup for “electrophotography” is a sandwich of photographic film, a glass plate, and a metal ground plate. An object with a high-voltage, high-frequency power supply attached is placed on top of the sandwich, and the resulting corona discharge exposes the film. [Jay]’s version is a thin chamber made of two pieces of solvent-welded acrylic and filled with water. A bolt between the acrylic panes conducts current from a Tesla coil – perhaps this one that we’ve featured before – into the water. When something is placed on the acrylic, a beautiful purple corona discharge streams out from the object.

It’s an eerie effect, and it’s easy to see how people can see an aura and attribute mystical properties to it. In the end, though, it’s not much different than touching a plasma globe, and just about as safe. Feeling a bit more destructive? Corona discharge is a great way to make art, both in wood and in acrylic.

Continue reading “Simple Acrylic Plates Make Kirlian Photography A Breeze”

Robot Vs. Superbug

Working in a university or research laboratory on interesting, complicated problems in the sciences has a romanticized, glorified position in our culture. While the end results are certainly worth celebrating, often the process of new scientific discovery is underwhelming, if not outright tedious. That’s especially true in biology and chemistry, where scaling up sample sizes isn’t easy without a lot of human labor. A research group from Reading University was able to modify a 3D printer to take some of that labor out of the equation, though.

This 3D printer was used essentially as a base, with the printing head removed and replaced with a Raspberry Pi camera. The printer X/Y axes move the camera around to all of the different sample stored in the print bed, which allows the computer attached to the printer to do most of the work that a normal human would have had to do. This allows them to scale up massively and cheaply, presumably with less tedious inputs from a large number of graduate students.

While the group hopes that this method will have wide applicability for any research group handling large samples, their specific area of interest involves researching “superbugs” or microbes which have developed antibiotic resistance. Their recently-published paper states that any field which involves bacterial motility, colony growth, microtitre plates or microfluidic devices could benefit from this 3D printer modification.

Building Your Own Tensegrity Structure

It seems that tensegrity structures are trending online, possibly due to the seemingly impossible nature of their construction. The strings appear to levitate without any sound reason, but if you bend them just the right way they’ll succumb to gravity. 

The clue is in the name. Tensegrity is a pormanteau of “tension” and “integrity”. It’s easiest to understand if you have a model in your hand — cut the strings and the structure falls apart. We’re used to thinking of integrity in terms of compression. Most man-made structures rely on this concept of engineering, from the Empire State Building to the foundation of apartment building.

Tensegrity allows strain to be distributed across a structure. While buildings built from continuous compression may not show this property, more elastic structures like our bodies do. These structures can be built on top of smaller units that continuously distribute strain. Additionally, these structures can be contracted and retracted in ways that “compressionegrities” simply can’t exhibit.

How about collapsing the structure? This occurs at the weakest point. Wherever the load has the greatest strain on a structure is where it will likely snap, a property demonstrable in bridges, domes, and even our bodies.

Fascinated? Fortunately, it’s not too difficult to create your own structures.

Continue reading “Building Your Own Tensegrity Structure”

Making Your Own Chain Sprockets, The Tidy Way

Chain sprockets are a key drivetrain component in a lot of builds. Unfortunately they can be difficult to source, particularly for those outside the reach of retailers like McMaster-Carr. In such situations, you might consider making your own.

The toothed profile on a chain sprocket can be produced in a simple manner by drawing a base circle, along with a series of circles spaced appropriately for the chain in question. This involves measuring the pitch and roller diameter of the chain. With these measurements in hand, a template can be created to produce the sprocket.

From there a series of holes are drilled to rough out the basic shape of the teeth, before the sprocket is then cut down to its appropriate outer diameter. The finishing work consists of chamfering the sprocket’s thickness, as well as the filing the sharp edges of the teeth for smooth engagement.

It’s a quick and easy method for producing sprockets with well-defined, accurate profiles. We’ve featured other rough and ready methods before, too. Video after the break.

Continue reading “Making Your Own Chain Sprockets, The Tidy Way”

Dub Siren Synth Does It The Old School Way

There’s little that can compare to the sheer obnoxious thrill of mashing the DJ siren when its your turn behind the decks. We’ve certainly been guilty of abusing the privilege at local house parties, and unsurprisingly have not been invited back. If we ever get another shot, though, we’d be glad to have [lonesoulsurfer]’s dub siren at the ready.

This is a build for the old-school purists. There’s no microcontrollers or digital hardware here. The synth relies on two 555 timer ICs as the oscillators and an LM741 op-amp. These parts harken right back to the dawn of the integrated circuit era, and still do a great job in this application. There’s also a cheap reverb/echo module added in to fatten up the sound. It’s all laced up in an old CB radio enclosure, with the classic woodgrain applique doing much to add to the aesthetic.

It’s a build that’s simple enough for the electronics beginner, and would make a great tactile, analog addition to any DJ’s rig. If you need some wubwubs to go with your woowoos, then consider building a Ball of Dub, too.

Continue reading “Dub Siren Synth Does It The Old School Way”

Landbeest, A Single Servo Walking Robot

Walking robots have a rich history both on and off the storied pages of Hackaday, but if you will pardon the expression, theirs is not a field that’s standing still. It’s always pleasing to see new approaches to old problems, and the Landbeest built by [Dejan Ristic] is a great example.

It’s a four-legged walker with a gait dictated by a cam-and-follower mechanism that allows it to perform the full range of leg movement with only one motor. Each cam can control more than one leg in synchronisation, and in his most recent prototype, there are two such mechanisms that work on opposite corners of a four-legged machine. The legs are arranged in such a way that the two corner-to-corner pairs pivot at their centres in a similar manner to a pair of scissors; allowing a servo to steer the robot as it walks.

The result certainly isn’t as graceful as [Theo Janssen]’s Strandbeest, from which it evidently takes inspiration for its name, but it’s no less capable for it. After the break you can see a video he’s posted which clearly illustrates its operation and demonstrates its ability to traverse obstacles.

The only thing that’s missing are the files and software should you wish to create your own. He’s unapologetic about this, pointing out that he’d prefer to wait until he is satisfied with it before letting it go. Since he’s put a lot of work in so far and shows no sign of stopping, we’re sure he’ll reach that point soon enough.

Continue reading “Landbeest, A Single Servo Walking Robot”