Spider Silk, Spider Silk, Made Using A Strain Of Yeast

Companies spend thousands developing a project for the market, hoping their investment will return big. Investing like this happens every day and won’t shock anyone. What may surprise you is someone who spends more than a decade and thousands of their own dollars to make an open-source version of a highly-marketable product. In this case, we’re talking about genetically modified yeast that produces spider silk. If that sounds like a lead-in to some Spiderman jokes and sci-fi references, you are correct on both accounts. [Justin Atkin] had some geneticist work under his belt when he started, so he planned to follow familiar procedures like extracting black widow DNA, isolating and copying the silk genes, and pasting them into a yeast strain. Easy peasy, right? Naturally, good science doesn’t happen overnight.

There are a few contenders for the strongest spider silk among which the golden silk orb-weaver gets the most attention, but the black widow’s webbing is nearly as strong, and [Justin] is happy to wear black widow inspired bling, whereas the golden orb-weaver looks like it crawled out of Starship Troopers. His first attempt to extract DNA starts with a vial of preserved nightmare fuel spider specimens because that is a thing you can just go online and buy. Sadly, they were candied in alcohol, and that obliterates DNA, so he moved to dried specimens from breeders, which also failed to produce results, and those were just the landmark hangups.

Continue reading “Spider Silk, Spider Silk, Made Using A Strain Of Yeast”

Rockin’ Out In LTSpice: Simulating Classic Guitar Pedals

Musicians have a fantastic language to describe signals. A sound can be fat, dark, crunchy, punchy — the list goes on. These aren’t very technical terms, but they get the job done. After all, it’s much easier to ask to guitarist for a crisper sound than to ask them to sharpen the edges of the waveform, while amplifying the high-frequency components and attenuating the low-frequency components. Of course, it’s fun to look at signals this way as well, especially when you can correlate shifts in sound quality to changes in the waveform and, ideally, the circuit that produces it.

To undergo such an investigation, [Nash Reilly] has been simulating guitar effects pedals in LTSpice. Able to find most of the schematics he needs online, [Nash] breaks down the function of each part of the circuit and builds a simulation of the entire system. His write-up clearly explains, and often demonstrates, what’s going on inside the box. On the surface, it’s an interesting tour of the inner workings of your favorite effects pedals. Beyond that, it’s an excellent survey of analog design that is well-worth the read for anybody interested in audio, electronics, or audio electronics.

For those interested in taking the physical route rather than the simulated one, we’ve taken a look at pedal design before. Anybody who wants to try their hand at creating simulations can grab a copy of LTSpice, or check out a package called LiveSpice, which lets you simulate circuits in realtime and use them to process live audio — pretty useful for prototyping guitar effects.

Quantum Inspired Algorithm Going Back To The Source

Recently, [Jabrils] set out to accomplish a difficult task: porting a quantum-inspired algorithm to run on a (simulated) quantum computer. Algorithms are often inspired by all sorts of natural phenomena. For example, a solution to the traveling salesman problem models ants and their pheromone trails. Another famous example is neural nets, which are inspired by the neurons in your brain. However, attempting to run a machine learning algorithm on your neurons, even with the assistance of pen and paper would be a nearly impossible exercise.

The quantum-inspired algorithm in question is known as the wavefunction collapse function. In a nutshell, you have a cube of voxels, a graph of nodes, or simply a grid of tiles as well as a list of detailed rules to determine the state of a node or tile. At the start of the algorithm, each node or point is considered in a state of superposition, which means it is considered to be in every possible state. Looking at the list of rules, the algorithm then begins to collapse the states. Unlike a quantum computer, states of superposition is not an intrinsic part of a classic computer, so this solving must be done iteratively. In order to reduce possible conflicts and contradictions later down the line, the nodes with the least entropy (the smallest number of possible states) are solved first. At first, random states are assigned, with the changes propagating through the system. This process is continued until the waveform is ultimately collapsed to a stable state or a contradiction is reached.

What’s interesting is that the ruleset doesn’t need to be coded, it can be inferred from an example. A classic use case of this algorithm is 2D pixel-art level design. By providing a small sample level, the algorithm churns and produces similar but wholly unique output. This makes it easy to provide thousands of unique and beautiful levels from an easy source image, however it comes at a price. Even a small level can take hours to fully collapse. In theory, a quantum computer should be able to do this much faster, since after all, it was the inspiration for this algorithm in the first place.

