Small sensor built into audio jack, held in tweezers

Measuring LED Flicker, With Phototransistor And Audio App

No one likes a flickering light source, but lighting is often dependent on the quality of a building’s main AC power. Light intensity has a close relation to the supply voltage, but bulb type plays a role as well. Incandescent and fluorescent bulbs do not instantly cease emitting the instant power is removed, allowing their output to “coast” somewhat to mask power supply inconsistencies, but LED bulbs can be a different story. LED light output has very little inertia to it, and the quality of both the main AC supply and the bulb’s AC rectifier and filtering will play a big role in the stability of an LED bulb’s output.

Mobile phone spectrum analyzer pointed at light source
The DIY photosensor takes the place of the microphone input.

[Tweepy] wanted to measure and quantify this effect, and found a way to do so with an NPN phototransistor, a resistor, and a 3.5 mm audio plug. The phototransistor and resistor take the place of a microphone plugged into the audio jack of an Android mobile phone, which is running an audio oscilloscope and spectrum analyzer app. The app is meant to work with an audio signal, but it works just as well with [Tweepy]’s DIY photosensor.

Results are simple to interpret; the smoother and fewer the peaks, the better. [Tweepy] did some testing with different lighting solutions and found that the best performer was, perhaps unsurprisingly, a lighting panel intended for photography. The worst performer was an ultra-cheap LED bulb. Not bad for a simple DIY sensor and an existing mobile phone app intended for audio.

Want a closer look at what goes into different LED bulbs and how they tick? We have you covered. Not all LED bulbs are the same, either. Some are stripped to the bone and others are stuffed with unexpected goodness.

ARM’s Chinese Venture Goes Sour

We’re used by now to many of the more capable microcontrollers and systems-on-chip that we use having an ARM core at their heart. From its relatively humble beginings in a 1980s British home computer, the RISC processor architecture from Cambridge has transformed itself into the go-to power-sipping yet powerful core for manufacturers far and wide. This has been the result of astute business decisions over decades, with ARM’s transformation into a fabless vendor of cores as IP at its heart. Recent news suggests that perhaps the astuteness has been in short supply of late though, as it’s reported that ARM’s Chinese subsidiary has gone rogue and detatched from the mothership taking the IP with it.

It seems that the CEO of the Chinese company managed to retain legal power when sacked by the parent company over questionable ties with another of his ventures, and has thus been able to declare it independent of its now-former parent. It still has the ARM IP up to the moment of detatchment and claims to be developing its own new products, but it seems likely that it won’t receive any new ARM IP.

What will be the effect of this at our level? Perhaps we have already seen it, as more Chinese chips such as the cheaper STM32 clones are likely to get low-end ARM cores as a result. It seems likely that newer ARM IP will remain for now in more expensive non-Chinese chip families, but in the middle of a semiconductor shortage it’s likely that we wouldn’t notice anyway. Where it will have a lasting effect is in future Chinese joint ventures by non-Chinese chip companies. Seeing ARM’s then-owner Softbank getting their fingers burned in such a way is likely to provide a disincentive to other companies considering a similar course. Whether ARM will manage to resolve the impasse remains to be seen, but it can hardly be a help to the rocky progress of their Nvidia merger.

See The Unseen With This Magnetic Field Visualizer

The average Hackaday reader likely knows, at least in the academic sense, what a magnetic field looks like. But as the gelatinous orbs in our skull can perceive only a tiny fraction of the EM spectrum, we have to take those textbook diagrams at face value. That is, unless you’ve got one of these nifty magnetic field visualizers developed by [Dr.Stone].

Using an XMC1100 microcontroller development board and a TLV49 3D magnetic sensor, the device is able to track the poles of a magnet in real-time and produce an approximation of what the field lines would look like on its electronic paper display. Relative field strength is indicated by the size of the visualization, which allows the user to easily compare multiple magnets. Incidentally, [Dr.Stone] notes that the current version of the hardware and software can only handle one magnet at a time; visualizing complex magnetic fields and more than two poles would take an array of sensors and likely a more powerful processor.

Do you need to visualize the field lines around a magnet? Perhaps not. But being able to quickly get an idea of how strong a magnet is and identify where its poles are could certainly come in handy. We’d like to see [Dr.Stone] take the project to the next phase and turn this into a handheld device for convenient workbench use. It would be a lot less messy than some of the previous methods we’ve seen for visualizing magnetic fields, though if you’re only worried about field strength, there’s arguably more straightforward ways to display it.

Continue reading “See The Unseen With This Magnetic Field Visualizer”

So How Does A Rocket Fly Sideways, Anyway?

It’s often said that getting into orbit is less about going up, and more about going sideways very fast. So in that sense, the recent launch conducted by aerospace startup Astra could be seen as the vehicle simply getting the order of operations wrong. Instead of going up and then burning towards the horizon, it made an exceptionally unusual sideways flight before finally moving skyward.

As you might expect, the booster didn’t make it to orbit. But not for lack of trying. In fact, that the 11.6 meter (38 feet) vehicle was able to navigate through its unprecedented lateral maneuver and largely correct its flight-path is a testament to the engineering prowess of the team at the Alameda, California based company. It’s worth noting that it was the ground controller’s decision to cut the rocket’s engines once it had flown high and far enough away to not endanger anyone on the ground that ultimately ended the flight; the booster itself was still fighting to reach space until the very last moment.

