Flashlight Door Lock Is A Bright Idea

There are many ways to lock a door. You could use a keypad, an RFID card, a fingerprint or retina scan, Wi-Fi, Bluetooth, the list goes on. You could even use a regular old metal key. But none of these may be as secure as [mircemk]’s Arduino-based door lock that employs a smartphone’s flashlight as a pass code.

At first blush, this seems horribly insecure. Use a plain old flashlight to open a door? Come on. But the key is in the software. In fact, between the typed-in pass code and the flash of light it generates, this lock kind of has two layers of security.

Here’s what’s going on: inside the accompanying smart phone application, there’s a list of passwords. Each of these passwords corresponds to a flash of light in milliseconds. Enter the correct password to satisfy the Arduino, and the phone’s flashlight is activated for the appropriate number of milliseconds to unlock the door.

As you’ll see in the video below, simply flashing the light manually doesn’t unlock the door, and neither does entering one of the other, bogus passwords. Although it does activate the flashlight each time, they don’t have the appropriate light-time length defined.

Hardware-wise, there is an Arduino Nano Every in charge of the LDR module that reads the flashlight input and the 12 V relay that unlocks the door. Be sure to check it out it the video after the break.

If you want to keep your critters from bringing wild critters back inside, check out this Wi-Fi cat door that lets you have a look at what might be dangling from their jaws before unlocking the door.

Continue reading “Flashlight Door Lock Is A Bright Idea”

The Moment A Bullet Turns Into A Flashlight, Caught On Film

[The Slo Mo Guys] caught something fascinating while filming some firearms at 82,000 frames per second: a visible emission of light immediately preceding a bullet impact. The moment it occurs is pictured above, but if you’d like to jump directly to the point in the video where this occurs, it all starts at [8:18].

The ability to capture ultra-slow motion allows us to see things that would otherwise happen far too quickly to perceive, and there are quite a few visual spectacles in the whole video. We’ll talk a bit about what is involved, and what could be happening.

Spotting something unusual on video replay is what exteme slo-mo filming is all about.

First of all, the clear blocks being shot are ballistic gel. These dense blocks are tough, elastic, and a common sight in firearms testing because they reliably and consistently measure things like bullet deformation, fragmentation, and impact. It’s possible to make homemade ballistic gel with sufficient quantities of gelatin and water, but the clear ones like you see here are oil-based, visually clear, and more stable (they do not shrink due to evaporation).

We’ve seen the diesel effect occur in ballistic gelatin, which is most likely the result of the bullet impact vaporizing small amounts of the (oil-based) gel when the channel forms, and that vaporized material ignites due to a sudden increase in pressure as it contracts.

In the video linked above (and embedded below), there is probably a bit more in the mix. The rifles being tested are large-bore rifles, firing big cartridges with a large amount of gunpowder igniting behind each bullet. The burning powder causes a rapid expansion of hot, pressurized gasses that push the bullet down the barrel at tremendous speed. As the bullet exits, so does a jet of hot gasses. Sometimes, the last bits of burning powder are visible as a brief muzzle flash that accompanies the bullet leaving the barrel.

A large projectile traveling at supersonic velocities results in a large channel and expansion when it hits ballistic gel, but when fired at close range there are hot gasses from the muzzle and any remaining burning gunpowder in the mix, as well. All of which help generate the kind of visual spectacles we see here.

We suspect that the single frame of a flashlight-like emission of light as the flat-nosed bullet strikes the face of the gel is also the result of the diesel effect, but it’s an absolutely remarkable visual and a fascinating thing to capture on film. You can watch the whole thing just below the page break.

Continue reading “The Moment A Bullet Turns Into A Flashlight, Caught On Film”

Hackaday Podcast 203: Flashlight Fuel Fails, Weird DMA Machines, And A 3D Printed Prosthetic Hand Flex

This week, Editor-in-Chief Elliot Williams and Managing Editor Tom Nardi meet up virtually to talk about all the hacks that are fit to print. This week’s episode starts off with a discussion about the recently unveiled 2023 Hackaday.io Low-Power Challenge, and how hackers more often than not thrive when forced to work within these sort of narrow parameters. Discussion then continues to adding a virtual core to the RP2040, crowd-sourced device reliability information, and mechanical Soviet space computers. We’ll wrap things up by wondering what could have been had Mattel’s ill-fated ThingMaker 3D printer actually hit the market, and then engage in some wild speculation about the issues plaguing NASA’s latest Moon mission.

Check out the links below if you want to follow along, and as always, tell us what you think about this episode in the comments!

Available in the cloud, or as download!

Continue reading “Hackaday Podcast 203: Flashlight Fuel Fails, Weird DMA Machines, And A 3D Printed Prosthetic Hand Flex”

Listening To A Flashlight — Lunar Flashlight

If you’ve been looking for a practical example of using GNU Radio, you should check out [Daniel Estévez’s] work on decoding telemetry captured from the Lunar Flashlight cubesat. The cubesat is having some trouble, but the data in question was a recording from the day after launch. We aren’t sure what it would take to eavesdrop on it live, but the 3-minute recording is from a 20-meter antenna at 8.4 GHz.