[Jabrils] spent weeks trying to get things running but ultimately didn’t succeed. However, his efforts give us a peek into the world of quantum computing and this amazing algorithm. We look forward to hearing more about this project from [Jabrils] who is continuing to work on it in his spare time. Maybe give it a shot yourself by learning the basics of quantum computing for yourself.

Continue reading “Quantum Inspired Algorithm Going Back To The Source”

POV LED Staff Takes Art For A Spin

The human body does plenty of cool tricks, but one of the easiest to take advantage of is persistence of vision (POV). Our eyes continue to see light for a fraction of a second after the light goes off, and we can leverage this into fun blinkenlight toys like POV staffs. Sure, you can buy POV staffs and other devices, but they’re pretty expensive and you won’t learn anything that way. Building something yourself is often the more expensive route, but that’s not the case with [shurik179]’s excellent open-source POV staff.

There’s a lot to like about this project, starting with the detailed instructions. It’s based on the ItsyBitsyM4 Express and Adafruit’s Dotstar LED strips. You could use the Bluetooth version, but it’s already quite easy to load images to the staff because it shows up as a USB mass storage device. We like that [shurik179] added an IMU and coded the staff so that the images look consistent no matter how fast the staff is spinning. In the future, [shurik179] might make a Bluetooth version that’s collapsible. That sounds like quite the feat, and we can’t wait to see it in action.

As cool as it is to wave a POV staff around, there’s no real practical application. What’s more practical than a clock?

Axe Hacks: Spinning Knobs And Flipping Switches

From a guitar hacking point of view, the two major parts that are interesting to us are the pickups and the volume/tone control circuit that lets you adjust the sound while playing. Today, I’ll get into the latter part and take a close look at the components involved — potentiometers, switches, and a few other passive components — and show how they function, what alternative options we have, and how we can re-purpose them altogether.

In that sense, it’s time to heat up the soldering iron, get out the screwdriver, and take off that pick guard / open up that back cover and continue our quest for new electric guitar sounds. And if the thought of that sounds uncomfortable, skip the soldering iron and grab some alligator clips and a breadboard. It may not be the ideal environment, but it’ll work.

Continue reading “Axe Hacks: Spinning Knobs And Flipping Switches”

Spin The Video Track With A Mechanical Flair

One of the most difficult user interfaces to get right is video editing. It is complex and fiddly with large amounts of precision required even after four or five hours of straight editing. Seeking to bring some of that interface out into the real world, [Zack Freedman] built a mechanical video editing keyboard.

The keyboard in question features popular shortcuts and keys to breeze through different parts of editing. The biggest feature is, of course, the large scrubbing knob, allowing [Zack] to fly through long video with precision. We’ve seen our fair share of mechanical keyboards that aren’t traditional keyboards on Hackaday before, such as this number pad or this macro pad.

One of the unique constraints of this project was the fact that Zack had a deadline of two days. This self-imposed deadline was to help focus the work and drive it towards completion. This meant that it had to be designed in such a way that roadblocks or troublesome features could be designed around or cut out altogether. At its heart, this project is just 14 mechanical switches, 4 potentiometers, and a Teensy to drive it all. It is the design, prototyping, and thought that went into this project that makes it noteworthy. There are plenty of lessons here about how to manage a project’s timeline and advice about how to actually finish it.

Code, STL’s, diagrams, and instructions are all on his GitHub.

Continue reading “Spin The Video Track With A Mechanical Flair”

Flywheel Trebuchet Spins Right Round

Most of us gained a familiarity with siege weapons from Age of Empires, and the march of technology has meant these relics aren’t typically seen on modern battlefields. However, development continues apace in the enthusiast community, and [Tom Stanton]’s latest trebuchet design puts a different spin on launching projectiles at speed.

The design takes advantage of the flywheel as an energy storage device. The flywheel is spun up to speed using a hand crank, through a timing belt and a set of hybrid 3D printed and CNC aluminium gears. Once spun up to sufficient angular velocity, a trigger releases the tennis ball payload from a sling, flinging it forth at speeds over 180 miles per hour.

Moving on from classical materials such as wood and nails, [Tom]’s latest design relies on aluminium in an effort to build something that won’t rot when left outside in the rain. The use of aluminium profiles also makes adjustment and redesigns easy, while providing the necessary adjustments to dial in things like release point and belt tension. We’ve featured a few different designs over the years; the walking-arm trebuchet is perhaps the most oddball of all. Video after the break.

Continue reading “Flywheel Trebuchet Spins Right Round”