Recycling Will Be Key To The Electric Vehicle Future

Electric vehicles have become a mainstay in the global automotive marketplace, taking on their gasoline rivals and steadily chewing out their own slice of market share, year after year. Government mandates to end the sale of polluting internal combustion engine vehicles and subsidies on cleaner cars promise to conspire to create an electric vehicle boom.

The result should be much cleaner air, as generating electricity in even the dirtiest power plants is far cleaner and more efficient than millions of individual engines puttering about the place. However, if the electric car is to reign supreme, they’ll need to be built in ever greater numbers. To do that is going to take huge amounts of certain materials that can be expensive and sometimes in very limited supply. Thus, to help support the EV boom, recycling of these materials may come to play a very important role.

Continue reading “Recycling Will Be Key To The Electric Vehicle Future”

New Video Series: Learning Antenna Basics With Karen Rucker

We don’t normally embrace the supernatural here at Hackaday, but when the topic turns to the radio frequency world, Arthur C. Clarke’s maxim about sufficiently advanced technology being akin to magic pretty much works for us. In the RF realm, the rules of electricity, at least the basic ones, don’t seem to apply, or if they do apply, it’s often with a, “Yeah, but…” caveat that’s sometimes hard to get one’s head around.

Perhaps nowhere does the RF world seem more magical than in antenna design. Sure, an antenna can be as simple as a straight piece or two of wire, but even in their simplest embodiments, antennas belie a complexity that can really be daunting to newbie and vet alike. That’s why we were happy to recently host Karen Rucker’s Introduction to Antenna Basics course as part of Hackaday U.

The class was held over a five-week period starting back in May, and we’ve just posted the edited videos for everyone to enjoy. The class is lead by Karen Rucker, an RF engineer specializing in antenna designs for spacecraft who clearly knows her business. I’ve watched the first video of the series and so far and really enjoy Karen’s style and the material she has chosen to highlight; just the bit about antenna polarization and why circular polarization makes sense for space communications was really useful. I’m keen to dig into the rest of the series playlist soon.

The 2021 session of Hackaday U may be wrapped up now, but fear not — there’s plenty of material available to look over and learn from. Head over to the course list on Hackaday.io, pick something that strikes your fancy, and let the learning begin!

Continue reading “New Video Series: Learning Antenna Basics With Karen Rucker”

A Perfect Clock For Any Hacker’s Ohm

The vast majority of us are satisfied with a standard, base ten display for representing time. Fewer of us like to be a bit old-fashioned and use a dial with a couple of hands that indicate the time, modulo twelve. And an even smaller minority, with a true love for the esoteric, are a fan of binary readouts. Well, there’s a new time-telling game in town, and as far as we’re concerned it’s one of the best ones yet: resistor color codes.

The Ohm Clock is, as you may have guessed, a giant model of a resistor that uses its color bands to represent time.  Each of the four bands represents a digit in the standard HH:MM representation of time, and for anybody well-versed in resistor codes this is sure to be a breeze to read. The clock itself was designed by [John Bradnam]. It’s body is 3D printed, with RGB LEDs to brightly illuminate each segment. The whole thing is controlled by an old favorite – an ATtiny, supported by a Real Time Clock (RTC) chip for accurate timekeeping.

You can set the time in the traditional fashion using buttons, or — and here’s the brilliant part — you can use a resistor. Yup, that’s right. Connecting a 220 Ohm resistor across two terminals on the clock will set the time to 2:20. Genius.

When you come across an art as old as timekeeping, it’s easy to assume that everything’s already been done. We have sundials, hourglasses, analog clocks, digital watches, those cool clocks that use words instead of numbers, the list goes on. That’s why it’s so exciting to see a new (and fun!) idea like this one emerge.

Black Starts: How The Grid Gets Restarted

Gripped as we are at the time of this writing by a historic heatwave, it’s hard for those of us in the western United States to picture a time when cold and ice reigned across the land. But really, it was only about four months back that another bit of freakish weather was visited across most of the country, including places ill-equipped to deal with the consequences. The now-fabled “February Freeze” left millions, mostly in Texas, scrabbling about in the dark and cold as a series of cascading engineering failures took apart their electrical grid, piece by piece, county by county.

The event has been much discussed and dissected, as an event with such far-reaching impact should be. Like much discussion these days, precious little of it is either informed or civil, and that’s not good news for those seeking to understand what happened and how to prevent it from happening again, or at least to mitigate the effects somewhat. Part of that is understandable, given the life-disrupting and often life-threatening situations the disaster forced people to suddenly face. It’s also difficult for people to discuss an event so widespread in its scope and impact — there’s just too much for anyone to wrap their head around.

