Automatic Arduino Bicycle Shifter

One of the keys to efficient cycling performance is a consistent pedalling cadence. To achieve this the cyclist must always be in the correct gear, which can be tricky when your legs are burning and you’re sucking air. To aid in this task, [Jan Oelbrandt] created Shift4Me, an open-source Arduino powered electronic shifter.

The system consists of a hall effect sensor at the pedals to measure cadence, an Arduino controller, and a servo mechanism to replace the manual shifter. Everything is mounted in a small enclosure on the frame. The only way to get one is to build your own, so a forum is available for Shift4Me builders, where the BOM, instructions, code and other documentation is available for download. Most bikes should be easy to convert, and [Jan] invites builders to post their modifications and improvements.

Since the only input is the cadence sensor, we wonder if the system will interfere more than help when the rider has to break cadence. It does however include allowance to hold on the current gear, or reset to a starting gear by pushing a button. One major downside is that you will be stuck in a single gear if the battery dies since the manual shifter is completely removed.

As one of the oldest continuously used forms of mechanical transport, there is no shortage of bicycle-related hacks. Some of the more recent ones we’ve seen on Hackaday include e-bike with a washing machine motor, and a beautifully engineered steam-powered bicycle.

See This Casio? Watch It Unlock My Tesla!

The whole point of gaining the remote unlock ability for our cars was to keep us from suffering the indignity of standing there in the rain, working a key into the lock while the groceries get soaked. [Mattia Dal Ben] reports that even Teslas get the blues and don’t unlock reliably all the time, in spite of the price tag.

[Mattia] decided that a spare key card might be good to have around, and that building it into his Casio F-91W watch would put the key as close at hand as it could be without getting an implant.

After programming a new J3A040-CL key card to match the car, getting the chip out was the easy part — just soak it in acetone until you can peel the layers apart. Then [Mattia] built a fresh antenna for it and wound it around the inside of a 3D printed back plate.

The hardest part seems to be the tuning the watch antenna to the resonant frequency expected by the car-side antenna. [Mattia] found that a lot of things mess with the resonant frequency — the watch PCB, casing, and even the tiny screws holding the thing together each threw it off a little bit.

Since the watch is less comfortable now, [Mattia] thought about making a new back from transparent resin, which sounds lovely to us. It looks as though the new plan is to move it to the front of the watch, with a resin window to show off the chip. That sounds pretty good, too. Check out the secret unlocking power after the break.

Casio watches are great, though we are more into the calculator models. Someone out there loves their F-91W so much that they made a giant wall clock version.

Continue reading “See This Casio? Watch It Unlock My Tesla!”

Approaching The Drop Location: Seeds Away!

Arbor Day is a holiday many countries dedicate to planting trees, but with the steady encroachment of climate change, we need to maximize our time. Dronecoria doesn’t just plant a tree; it sows “hectares in minutes.” A hectare is 10,000 square meters or 2.471 acres. These aren’t the drones you’re looking for if you intend a weekend of gardening, this is in the scope of repopulating a forest with trees or reinvigorating a park with wildflowers. The seed balls in the hopper are 10kg of native seeds coupled with beneficial microorganisms to help the chances of each drop.

The drone’s body is laser cut from what looks like baltic birch plywood. The vector files are available in Illustrator (.ai) and CAD (.dxf) formats released under Creative Commons BY-SA, so give credit if you redistribute or remix it. In the 3D realm, you’ll need a SeedShutter and SeedDisperser, and both models are available in STL format.

We have other non-traditional seed spreading methods like canons, but it is a big job, and if you’ve build something to pitch in, drop us a tip!

Retrotechtacular: Forging In Closed Dies

It is the norm for our Retrotechtacular series to concentrate on a technology that has passed out of use but is still of interest to Hackaday readers, so it is perhaps unusual now to feature one that is very much still with us. Drop forging is a technique for forming hot metal in dies under huge force, and while it is still a current technique the 1950s educational film we are featuring is definitely retro.

An automotive connecting rod, sectioned and acid treated to show the grain structure. (CC BY-SA 2.5)
An automotive connecting rod, sectioned and acid treated to show the grain structure. (CC BY-SA 2.5)

If you have followed our occasional series on blacksmithing, you’ll be familiar with the process of forming metal by heating it to a temperature at which it becomes malleable enough to deform under pressure, and using a hammer to shape it against an anvil. This process not only shapes the metal, but also forms its inner grain crystal structure such that with careful management the forging process can impart significant resistance to fatigue in the finished item. Think of drop forging as automation of the manual blacksmithing process, with the same metallurgical benefits but in which the finished product is shaped in a series of dies rather than by the blacksmith’s hammer. It loses the craft of the smith over the process, but delivers an extremely consistent result along with a high production turnover.

