Ryan Flowers – Hackaday https://hackaday.com Fresh hacks every day Mon, 01 Apr 2024 20:37:05 +0000 en-US hourly 1 https://wordpress.org/?v=6.6.2 156670177 A Practical Guide To Understanding How Radios Work https://hackaday.com/2024/03/30/a-practical-guide-to-understanding-how-radios-work/ https://hackaday.com/2024/03/30/a-practical-guide-to-understanding-how-radios-work/#comments Sat, 30 Mar 2024 20:00:00 +0000 https://hackaday.com/?p=671315 How may radios do you own? Forget the AM/FM, GMRS/FRS radios you listen to or communicate with. We’re talking about the multiple radios and antennas in your phone, your TV, your …read more]]>

How may radios do you own? Forget the AM/FM, GMRS/FRS radios you listen to or communicate with. We’re talking about the multiple radios and antennas in your phone, your TV, your car, your garage door opener, every computing device you own- you get the idea. It’s doubtful that you can accurately count them even in your own home. But what principles of the electromagnetic spectrum allow radio to work, and how do antenna design, modulation, and mixing affect it? [Michał Zalewski] aka [lcamtuf] aims to inform you with his excellent article Radios, how do they work?

A simple illustration compares a capacitor to a dipole antenna.
A simple illustration compares a capacitor to a dipole antenna.

For those of you with a penchant for difficult maths, there’s some good old formulae published in the article that’ll help you understand the physics of radio. For the rest of us, there are a plethora of fantastic illustrations showing some of the less obvious principals, such as why a longer diploe is more directional than a shorter dipole.

The article opens with a thought experiment, explaining how two dipole antennas are like capacitors, but then also explains how they are different, and why a 1/4 wave dipole saves the day. Of course it doesn’t stop there. [lcamtuf]’s animations show the action of a sine wave on a 1/4 wave dipole, bringing a nearly imaginary concept right into the real world, helping us visualize one of the most basic concepts of radio.

Now that you’re got a basic understanding of how radios work, why not Listen to Jupiter with your own homebrew receiver?

]]>
https://hackaday.com/2024/03/30/a-practical-guide-to-understanding-how-radios-work/feed/ 9 671315 lcamtuf-featured A simple illustration compares a capacitor to a dipole antenna.
Galvanize Your Grip On Grep With This Great Grep Guide https://hackaday.com/2024/03/26/galvanize-your-grip-on-grep-with-this-great-grep-guide/ https://hackaday.com/2024/03/26/galvanize-your-grip-on-grep-with-this-great-grep-guide/#comments Wed, 27 Mar 2024 02:00:07 +0000 https://hackaday.com/?p=670708 Grep By Example is also available as a PDF Minibook, and a Grep playground helps you learn quickly.These days, you can’t throw a USB stick without hitting something that’s running Linux. It might be a phone, an embedded device, or your TV. Either way, it’s running Linux, …read more]]> Grep By Example is also available as a PDF Minibook, and a Grep playground helps you learn quickly.

These days, you can’t throw a USB stick without hitting something that’s running Linux. It might be a phone, an embedded device, or your TV. Either way, it’s running Linux, and somewhere along the line of the development of whatever your USB stick smacked into, somebody used the Global Regular Expression Print utility- better known as Grep. But what is Grep, and why do you need it? [Anton Zhiyanov] not only answers those questions but provides Grep by example: Interactive Guide to help you along.

Grep By Example is also available as a PDF Minibook, and a Grep playground helps you learn quickly.
Grep By Example is also available as a PDF Minibook, and a Grep playground helps you learn quickly.

To understand Linux, one must understand its commercial predecessor, Unix. One of the things that made Unix (and then Linux) unique was its philosophy: Write programs that work together, do one thing well, and handle text streams.  This philosophy describes a huge number of programs, and one of these programs is Grep. It’s installed everywhere there’s a *nix installed, and once one becomes familiar with it, their command-line-fu reaches an all new level.

At its core, Grep is simply a bloodhound. It’s scent? A magical incantation called Regular Expressions. Regular Expressions (aka Regex) are simply a way of describing what a stream of text should look like. So when you feed Grep a bit of Regular Expression, it Prints only the text that matches that expression. Neat, right?

