Lightning Analysis With Your SDR

Perhaps it’s just one of those things adults dream up to entertain their children, but were you ever told to count slowly the time between seeing a lightning flash and hearing the rumble of thunder? The idea was that the count would tell you how far away the storm was, but from a grown-up perspective the calibration accuracy of a child saying “one… two…three…” in miles seems highly suspect. It’s a valid technique though, and it can be used to monitor thunderstorms by the radio emissions created through the electrical discharge. It’s an area the SAGE project has been working in, and they’ve posted some details including a fascinating run-down of the software techniques , on how lightning can be detected with an RTL-SDR.

A lightning strike produces a characteristic wideband burst that shows up in the time domain as a maximum point that can easily be detected but could also be confused with radio interference from another source. Thus after identifying maxima they zoom in and perform a Fourier transform to spot the wideband burst. It’s all done in Python, and the pleasant surprise is how straightforward to understand it all is.

SAGE are working on a distributed sensor network, so we hope this work might one day give us real-time open lightning data. The FFT approach should ensure that it won’t be fooled by false positives as a traditional detector might be.

Via RTL-SDR.com.

Tackling Trunked Radio With Software

For those starting to wade into radio as a hobby, one of the first real technical challenges is understanding trunked radio systems. On the surface, it seems straightforward: A control channel allows users to share a section of bandwidth rather than take up one complete channel, allowing for greater usage of the frequency range. In practice though it can be difficult to follow along, but now it’s slightly easier thanks to software defined radio.

This guide comes to us from [AndrewNohawk], who is located in San Francisco and is using his system to monitor police, fire, and EMS activity. These groups typically used trunked radio systems due to the large number of users. For listening in, nothing more than an RTL-SDR setup is needed, and the guide walks us through using this setup to find the control channels, the center frequency, and then identifying the “talk groups” for whichever organization you want to listen in on.

The guide goes into great detail, including lists of software needed to get a system like this started up, and since [AndrewNohawk] is a self-identified “radio noob” the guide is perfectly accessible to people who are new to radio and specifically new to trunked systems like these. Once you get the hang of it, it’s not too hard to scale up, either.

Hackaday Links Column Banner

Hackaday Links: June 7, 2020

For many of us who were in college at the time, the 1989 release of Will Wright’s classic SimCity sounded the death knell of our GPAs. Being able to create virtual worlds and then smite them with a tornado or a kaiju attack was the stuff of a procrastinator’s dreams. We always liked the industrial side of the game best, and took great pains in laying out the factory zones, power plants, and seaports. Those of a similar bent will be happy to know that Maxis, the studio behind the game, had a business simulations division, and one of their products was a complete refinery simulator the studio built for Chevron called, unsurprisingly, SimRefinery. The game, which bears a striking resemblance to SimCity, has been recovered and is now available for download, which means endless procrastination by playing virtual petrochemical engineer is only a mouse click away.

Speaking of time wasters, we stumbled upon another simulation this week that sucked away a couple of hours of productivity. As RTL-SDR.com reports, YouTuber called Information Zulu has a 24/7 live stream showing arrivals and departures at Los Angeles International Airport. That may sound boring, but the cameras used to watch the runways are virtual, and the planes are animated based on ADS-B data being scooped up by an RTL-SDR dongle. We pinged Information Zulu and asked for a rundown of the gear behind the system, but never heard back. If we do, we’ll post a full article on what we learned, because the level of detail is amazing. The arriving and departing planes sport the correct livery for the airline, the current weather conditions are shown, taxiing is shown in real time, and there’s even an audio feed from air traffic control.

If you’re looking to gain back a little of the productivity lost to the last two items, Digi-Key might be able to help with their new PCB Builder service. All you have to do is upload your gerbers and select your materials, and they’ll give you options for a bunch of different quick-turn fabrication houses. Looks mighty convenient.

Steve Mould dropped a video this week about vibration analysis. That might not sound very exciting, but the fascinating bit is how companies are now using motion amplification video techniques to show how and where industrial equipment is moving, even if those motions are too subtle to be seen by the naked eye. It’s frankly terrifying to see how pipes flex and tanks expand and contract, and how pumps and motors move relative to each other. The technique used is similar to the way a person’s pulse can be detected on a video by the subtle color change as blood rushes into capillaries. We’d love to see someone tackle a homebrew version of this so we can all see what’s going on around us.

And finally, we want to remind everyone that the Hackaday Prize is back, and that you should get your entries going. What’s new this year is the Dream Team challenges, where four worthy non-profits organizations will each assemble a three-person team to work on a specific pain-point in their process. The application deadline has been extended to June 9, and there are two $3,000 microgrants, one in June and one in July, for each team member. So look through the design briefs and see if your skills match their needs.

A Dual Screen Luggable With Integrated RTL-SDR

It’s been fascinating to watch the development of bespoke mobile computers go from a few sheets of foam board and a Raspberry Pi into hardware that looks like it’s actually been transported here from an alternate reality. Granted a Raspberry Pi is more often than not still onboard, but the overall design and construction techniques of these very personal computers has improved by leaps and bounds.

The latest of these cyberdecks, a dual screen “luggable” reminiscent of classic computers like the Compaq Portable or Kaypro, comes our way from [dapperrogue]. Powered by the Raspberry Pi 4 and featuring a scratch-built mechanical keyboard to perfectly fit the machines’s specific dimensions, this is easily one of the more practical builds we’ve seen. As visually striking as they may be, few would argue that the small offset display that seems characteristic of most decks are ideal from a usability standpoint.