The film that we’ve placed below the break is an in-depth introduction to the industry in a very period style and with components for the automotive, aerospace, and defense industries of the day. It takes the viewer through the different types of press and examines the design of dies to produce in stages the required grain structure and shapes.

Of particular interest is the section on upset forging, a technique in which a piece of steel stock is forged end-on rather from above. The components themselves make the video worth watching, as we see everything from jet turbine blades to medical forceps in production, along with many parts from internal combustion engines. The smallest piece shown is a tiny carburetor part, while the largest is a huge aircraft carrier catapult part that requires a special vehicle to load it into the press.

Drop forging is generally the preserve of a large metalworking factory due to the size of the presses involved. But it’s not entirely beyond the capabilities of our community given the resources of a well-equipped hackerspace or blacksmith’s shop. My father made simple forging dies by assembling a basic shape in weld and pieces of steel stock before grinding it to his requirements and heat treating. Mounted in a large rotary fly press for repetitive small scale shaping and forming tasks in ornamental ironwork, I remember bumping them out from red hot steel bar in my early teens.

This is one of those techniques that’s useful to know about in our community, because while the need to manufacture significant quantities of ornamental ironwork may not come your way too often, it’s still worth having the capability should you need it. Meanwhile the video below the break should serve to provide you with enough heavy machinery enjoyment to brighten your day.

Continue reading “Retrotechtacular: Forging In Closed Dies”

Hackaday Podcast 083: Soooo Many Custom Peripherals, Leaving Bluetooth Footprints, And A Twirlybird On Mars

Hackaday editors Mike Szczys and Elliot Williams ogle the greatest hacks from the past 168 hours. Did you know that Mars Rover didn’t get launched into space all alone? Nestled in it’s underbelly is a two-prop helicopter that’s a fascinating study in engineering for a different world. Fingerprinting audio files isn’t a special trick reserved for Shazam, you can do it just as easily with an ESP32. A flaw in the way Bluetooth COVID tracing frameworks chirp out their anonymized hashes means they’re not as perfectly anonymized as planned. And you’re going to love these cool ways to misuse items from those massive parts catalogs.

Take a look at the links below if you want to follow along, and as always, tell us what you think about this episode in the comments!

Take a look at the links below if you want to follow along, and as always, tell us what you think about this episode in the comments!

Direct download (60 MB or so.)

Continue reading “Hackaday Podcast 083: Soooo Many Custom Peripherals, Leaving Bluetooth Footprints, And A Twirlybird On Mars”

An Arduino Controller For Hot Air Handles

In general, the cost of electronic components and the tools used to fiddle with them have been dropping steadily over the last decade or so. But there will always be bargain-hunting hackers who are looking to get things even cheaper. Case in point, hot air rework stations. You can pick up one of the common 858D stations for as little as $40 USD, but that didn’t keep [MakerBR] from creating an Arduino controller that can be used with its spare handles.

Now to be fair, it doesn’t sound like price was the only factor here. After all, a spare 858D handle costs about half as much as the whole station, so there’s not a lot of room for improvement cost-wise. Rather, [MakerBR] says the Arduino version is designed to be more efficient and reliable than the stock hardware.

The seven wires in the handle connector have already been mapped out by previous efforts, though [MakerBR] does go over the need to verify everything matches the provided circuit diagrams as some vendors might have fiddled with the pinout. All the real magic happens in the handle itself, the controller just needs to keep an eye on the various sensors and provide the fan and heating element with appropriate control signals. An Arduino Pro Mini is more than up to the task, and a custom PCB makes for a fairly neat installation.

This isn’t the first time we’ve seen somebody replace the controller on one of these entry-level hot air stations, but because there are so many different versions floating around, you should do some careful research before cracking yours open and performing a brain transplant.

Continue reading “An Arduino Controller For Hot Air Handles”

This Week In Security: Zero Days, Notarized Malware, Jedi Mind Tricks, And More

Honeypots are an entertaining way to learn about new attacks. A simulated vulnerable system is exposed to the internet, inviting anyone to try to break into it. Rather than actually compromising a deployed device, and attacker just gives away information about how they would attack the real thing. A honeypot run by 360Netlab found something interesting back in April: an RCE attack against QNAP NAS devices. The vulnerability is found in the logout endpoint, which takes external values without properly sanitizing them. These values are used as part of an snprintf statement, and then executed with a system() call. Because there isn’t any sanitization, special characters like semicolons can be injected into the final command to be run, resulting in a trivial RCE.

QNAP has released new firmware that fixes the issue by replacing the system() call with execv(). This change means that the shell isn’t part of the execution process, and the command injection loses its bite. Version 4.3.3 was the first firmware release to contain this fix, so if you run a QNAP device, be sure to go check the firmware version. While this vulnerability was being used in the wild, there doesn’t seem to have been a widespread campaign exploiting it.

Continue reading “This Week In Security: Zero Days, Notarized Malware, Jedi Mind Tricks, And More”