The trouble is that Regex can be kind of hard, and Grep has various versions and capabilities that need to be learned. And this is where the article shines- it covers both in an excellent interactive tutorial that’ll help you become a Grep Guru in no time. And if you want to do a deeper dive, check out what it takes to make your own Regex Engine from scratch!

]]>
https://hackaday.com/2024/03/26/galvanize-your-grip-on-grep-with-this-great-grep-guide/feed/ 12 670708 grep-grip
A Bicycle Powered By A Different Kind Of Eddy https://hackaday.com/2023/05/16/a-bicycle-powered-by-a-different-kind-of-eddy/ https://hackaday.com/2023/05/16/a-bicycle-powered-by-a-different-kind-of-eddy/#comments Tue, 16 May 2023 20:00:04 +0000 https://hackaday.com/?p=582933 When you think of a bicycle and an Eddy, you’d be forgiven for thinking first of Eddy Merckx, one of the most successful competitive cyclists to ever live. But this …read more]]>

When you think of a bicycle and an Eddy, you’d be forgiven for thinking first of Eddy Merckx, one of the most successful competitive cyclists to ever live. But this bicycle, modified by [Tom Stanton] as shown in the video below the break, has been modified by ditching its direct drive gearing in favor of using the friction-like eddy currents between magnets and copper to transfer power to the wheel.

Before even beginning to construct a mechanism for powering the bicycle, [Tom] had to figure out the basics: what kind of materials could be used for a metal disk? The answer, after much testing, turned out to be copper. What kind of magnets work best, and in what formation? Expensive high grade, aligned North to South pole for added eddy-dragging goodness. Would the mechanism work with any efficiency?

The end result is interesting to watch, and it’s not exactly as you’d have expected. Yes, eddy currents drive the copper hub, but at a 100 RPM difference. Where does all of that energy go? Hint: not to the wheel, and certainly not into propelling the bicycle. All in all it’s a fantastic experiment with unpredictable results.

If bicycle based bumbling about bakes your biscuits, you might appreciate this tennis-ball-enhanced ride too.

]]>
https://hackaday.com/2023/05/16/a-bicycle-powered-by-a-different-kind-of-eddy/feed/ 31 582933 eddycurrentbike-featured
Bridging The Gap Between Dissimilar Road Types With Foam https://hackaday.com/2023/02/10/bridging-the-gap-between-dissimilar-road-types-with-foam/ https://hackaday.com/2023/02/10/bridging-the-gap-between-dissimilar-road-types-with-foam/#comments Fri, 10 Feb 2023 19:30:20 +0000 https://hackaday.com/?p=575385 When you think of driving up or down an embankment, do you ever wonder how much foam you’re currently driving on? Probably not, because it hardly seems like a suitable …read more]]>

When you think of driving up or down an embankment, do you ever wonder how much foam you’re currently driving on? Probably not, because it hardly seems like a suitable building material. But as explained by [Practical Engineering] in the video below the break, using an expanded material to backfill an embankment isn’t as dense as it sounds.

In many different disciplines, mating dissimilar materials can be difficult: Stretchy to Firm; Soft to Hard; Light to Heavy. It’s that last one, Light to Heavy, that is a difficult match for roadways. A bridge may be set down in bedrock, but the embankments approaching it won’t be. The result? Over time, embankment settles lower than the bridge does, causing distress for cars and motorists alike. What’s the solution?

To mitigate this, engineers have started to employ less dirty materials to build their otherwise soil based embankments. Lightweight concrete is one solution, but another is Expanded Polystyrene (EPS) foam. Its light weight makes installation simple in anything but a strong breeze, and it’s inexpensive and durable. When used properly, it can last many years and provide a stable embankment that won’t settle as far or as quickly as one made of dirt. Because as it turns out, dirt is heavy. Who knew?

Aside from roadways and bespoke aircraft, EPS foam has also been used for making home insulation. What’s your favorite use for EPS foam? Let us know in the comments below.

]]>
https://hackaday.com/2023/02/10/bridging-the-gap-between-dissimilar-road-types-with-foam/feed/ 27 575385 foamroad-featured
Resurrecting PONG, One Jumper Wire At A Time https://hackaday.com/2022/12/14/resurrecting-pong-one-jumper-wire-at-a-time/ https://hackaday.com/2022/12/14/resurrecting-pong-one-jumper-wire-at-a-time/#comments Wed, 14 Dec 2022 09:00:29 +0000 https://hackaday.com/?p=567109 Between 1976 and 1978, over one million Coleco Telstar video game consoles were sold. The Killer App that made them so desirable? PONG. Yep, those two paddles bouncing a ball …read more]]>

Between 1976 and 1978, over one million Coleco Telstar video game consoles were sold. The Killer App that made them so desirable? PONG. Yep, those two paddles bouncing a ball around a blocky tennis court were all the rage and helped usher in a new era. And as [Dave] of Dave’s Garage shows us in the video below the break, the bringing the old console back to life proved simpler than expected!

Thankfully, the console is built around what [Dave] quite aptly calls “PONG on a chip”, the General Instrument AY-3-8500 which was designed to make mass production of consoles possible. The chip actually contains several games, although PONG was the only one in use on the Coleco.