To make the present discussion a little easier, we’ll be focusing on one aspect of the February grid crash that’s often bandied about but rarely explained: that the Texas grid was mere minutes away from collapsing completely, and that it would have taken weeks or months to restore had it been able to slip away. Is that really possible? Can the power grid just “go away” completely and suddenly? The answer, sadly, is yes, but thankfully a lot of thought has been put into not only preventing it from happening but also how to restart everything if it does happen, by performing what’s known as a “Black Start.”

Continue reading “Black Starts: How The Grid Gets Restarted”

Amazon Drones Don’t Go Far

If you are like us, you’ve wondered what all the hoopla about drones making home deliveries is about. Our battery-operated vehicles carry very little payload and still don’t have a very long range. Add sophisticated smarts and a couple of delivery packages and you are going to need a lot more battery. Or maybe not. Amazon’s recent patent filing shows a different way to do it.

In the proposed scheme, a delivery truck drives to a neighborhood and then deploys a bunch of wheeled or walking drones to deliver in the immediate area. Not only does that reduce the range requirement, but there are other advantages, as well.

Continue reading “Amazon Drones Don’t Go Far”

Using Ghidra To Extract A Router Configuration Encryption Key

Who doesn’t know the struggle? Buying an interesting piece of hardware for a song and a dance, and then finding that the device’s firmware and/or configuration file is locked down with various encryption or obfuscation methods. This was the experience [Ali Raheem] had when he got a TP-Link TL-MR3020 V3 for a mere 18 British Pounds, intending to use this 4G-capable router to increase internet reliability.

Naturally this can all be done when staying inside the vendor-provided marked lines, which in this case meant ignoring the encrypted configuration files. As the owner of the hardware, this was of course unacceptable and thus [Ali] got a firmware image from the TP-Link site to see what could be gleaned from it in terms of encryption keys and other hints.

After obtaining the TP-Link-provided BIN file, the application of binwalk helpfully extracted the files embedded in it, followed by John the ripper decrypting the passwords in the /etc/passwd.bak file, and ultimately finding the encrypted /etc/default_config.xml file. Searching for this filename string in the rest of the extracted files led to /lib/libcmm.so.

Dropping this shared library file into Ghidra to disassemble its code, [Ali] found a function suspiciously called decryptFile. Inside was a reference to the global key string, which when tossed into OpenSSL and after some fiddling turned out to decrypt the XML configuration file in des-ecdb mode. From this point dropping in one’s own configuration files should be no problem after encrypting them to make the firmware happy. Nice work!

Down The Fabrication Rabbit Hole To Build A Recumbent Bike

‘Tis the time of the year to find as many reasons as possible to shut off the smartphone and get yourself outside. [Rich Olson’s] newest excuse is a recumbent bicycle he built from at least three donor bikes. Of course we’ve seen any number of bike mods over the years (the tall bikes that integrate a ladder to climb up to the saddle have always held a special place in our hearts), but [Rich] left us a nice trail of bread crumbs on how to get into this yourself without breaking the bank.

He worked from a set of open source plans, with additional instructions laid out by [Brian in Ohio] in a bicycle hacking series on the Hacker Public Radio podcast. We learn in the first installment that you can get your hands on a torch that uses oxygen and MAP gas to braze the pipe joints — a quick Duck Duck Go search turns up kits that have the torch and both gases for about eighty bucks. Ask around your neighbourhood and you’re likely to find some bike frames from the disused and broken cycles lurking in dark garage corners. That first podcast page even has images that show you how to lay out fishmouth cuts where the tubes will meet.

But what really grabbed our attention is the tube bending for the recumbent seat. This is a speciality part that you’re not going to be able to salvage from traditional bikes. [Rich’s] project shows off this image of a bend template and the two main rails he used from the seat; but how did he make those bends? The third episode of [Brian in Ohio’s] series covers the one simple trick that electricians don’t want you to know. Those rails are made out of electrical conduit and you can easily buy/rent/borrow a commonplace conduit bending tool which has the handy advantage of including angle guides.

You’ll find [Rich’s] video after the break which begins with a slideshow and ends with a demo ride. That lets us see the lacing on the back side of the seat fabric that keeps it taught, yet comfy in a way a standard bike saddle just can’t be.

If this still hasn’t convinced you to pick up a torch, you can also build a recumbent with a wooden frame.

Continue reading “Down The Fabrication Rabbit Hole To Build A Recumbent Bike”