LED Matrix Hourglass Knows Which Way Is Up

[Fearless Night]’s slick dual hourglass doesn’t just simulate sand with LEDs, it also emulates the effects of gravity on those simulated particles and offers a few different mode options.

The unit uses an Arduino (with ATMEGA328P) and an MPU-6050 accelerometer breakout board to sense orientation and movement, and the rest is just a matter of software. Both the Arduino and the MPU-6050 board are readily available and not particularly expensive, and the LED matrix displays are just 8×8 arrays of red/green LEDs, each driven by a HT16K33 LED controller IC.

The enclosure and stand are both 3D-printed, and a PCB not only mounts the components but also serves as a top cover, with the silkscreen layer of the PCB making for some handy labels. It’s a clever way to make the PCB pull double-duty, which is a technique [Fearless Night] also used on their earlier optical theremin design.

Those looking to make one of their own will find all the design files and source code handily available from the project page. It might not be able to tell time in the classical sense, but seeing the hourglass displays react to the device’s orientation is a really neat effect.

Game Development Hack Chat

Join us on Wednesday, August 18 at noon Pacific for the Game Development Hack Chat with Kyle Donnelly!

Chances are we all have fallen into the time trap of computer games at one point or another. It’s easy to do — the worlds that games put before us can be immersive and addictive, and even if they’re populated by fantastical creatures hell-bent on our virtual destruction, they offer a degree of escapism and relaxation that can be hard to come by with any other form of entertainment.

But what does it take to build these virtual worlds? How exactly does one come up with all the ideas needed to make a game fresh and exciting? And once you’ve got the ideas, how do you turn them into the code needed to make the whole thing work? Kyle Donnelly has quite a bit of experience with the game development process, seeing his idea through from initial prototyping to working with a publisher and even getting the game demonstrated at conventions. Along the way, he picked up a collection of tips and shortcuts to make the process easier, as well as developing a small suite of tools to help set up and test game levels quickly and easily, and to deal with the custom physics of his virtual world.

Join us as Kyle stops by the Hack Chat to talk about game development from an angle that rarely gets much coverage — from the software side.

join-hack-chatOur Hack Chats are live community events in the Hackaday.io Hack Chat group messaging. This week we’ll be sitting down on Wednesday, August 18 at 12:00 PM Pacific time. If time zones have you tied up, we have a handy time zone converter.

Banner Art: Video Games Awesome Fanart by sacolin99.

Improving OLED VU Meters With A Little Physics

Last month we featured a project that aimed to recreate the iconic mechanical VU meter with an Arduino and a common OLED display. It was cheap and easy to implement, and promised to bring a little retro style to your otherwise thoroughly modern project.

[sjm4306] liked the idea, but thought it was a tad too stiff. So he’s been experimenting with adding some physics to the meter’s virtual needle to better approximate the distinctive lag and overshoot that’s part and parcel of analog indicators. Obviously it’s something that can only be appreciated in motion, so check out the video below for an up-close look at his quasi-retro indicator.

Unfortunately there’s no code for you to play with right now, but [sjm4306] says he’ll release it on the project’s Hackaday.IO page once he’s cleaned things up a bit. We know it will take more than a few wiggling pixels to pry real analog indicators out of some hacker’s tool boxes, but anything that helps improve the digital approximation of this sort of vintage hardware is a win in our book. Continue reading “Improving OLED VU Meters With A Little Physics”

3D Printing May Disprove Lord Kelvin

If you think 3D printing is only good for benchies, key chains, and printer parts, you might enjoy the paper by two physicists from Wesleyan University and the University of Gothenburg. Lord Kelvin — also known as William Thomson — hypothesized a shape known as an isotropic helicoid. As its name implies, the shape would look the same from any angle. Kelvin predicted that such a shape would spin as it sank in a liquid. Turns out, 3D printing proves it wrong. (The actual paywalled paper is available.)

It might seem strange that scientists are only now getting around to disproving a 150-year old hypothesis. However, the paper’s authors think Kelvin may have built the structures — he provided precise instructions — and simply dropped it when it proved incorrect.

Continue reading “3D Printing May Disprove Lord Kelvin”

Measuring Planck’s Constant With LEDs And A DMM

The remarkable thing about our universe is that it’s possible to explore at least some of its inner workings with very simple tools. Gravity is one example, to which [Galileo]’s inclined planes and balls bear witness. But that’s classical mechanics: surely the weirdness that is quantum mechanics requires far more sophisticated instrumentation to explore, right?

That’s true enough — if you consider a voltmeter and a Mark 1 eyeball to be sophisticated. That’s pretty much all you need for instruments to determine Planck’s constant to a decent degree of precision, the way that [poblocki1982]’s did. There’s a little more to it, of course; the method is based on measuring the voltage at which LEDs of various wavelengths start shining, so a simple circuit was built to select an LED from the somewhat grandly named “photon energy array” and provide a way to adjust and monitor the voltage and current.

By performing the experiment in a dark room with adapted eyes, or by using an opaque tube to block out stray light, it’s possible to slowly ramp the voltage up until the first glimmer of light is seen from each LED. Recording the voltage and the wavelength gives you the raw numbers to calculate the Planck constant h, as well as the Planck error Δh, with the help of a handy spreadsheet. [poblocki1982] managed to get within 11% of the published value — not too shabby at all.

Does this all still sound too complicated for you? Maybe a Watt balance made from Lego is more your speed.

Building Blocks: Relating Mechanical Elements To Electronic Components

Ask any electronics hobbyist or professional what the simplest building blocks of electronic circuits are, and they’ll undoubtedly say resistors, capacitors, and inductors. Ask a mechanically-inclined person the same question about their field and the answer will probably be less straightforward. Springs would make the list for sure, but then… hmm. Maybe gears? 80/20 aluminum extrusions?

As it turns out, there are a handful of fundamental building blocks in the mechanisms world, and they’re functionally very similar, and mathematically identical, to the Big Three found in electrical engineering.

Mechanical Equivalents

Before we look at the components themselves, let’s step back a moment and think about voltage and current. Voltage is a potential difference between two points in a circuit, sometimes called electromotive force (EMF). It turns out that EMF is an apt term for it, because it is roughly analogous to, well, force. Voltage describes how “hard” electrons are being “pushed” in a circuit. In much the same vein, current describes the rate of electric charge flow. Continue reading “Building Blocks: Relating Mechanical Elements To Electronic Components”

Something’s Up In Switzerland: Explaining The B Meson News From The Large Hadron Collider

Particle physics is a field of extremes. Scales always have 10really big number associated. Some results from the Large Hadron Collider Beauty (LHCb) experiment have recently been reported that are statistically significant, and they may have profound implications for the Standard Model, but it might also just be a numbers anomaly, and we won’t get to find out for a while. Let’s dive into the basics of quantum particles, in case your elementary school education is a little rusty.

It all starts when one particle loves another particle very much and they are attracted to each other, but then things move too fast, and all of a sudden they’re going in circles in opposite directions, and then they break up catastrophically…

Continue reading “Something’s Up In Switzerland: Explaining The B Meson News From The Large Hadron Collider”