After removing the CPU from the non-functional console, [Dave] breathed life into it by providing a 2 MHz clock signal that was generated by an Arduino, of all things. A typical 2N2222 amplifies the audio, and a quick power up showed that the chip was working and generating audio.

Video is smartly taken care of just as it was in the original design, by combining various signals with a 4072 OR gate. With various video elements and synchronization patterns combined into a composite video signal, [Dave] was able to see the game on screen, but then realized that he’d need to design some “paddles”. We’ll leave that up to you to watch in the video, but make sure to check the comments section for more information on the design.

Is a breadboarded PONG console not retro enough for you? Then check out this old school mechanical version that was found languishing in a thrift store.

]]>
https://hackaday.com/2022/12/14/resurrecting-pong-one-jumper-wire-at-a-time/feed/ 18 567109 coleco-pong-featured
The Robots Of Fukushima: Going Where No Human Has Gone Before (And Lived) https://hackaday.com/2022/12/08/the-robots-of-fukushima-going-where-no-human-has-gone-before-and-lived/ https://hackaday.com/2022/12/08/the-robots-of-fukushima-going-where-no-human-has-gone-before-and-lived/#comments Thu, 08 Dec 2022 19:30:51 +0000 https://hackaday.com/?p=566203 The idea of sending robots into conditions that humans would not survive is a very old concept. Robots don’t heed oxygen, food, or any other myriad of human requirements. They …read more]]>

The idea of sending robots into conditions that humans would not survive is a very old concept. Robots don’t heed oxygen, food, or any other myriad of human requirements. They can also be treated as disposable, and they can also be radiation hardened, and they can physically fit into small spaces. And if you just happen to be the owner of a nuclear power plant that’s had multiple meltdowns, you need robots. A lot of them. And [Asianometry] has provided an excellent synopsis of the Robots of Fukushima in the video below the break.

Starting with robots developed for the Three Mile Island incident and then Chernobyl, [Asianometry] goes into the technology and even the politics behind getting robots on the scene, and the crossover between robots destined for space and war, and those destined for cleaning up after a meltdown.

The video goes further into the challenges of putting a robot into a high radiation environment. Also interesting is the state of readiness, or rather the lack thereof, that prompted further domestic innovation.

Obviously, cleaning up a melted down reactor requires highly specialized robots. What’s more, robots that worked on one reactor didn’t work on others, creating the need for yet more custom built machines. The video discusses each, and even touches on future robots that will be needed to fully decommission the Fukushima facility.

For another look at some of the early robots put to work, check out the post “The Fukushima Robot Diaries” which we published over a decade ago.

]]>
https://hackaday.com/2022/12/08/the-robots-of-fukushima-going-where-no-human-has-gone-before-and-lived/feed/ 9 566203 fukushima-bot-featured
Restarting The Grid When The Grid Is Off The Grid https://hackaday.com/2022/12/06/restarting-the-grid-when-the-grid-is-off-the-grid/ https://hackaday.com/2022/12/06/restarting-the-grid-when-the-grid-is-off-the-grid/#comments Wed, 07 Dec 2022 06:00:56 +0000 https://hackaday.com/?p=566220 If you watch YouTube long enough, it seems like going “off the grid” is all the rage these days. But what if the thing that goes off the grid is the …read more]]>

If you watch YouTube long enough, it seems like going “off the grid” is all the rage these days. But what if the thing that goes off the grid is the grid itself? In the video below the break, [Grady] with Practical Engineering explores the question: How do you restart an entire power grid after it’s gone offline? It’s a brilliantly simple deep dive into what it takes to restore power to large amounts of customers without causing major damage to not just the grid, but the power generators themselves.

What’s A Power Grid Operators Favorite Band?

The hackers among us who’ve dealt with automotive alternators know it must be excited in order to generate electricity. What does that even mean, and how does it affect the grid? Simply put, it takes power to make power. For example, old heavy equipment had what they called pony motors — a small easy to start engine that’s sole purpose was to start a much larger engine. Aircraft have auxiliary power units (APUs) for the same purpose. What do power grids have? You’ll have to watch the video to find out.

Once at least two power generators are online, grid operators can just flip the switch and start feeding power to customers, right? Not quite. [Grady] once again uses a clever test jig and an oscilloscope to show the damage that can occur if things aren’t done just right. It’s a fascinating video well worth watching.

Learn how grid operators use a Power Grid Emulator called LEGOS to help them with keeping the electrons flowing in the right direction.

]]>
https://hackaday.com/2022/12/06/restarting-the-grid-when-the-grid-is-off-the-grid/feed/ 33 566220 power-grid-demo