While the keyboard plate was milled out on a CNC, [dapperrogue] says the design of the HDPE body panels and rear polycarbonate viewing window were simple enough they could be done by hand on a band saw. The PETG internal frame uses a Voronoi pattern that not only reduces the amount of time and material required to print it, but maximizes airflow. The fact that it looks like some kind of alien biological life form only helps the retro-futuristic aesthetics.

There’s still plenty of room inside the enclosure, which is good, as [dapperrogue] says there’s more goodies to come. Adding internal battery power is a logical next step, and now that the Pi 4 can boot to external drives, and SSD is also on the list of future upgrades.

For readers who might be getting a sense of déjà vu from this project, [dapperrogue] notes this design was inspired by the phenomenal Reviiser that [Dave Estes] released earlier this year.

Receive Analog Video Radio Signals From Scratch

If you’ve been on the RTL-SDR forums lately you may have seen that a lot of work has been going into the DragonOS software. This is a software-defined radio group that has seen a lot of effort put into a purpose-built Debian-based Linux distribution that can do a lot of SDR out of the box. The latest and most exciting project coming from them involves a method for using the software to receive and demodulate analog video.

[Aaron]’s video (linked below) demonstrates using a particular piece of software called SigDigger to analyze an incoming analog video stream from a drone using a HackRF. (Of course any incoming analog signal could be used, it doesn’t need to be a drone.) The software shows the various active frequency ranges, allows a user to narrow in on one and then start demodulating it. While it has to be dialed in just right to get anything that doesn’t look like snow, [Aaron] is able to get recognizable results in just a few minutes.

Getting something like this to work completely in software is an impressive feat, especially considering that all of the software used here is free. Granted, this wouldn’t be as easy for a digital signal like most TV stations broadcast, but there’s still a lot of fun to be had. In case you missed the release of DragonOS, we covered it a few weeks ago and it’s only gotten better since then, with this project just as one example.

Continue reading “Receive Analog Video Radio Signals From Scratch”

Hackaday Links Column Banner

Hackaday Links: December 29, 2019

The retrocomputing crowd will go to great lengths to recreate the computers of yesteryear, and no matter which species of computer is being restored, getting it just right is a badge of honor in the community. The case and keyboard obviously playing a big part in that look, so when a crowdfunding campaign to create new keycaps for the C64 was announced, Commodore fans jumped to fund it. Sadly, more than four years later, the promised keycaps haven’t been delivered. One disappointed backer, Jim Drew, decided he was sick of waiting, so he delved into the world of keycaps injection molding and started his own competing campaign. Jim details his adventures in his Kickstarter Indiegogo campaign, which makes for good reading even if you’re not into Commodore refurbishment. Here’s hoping Jim has better luck than the competition did.

Looking for anonymity in our increasingly surveilled world? You’re not alone, and in fact, we predict facial recognition spoofing products and methods will be a growth industry in the new decade. Aside from the obvious – and often illegal – approach of wearing a mask that blocks most of the features machine learning algorithms use to quantify your face, one now has another option, in the form of a colorful pattern that makes you invisible to the YOLOv2 algorithm. The pattern, which looks like a soft-focus crowd scene rendered in Mardi Gras colors, won’t make the algorithm think you’re someone else, but it will prevent you from being classified as a person. It won’t work with any other AI algorithm, but it’s still an interesting phenomenon.

We saw a great hack come this week about using an RTL-SDR to track down a water leak. Clayton’s water bill suddenly skyrocketed, and he wanted to track down the source. Luckily, his water meter uses the encoder receive-transmit (ERT) protocol on the 900 MHz ISM band to report his usage, so he threw an SDR dongle and rtlamr at the problem. After logging his data, massaging it a bit with some Python code, and graphing water consumption over time, he found that water was being used even when nobody was home. That helped him find the culprit – leaky flap valves in the toilets resulting in a slow drip that ran up the bill. There were probably other ways to attack the problem, but we like this approach just fine.

Are your flex PCBs making you cry? Friend of Hackaday Drew Fustini sent us a tip on teardrop pads to reduce the mechanical stress on traces when the board flexes. The trouble is that KiCad can’t natively create teardrop pads. Thankfully an action plugin makes teardrops a snap. Drew goes into a bit of detail on how the plugin works and shows the results of some test PCBs he made with them. It’s a nice trick to keep in mind for your flexible design work.

Russia’s Newest Weather Satellite May Have Been Killed By Space Junk

For humans and satellites alike, making a living in space is hard. First, there’s the problem of surviving the brief but energetic and failure-prone ride there, after which you get to alternately roast and freeze as you zip around the planet at 20 times the speed of sound. The latter fact is made all the more dangerous by the swarm of space debris, both natural and man-made, that whizzes away up there along with you, waiting to cause an accident.

One such accident has apparently led to the early demise of a Russian weather satellite. Just a few months after launch, Meteor-M 2-2 suffered a sudden orbital anomaly (link to Russian story; English translation). Analysis of the data makes it pretty clear what happened: the satellite was struck by something, and despite some ground-controller heroics which appear to have stabilized the spacecraft, the odds are that Meteor-M 2-2 will eventually succumb to its wounds.

Continue reading “Russia’s Newest Weather Satellite May Have Been Killed By Space Junk”