Edge-Lit 7-Segments Clock The New Normal

People keep saying that time has lost all meaning now, but we’re still over here divvying up the days with hacks. Most of the hacks you see here are open source. But if you want something even more transparent to meter out the meaninglessness, we invite you to make one of these clearly awesome see-through clocks, which happens to be both.

A word of warning though — according to [GeekMomProjects], this is an incredibly fiddly build with tight tolerances everywhere that acrylic meets acrylic or an LED strip. We can see how it might be like forcing fragile puzzle pieces together. Since the whole thing is crystal clear acrylic, light is going to go everywhere.

[GeekMomProjects] cleverly blocked the escaping light by painstakingly applying non-conductive adhesive foil to the edges of all the smaller pieces. In spite of all that work, we think it would be worth it to have such a fantastic timepiece glowing away the hours somewhere in the house.

Electronically speaking, this beauty is pretty simple. The lights run off of an ItsyBitsy M4 Express, and the time is separately fetched with an ESP8266. [GeekMomProjects] had so much fun that she made one with seconds and one without. Check out their RGB dance routine after the break.

If you prefer your blinky 7-segment clocks a bit more utilitarian, here’s a clock made of shelves.

Continue reading “Edge-Lit 7-Segments Clock The New Normal”

So What Is Protein Folding, Anyway?

The current COVID-19 pandemic is rife with problems that hackers have attacked with gusto. From 3D printed face shields and homebrew face masks to replacements for full-fledged mechanical ventilators, the outpouring of ideas has been inspirational and heartwarming. At the same time there have been many efforts in a different area: research aimed at fighting the virus itself.

Getting to the root of the problem seems to have the most potential for ending this pandemic and getting ahead of future ones, and that’s the “know your enemy” problem that the distributed computing effort known as Folding@Home aims to address. Millions of people have signed up to donate cycles from spare PCs and GPUs, and in the process have created the largest supercomputer in history.

But what exactly are all these exaFLOPS being used for? Why is protein folding something to direct so much computational might toward? What’s the biochemistry behind this, and why do proteins need to fold in the first place? Here’s a brief look at protein folding: what it is, how it happens, and why it’s important.

Continue reading “So What Is Protein Folding, Anyway?”

Altium Has Its 2kicad Moment

Around these parts we tend to be exponents of the KiCad lifestyle; what better way to design a PCBA than with free and open source tools that run anywhere? But there are still capabilities in commercial EDA packages that haven’t found their way into KiCad yet, so it may not always be the best tool for the job. Altium Designer is a popular non-libre option, but at up to tens of thousands of USD per seat it’s not always a good fit for users and businesses without a serious need.

It’s hard to find an exciting photo of a dialog box

What do you do as a KiCad user who encounters a design in Altium you’d like to work with? Well as of April 3rd 2020, [Thomas Pointhuber] has merged the beginnings of a native Altium importer into KiCad which looks to be slated for the 6.0 release. As [Thomas] himself points out in the patch submission, this is hardly the first time a 3rd party Altium importer has been published. His new work is a translation of the Perl plugin altium2kicad by [thesourcerer8]. And back in January another user left a comment with links to four other (non-KiCad) tools to handle Altium files.

If you’d like to try out this nifty new feature for yourself, CNX has a great walkthrough starting at building KiCad from source. As for documents to test against the classic BeagleBone Black sources seen above can be found at on GitHub. Head past the break to check out the very boring, but very exciting video of the importer at work, courtesy of [Thomas] himself. We can’t wait to give this a shot!

Thanks for the tip [Chris Gammell]!

Continue reading “Altium Has Its 2kicad Moment”

NASA Needs Help From Gamers And Citizen Scientists

NASA would like you to help them explore — not space — but the bottom of the ocean. For now, you’ll need an Apple device, although an Android version is in the works. While it might seem strange for the space agency to look underwater, the images they need to process are from fluid-lensing cameras that use techniques originally meant to remove distortion from the atmosphere from pictures of outer space. Turns out they can also unravel distortion caused by the ocean and clearly image coral reefs.

The phone app is in the form of a game and, according to NASA, even a first grader could play it. In the game, you are in command of an ocean research vessel, theĀ Nautilus. You dive to examine coral and identify what you see. The game generates training data for a supercomputer at the Ames Research Center so it can recognize coral types even when taken with more conventional cameras.

Continue reading “NASA Needs Help From Gamers And Citizen Scientists”

Quieting Down A Bandoneon Accordion With MIDI