Astra’s rocket on the launch pad.

There’s a certain irony to the fact that this flight, the third Astra has attempted since their founding in 2016, was the first to be live streamed to YouTube. Had the company not pulled back their usual veil of secrecy, we likely wouldn’t have such glorious high-resolution footage of what will forever be remembered as one of the most bizarre rocket mishaps in history. The surreal image of the rocket smoothly sliding out of frame as if it was trying to avoid the camera’s gaze has already become a meme online, arguably reaching a larger and more diverse audience than would have resulted from a successful launch. As they say, there’s no such thing as bad press.

Naturally, the viral clip has spurred some questions. You don’t have to be a space expert to know that the pointy end of the rocket is usually supposed to go up, but considering how smooth the maneuver looks, some have even wondered if it wasn’t somehow intentional. With so much attention on this unusual event, it seems like the perfect time to take a close look at how Astra’s latest rocket launch went, quite literally, sideways.

Continue reading “So How Does A Rocket Fly Sideways, Anyway?”

A giant, 3D-printed key switch that sends F to pay respects.

Big ‘F’ Key To Pay Big Respects

So your ally was slain. Your comrade has fallen. And somehow, that capital F coming from that tiny key is supposed to convey your respect? Please. What you need is a giant, dedicated F key that matches the size of your respect. And [Jaryd_Giesen] is gonna teach you how to build your own. Well, kind of. Between the Thingiverse build guide and the hilarious build video below, you’ll get the gist.

Making a custom spring using a drill and a 3D printed dowel.One of the coolest things about this build is the custom spring. Between a birthday time crunch and lockdown, there was just no way to source a giant spring in two days, so [Jaryd] printed a cylinder with a hole in it to chuck into a drill and stand in for a lathe. Ten attempts later, and the perfect spring was in there somewhere.

We love the level of detail here — making a pudding-style keycap to match the main keyboard is the icing on this clacky cake. But the best part is hidden away inside: the stem of the giant switch actuates a regular-sized key switch because it’s funnier that way. Since it’s a giant Gateron red, it doesn’t exactly clack, but it doesn’t sound linear, either, mostly because you can hear the printed pieces rubbing together. Check out the build video after the break, and hit up the second video if you just want to hear the thing.

Seeing things embiggened is one of our favorite things around here. Some things are just for looks, but other times they’re useful tools.
Continue reading “Big ‘F’ Key To Pay Big Respects”

The Postmortem Password Problem

Death and passwords: two things we just can’t avoid. With so much of our lives tied up in cloud services nowadays, there’s good reason to worry about what happens to these accounts if we drop dead tomorrow. For many of us, important documents, photos, financial information and other data will be locked behind a login prompt. Your payment methods will also expire shortly after you have, which could lead to data loss if not handled promptly. The most obvious way to address this is to give a trusted party access in case of emergency.

A Bad Solution

Let’s start with the simplest solution: using the same password everywhere.  Great, all you need to do is put this on a Post-it note, stuff it in an envelope, and let someone know where to find it. Unfortunately, using a single password for many services is a terrible idea. Password breaches happen, and if you’re using a single password across the internet, they can be disastrous.

Password breaches are usually the result of an attacker finding a vulnerability that allows reading password data from an application’s database. Odds are high that your information has been leaked in one of these breaches. You can check if your email is on a list of known breaches with Have I Been Pwned. Don’t feel bad if you’ve been pwned, my email shows up on six different breaches, and this service only indexes publicly known breaches!

Depending on the competency of the company that was breached, your password may have been stolen in a few different formats. In the worst case, the passwords were stored as-is (i.e., cleartext), and the breach contains your actual password. Nowadays, storing passwords in cleartext is never considered acceptable. A hash of the password is stored instead. Attackers need to use a tool like hashcat to try to recover the passwords via brute force hash cracking. This is slow for complex passwords, but is always getting faster as GPUs improve.

So we really need to use different passwords everywhere, or our Tumblr account from 2013 could give access to our bank account. Given the large number of services we use and our inability to remember passwords, we’re going to need to use a password manager. Continue reading “The Postmortem Password Problem”

New Part Day: DLP300s The Next Big Thing For Low Cost Resin Printing?

The majority of non-SLA resin 3D printers, certainly at the hacker end of the market, are most certainly LCD based. The SLA kind, where a ultraviolet laser is scanner via galvanometers over the build surface, we shall consider no further in this article.

What we’re talking about are the machines that shine a bright ultraviolet light source directly through a (hopefully monochrome) LCD panel with a 2, 4 or even 8k pixel count. The LCD pixels mask off the areas of the resin that do not need to be polymerised, thus forming the layer being processed. This technique is cheap and repeatable, hence its proliferance at this end of the market.

They do suffer from a few drawbacks however. Firstly, optical convergence in the panel causes a degree of smearing at the resin interface, which reduces effective resolution somewhat. The second issue is one of thermal control – the LCD will transmit less than 5% of the incident light, so for a given exposure at the resin, the input light intensity needs to be quite high, and this loss in the LCD results in significant internal heating and a need for active cooling.  Finally, the heating in the LCD combined with intense UV radiation degrades the LCD over time, making the LCD itself a consumable item.

Continue reading “New Part Day: DLP300s The Next Big Thing For Low Cost Resin Printing?”