The flowgraph for GNU Radio isn’t as bad as you might think, thanks to some judicious reuse of blocks from other projects to do some of the decoding. The modulation is PCM/PM/bi-phase-L. Nominally, the speed is supposed to be 48,000 baud, but [Daniel] measured 48,077.

Continue reading “Listening To A Flashlight — Lunar Flashlight”

Is Your Flashlight A Lumen Liar? Build A DIY Integrating Sphere

A lamp used to be simple thing: just stick a filament in a glass bulb, pass a current through it and behold! Let there be light. A bigger lamp meant a larger filament, taking more power and a larger envelope. Now we’ve moved on a bit, and it’s all about LEDs. There really isn’t such a thing as ‘just an LED,’ these are semiconductor devices, made from relatively exotic materials (OK, not just plain old silicon anyway) and there is quite a lot of variety to choose from, and a bit of complexity in selecting them.

For [Torque Test Channel] the efficiency of conversion from electrical power to radiant power (or flux) is the headline figure of interest, which prompted them to buy a bunch of lamps to compare. To do the job justice that requires what’s known in the business as an integrating sphere (aka an Ulbricht sphere), but being a specialist device, it’s a bit pricey for the home gamer. So naturally, they decided to build the thing themselves.

Coating the inside of the foam sphere took several attempts.

Firstly they did the sensible thing, and shipped off their test units to a metrology lab with the ‘proper’ equipment, to get a baseline to calibrate against. Next they set about using some fairly common materials to construct their sphere. The basic idea is quite simple; it has a uniform diffuse internal surface, which ensures that all photons emitted by a source can be measured at the appropriate measurement port, regardless of the angle they are emitted from the source. This way, the total radiated power can be determined, or at least estimated, since there will be a degree of absorption.

Anyway, after a couple of false starts with coating the internal surface, they came to the conclusion that mixing barium sulphate into the paint, and then a bit of a rub-down with sandpaper, gave the required pure white, diffuse surface.

The results from their testing, using a lux meter inserted into one of the other ports, showed a pretty good correspondence between their measured lux figure and the lab-determined lumens figure. Since one lux is defined as one lumen per square meter, they seemed to get lucky and found a consistent ten-to-one ratio between their observed value and the lab. This factor will be simply due to the physical setup of their contraption, but an encouraging result so far anyway. And what about the bottom line? Did those test units deliver their promised lumen output? It would seem that they pretty much did.

When it rains, it pours. Just a few hours ago we saw another DIY approach to building an integrating sphere, this time using a small cannonball mold of all things. Before that we hadn’t actually seen too many light measurement projects, save this old one that used the chipKIT. Continue reading “Is Your Flashlight A Lumen Liar? Build A DIY Integrating Sphere”

big LED flashlight

Own The Night With This Ludicrously Bright DIY Flashlight

If you’re a flashlight person, you know that there’s little you would do to get the brightest, most powerful, most ridiculous flashlight possible. You might even decide to build yourself a ludicrously powerful flashlight, like [Maciej Nowak] did.

If you choose the DIY route, be warned that it’s probably not going to be a simple process, at least if you follow [Maciej]’s lead. His flashlight is machined out of aluminum rounds, all turned down on the lathe to form the head of the flashlight. The head is made from three parts, each of which acts as a heat sink for the five 20-Watt CREE XHP70 LED modules. The LEDs are mounted with care to thermal considerations, and wired in series to DC-DC converter that provides the necessary 30 V using a battery pack made from four 21700 Li-ion cells. The electronics, which also includes a BMS for charging the battery and a MOSFET switching module, form a tidy package that fits into the aluminum handle.

The video below shows that the flashlight is remarkably bright, with a nice, even field with no hotspots. Given the 45-minute useful life and the three-hour recharge time, it might have been nice to make it so anywhere from one to five of the LEDs could be turned on at once. Some interesting effects might be had from switching the LEDs on sequentially, too.

Given the proclivities of our community, it’s no surprise that this is hardly the first powerful flashlight we’ve seen. This one broke the 100-Watt barrier with a single COB LED, while this ammo-can version sports an even higher light output. Neither of them looks much like a traditional flashlight, though, which is where [Maciej]’s build has the edge.

Continue reading “Own The Night With This Ludicrously Bright DIY Flashlight”

101 Uses For An Everready — Flashlight History

For some reason, I’m always interested in why things are called what they are. For example, I’ve been compelled in the past to research what Absorbine Senior is. Not that it is important, but Absorbine Junior is a smaller size of horse liniment, so you don’t have to buy a drum of ordinary Absorbine just to rub down your sore thumb. So it isn’t a mystery that I would find myself musing over why we call a flashlight a flashlight.

You don’t think of a flashlight as flashing, under normal circumstances, at least. Turns out the answer lies in the history of the device, its poor beginnings, and our willingness to treat imperfect components as though they were much better than they are. That last point, by the way, still has ramifications today, so even if you aren’t a fan of flashlight history, keep reading.

Portable Lighting

Ever since people learned to use fire, there’s been a desire for portable lighting. Torches, candles, and even oil lamps have all had their place. But burning things for light in small cramped spaces leaves a lot to be desired. It isn’t surprising that people quickly turned to electricity when that seemed to be feasible.

Continue reading “101 Uses For An Everready — Flashlight History”