The bandoneon, known as the tango accordion, is quite a loud instrument to practice within the confines of an apartment, and could possibly lead to some neighborly disputes. [HLB] enjoyed playing his but wanted a way to turn down the volume a bit without, in consideration to his neighbors. Instead of building a whole soundproof room, he decided to throw Arduino’s and MIDI at the problem.

Bandoneons, like all accordions, are operated by pushing air from manually pumped bellows through a series of reeds, which are each opened and closed by a valve mechanism. [HLT] turned each valve lever into a simple on/off switch by attaching a magnet, with hall-effect sensors on long custom PCBs next to each row of valves. The hall effect sensors are connected to I2C I/O expander ICs which connect to an Arduino Nano, one for each side of the instrument, which sends out MIDI messages via serial. Everything is mounted inside what looks like quite an old instrument with Blu Tack to avoid having to make a lot of permanent modifications.

The bandoneon still functions normally with no permanent modifications, so to play with MIDI-only the bellow is simply not pumped. This means [HLB] can’t modulate the MIDI velocity (loudness) while playing, which he admits is a limitation but better than not playing at all. He does, however, note that he could add a pressure sensor inside the bellow if we wanted to add velocity to the midi output when neighbourliness isn’t a consideration. On the audio output side [HLB] built a small stand-alone synthesizer with an Odroid SBC running FluidSynth and a HiFi shield.

Continue reading “Quieting Down A Bandoneon Accordion With MIDI”

Simple Demo Shows The Potential Of Magnetic Gears

We’ve probably all used gears in our projects at one time or another, and even if we’re not familiar with the engineering details, the principles of transmitting torque through meshed teeth are pretty easy to understand. Magnetic gears, though, are a little less intuitive, which is why we appreciated stumbling upon this magnetic gear drivetrain demonstration project.

[William Fraser]’s demo may be simple, but it’s a great introduction to magnetic gearing. The stator is a block of wood with twelve bolts to act as pole pieces, closely spaced in a circle around a shaft. Both ends of the shaft have rotors, one with eleven pairs of neodymium magnets arranged in a circle with alternating polarity, and a pinion on the other side of the stator with a single pair of magnets. When the pinion is spun, the magnetic flux across the pole pieces forces the rotor to revolve in the opposite direction at a 12:1 ratio.

Watching the video below, it would be easy to assume such an arrangement would only work for low torque applications, but [William] demonstrated that the system could take a significant load before clutching out. That could even be a feature for some applications. We’ve got an “Ask Hackaday” article on magnetic gears if you want to dive a little deeper and see what these interesting mechanisms are good for.

Continue reading “Simple Demo Shows The Potential Of Magnetic Gears”

John Horton Conway, Creator Of Conway’s Game Of Life, Has Died

Programmers everywhere are familiar with Conway’s Game of Life: whether they’ve written a version themselves or simply seen the mesmerizing action resulting from the cellular automata, it’s a household name in all homes where code is spoken. On Saturday April 11th, 2020 its inventor and namesake, John Horton Conway passed away from COVID-19 at the age of 82.

Born in Liverpool, Conway received his PhD in mathematics in 1964 from Gonville and Caius College, Cambridge. He accepted a position at Sidney Sussex College, Cambridge which he held until joining the faculty of Princeton University in 1987. A brilliant mathematician, he received numerous awards and was well known for his work in combinatorial game theory, group theory, and theoretical physics.

Many readers will be familiar with his Doomsday algorithm which can be used to deduce the day of the week for any given date in your head. But by far the rockstar mathematics moment of developing Conway’s Game of Life in 1970 cements him a perpetual place of legend in computing lore. His original work on the concept used pencil and paper as the computing revolution had yet to make digital resources easily available, even to mathematics researchers like Conway.

The game uses an infinite grid of squares where all of the edges of the grid wrap around. Four simple rules (which can be boiled down to three if you’re clever) determine which cells live and which cells die during each frame of the “game”. The only parameters that are needed are the number and position of living cells at the start of the game, and the delay between each game frame. But the effect of this simplicity is not to be understated. The game can be coded by a novice — and it’s become a common challenge in University course work. Small errors, or intentional tweaks, in the implementation have profound effects on behavior of the game. And the effect on the person programming it for the first time can be long lasting. You could call it a mathematics gateway drug, grabbing the curiosity of the unsuspecting mind and pulling it down the rabbit hole of advanced mathematics discovery.

We’d love to celebrate his life by hearing your own stories of programming the Game of Life in the comments below. If you haven’t yet had the pleasure, now’s a great time to take on the challenge.

[Game of Life example shown in this article is John Conway’s Game of Life – 1.0 written in Python by Nick Jarvis and Nick Wayne]