Bending Light To Fit Technology

Solar power is an excellent way of generating electricity, whether that’s for an off-grid home or for the power grid. With no moving parts maintenance is relatively low, and the downsides of burning fuel are eliminated as well. But as much as it’s revolutionized power generation over the last few decades, there’s still some performance gains to be made when it comes to the solar cells themselves. A team at Stanford recently made strides in improving cell efficiency by bending the properties of sunlight itself.

In order to generate electricity directly from sunlight, a photon with a specific amount of energy needs to strike the semiconductor material. Any photons with higher energy will waste some of that energy as heat, and any with lower energy won’t generate electricity. Previous methods to solve this problem involve using something similar to a prism to separate the light out into colors (or energies) that correlate to specific types of cells calibrated specifically for those colors. This method does the opposite: it changes the light itself to an color that fits the semiconductor material. In short, a specialized material converts the energy from two lower-energy photons into a single higher-energy photon, which then strikes the solar panel to create energy.

By adding these color-changing materials as a layer to a photovoltaic solar panel, the panel can generate more energy with a given amount of light than a traditional panel. The major hurdle, as with any research, is whether or not this will be viable when produced at scale, and this shows promise in that regard as well. There are other applications for these materials beyond photovoltaics as well, and the researchers provide an excellent demonstration in 3D printing. By adding these color-change materials to resin, red lasers can be used instead of blue or ultraviolet lasers to cure resin in extremely specific locations, leading to stronger and more accurate prints.

Hackaday Links Column Banner

Hackaday Links: May 14, 2023

It’s been a while since we heard from Dmitry Rogozin, the always-entertaining former director of Roscosmos, the Russian space agency. Not content with sending mixed messages about the future of the ISS amid the ongoing war in Ukraine, or attempting to hack a mothballed German space telescope back into action, Rogozin is now spouting off that the Apollo moon landings never happened. His doubts about NASA’s seminal accomplishment apparently started while he was still head of Roscosmos when he tasked a group with looking into the Apollo landings. Rogozin’s conclusion from the data his team came back with isn’t especially creative; whereas some Apollo deniers go to great lengths to find “scientific proof” that we were never there, Rogozin just concluded that because NASA hasn’t ever repeated the feat, it must never have happened.

Continue reading “Hackaday Links: May 14, 2023”

What Does An Electron Look Like?

In school, you probably learned that an atom was like a little solar system with the nucleus as the sun and electrons as the planets. The problem is, as [The Action Lab] points out, the math tells us that if this simplistic model was accurate, matter would be volatile. According to the video you can see below, the right way to think about it is as a standing wave.

What does that mean? The video shows a very interesting demonstrator that shows how that works. You can actually see the standing waves in a metal ring. This is an analog — still not perfect — for the workings of an atom. An input frequency causes the ring to vibrate, and at specific vibration frequencies, a standing wave develops in the ring.

Continue reading “What Does An Electron Look Like?”

Screenshot of the framework-built app, showing it running through Firefox

Turn A Webpage Into A Desktop App With Gluon

Electron is software for running web-written apps in the same way as native ones, and has gotten plenty of bad press for its RAM appetite around these parts. But while the execution might leave something to be desired, the concept itself is quite solid —  if you’ve already got code written for the web, a quick and easy way to bring it over to the desktop would be very valuable.

Which is why [CanadaHonk] is building a framework called Gluon, which aims to turn your web pages into desktop apps with little to no effort. We’ve seen their work a few months ago with the OpenASAR project, hacking the Discord desktop app to speed it up. Drawing from that experience, Gluon is built to be lean – with apps having low RAM and storage footprints, lightning-speed build times, and a no-nonsense API.

One of the coolest parts is that it’s able to use your system-installed browser, and not a bundled-in one like Electron. Firefox support is firmly on the roadmap, too, currently in experimental stage. Linux support is being worked on as well — the framework is Windows-born, but that’s to change. There’s also room to innovate; [CanadaHonk] recently added a hibernation feature with aggressive RAM and CPU footprint reduction when the app is minimized, something that other frameworks like this aren’t known for.

If you want to write user-facing software, JavaScript’s a decent language, and quite a few of you are going to be familiar with it. You aren’t limited to the software side of the tech world, either — tools like WebUSB and WebSerial will let you write a user interface for a board that you’ve just developed. For instance, here’s a WebSerial-based oscilloscope, a nifty serial terminal, or a hacker conference badge programming toolkit. For all that browsers have gotten wrong, they certainly don’t seem to become less abundant, and if that means you can quickly develop cross-platform hardware-facing apps, it’s certainly a useful addition to one’s toolkit.

Screenshot of the OpenAsar config window, showing a few of the configuration options

OpenAsar Tweaks Discord’s Frontend, Improves Performance And Privacy

Not all hacking happens on hardware — every now and then, we ought to hack our software-based tools, too. [Ducko] tells us about a partially open-source rewrite of Discord’s Electron-based frontend. Web apps can be hard to tinker with, which is why such projects are to be appreciated. Now, this isn’t a reverse-engineering of Discord’s API or an alternative client per se, but it does offer a hopeful perspective on what the Discord client ought to do for us.

First of all, the client loads noticeably faster, not unlike the famous GTA Online speedup (which was also a user-driven improvement), with channel and server switching made less laggy —  and the Linux updater was de-cruft-ified as well. [Ducko] tells us how she got rid of the numerous NPM dependencies of the original code – it turned out that most of the dependencies could be easily replaced with Node.JS native APIs or Linux binaries like unzip.  Apart from much-appreciated performance improvements, there are also options like telemetry bypass, and customization mechanisms for your own theming. You won’t get Discord on your Apple ][ just yet, but the native client will be a bit friendlier towards you.

While Discord is ultimately a proprietary platform, we do it see used in cool hacks every now and then, like this tea mug temperature-tracking coaster. Would you like to code your own Discord bot? We wrote a walk-through for that. Last but not least, if you like what we wrote and you happen to also use Discord, you should check out the Hackaday Discord server!

With Rocket Lab’s Daring Midair Catch, Reusable Rockets Go Mainstream

We’ve all marveled at the videos of SpaceX rockets returning to their point of origin and landing on their spindly deployable legs, looking for all the world like something pulled from a 1950s science fiction film.  On countless occasions founder Elon Musk and president Gwynne Shotwell have extolled the virtues of reusable rockets, such as lower operating cost and the higher reliability that comes with each booster having a flight heritage. At this point, even NASA feels confident enough to fly their missions and astronauts on reused SpaceX hardware.

Even so, SpaceX’s reusability program has remained an outlier, as all other launch providers have stayed the course and continue to offer only expendable booster rockets. Competitors such as United Launch Alliance and Blue Origin have teased varying degrees of reusability for their future vehicles, but to date have nothing to show for it beyond some flashy computer-generated imagery. All the while SpaceX continues to streamline their process, reducing turnaround time and refurbishment costs with each successful reuse of a Falcon 9 booster.

But that changed earlier this month, when a helicopter successfully caught one of Rocket Lab’s Electron boosters in midair as it fell back down to Earth under a parachute. While calling the two companies outright competitors might be a stretch given the relative sizes and capabilities of their boosters, SpaceX finally has a sparing partner when it comes to the science of reusability. The Falcon 9 has already smashed the Space Shuttle’s record turnaround time, but perhaps Rocket Lab will be the first to achieve Elon Musk’s stated goal of re-flying a rocket within 24 hours of its recovery.

Continue reading “With Rocket Lab’s Daring Midair Catch, Reusable Rockets Go Mainstream”

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.