We have to admit we weren’t aware of the array of choices that the virtual biking markets offers. [ptx2] went with Zwift, which like most of these platforms, lets you pilot a smart bike through virtual landscapes along with the avatars of hundreds of other virtual riders. A little Bluetooth snooping with Bluetility let [ptx2] identify the bytes in the Flywheel bike’s packets encoding both the rider’s cadence and the power exerted, which Zwift would need, along with the current resistance setting of the magnetic brake.
Integration into Zwift was a matter of emulating one of the smart bikes already supported by the program. This required some hacking on the Cycling Power Service, a Bluetooth service that Zwift uses to talk to the bike. The final configuration has a Raspberry Pi Zero W between the Flywheel bike and the Zwift app, and has logged about 2,000 miles of daily use. It still needs a motor to control the resistance along the virtual hills and valleys, but that’s a job for another day.
Hats off to [ptx2] for salvaging a $2,000 bike for the price of a Pi and some quality hacking time, and for sticking it to The Man a bit. We have to say that most bike hacks we see around here have to do with making less work for the rider, not more. This project was a refreshing change.
For many of us, this whole pandemic thing has produced some unexpected upsides. One of [George Turvey]’s was finding a nice new scenic route to work that goes by a lake with bike trails. [George] thought it might be nice to go fishing after work, and use a folding bike to cover a lot of ground while looking for good spots on the shore. There was just one problem — riding a bike while transporting tackle is awkward.
Milling won out, at least for the initial proof of concept, and result is a modular mock-up that combines a milled Kydex connector and tackle box holder with a double-barrel PVC rod holder. This way, [George] had a prototype in a fraction of the time it would have taken to design and print it. Cast your line past the break to see how fast [George] can switch gears into fishing mode.
The drive train of this bicycle starts with a brushless DC motor from a washing machine. It has been slightly modified to run on 48 volts, and is installed inside the triangle of the bike’s frame. It has a chain driving the bike’s crank, retaining the original chain and gearing setup (unlike many electric bike hacks that utilize hub motors). The crank has also been specially modified to include a freewheel, a necessary feature so that the motor can operate without spinning the pedals. Everything except the motor has been custom fabricated including the mounts and the electronics.
[jimminecraftguy] reports speeds of 110 kph which is a little crazy for a 20-year-old aluminum frame bike, and we’d guess it’s not street legal in many jurisdictions, but we can’t really find much fault with this build in general based on the amount of innovation required to get this working at all. A few more improvements for the build are in the works, including improved batteries and a cover for the sides to keep the local law enforcement from getting too suspicious. We can’t wait to see the final version. Continue reading “The Spin Cycle: Washing Machine Motor Converts 10-Speed To E-Bike”→
Part of the detritus of many cities over the last few years has been the ubiquitous bicycles and scooters of the various companies that offer them for hourly hire via a smartphone app. They’re annoying when left randomly on pavements by their users, and they sometimes appear to outnumber riders many times over. In 2018 for many cities outside China they became a little less numerous, as the Chinese bike sharing service Ofo contracted its operations and pulled its distinctive yellow machines from the streets. A couple of years later those Ofo bikes that were sold off or simply abandoned by the company and never recovered are still with us. They can be used if their lock is dismantled, but to do that is to ignore the potential of the lock. [Aladds] has written a firmware for Ofo locks that allows them to be unlocked by a code entered upon its buttons.
Onboard the lock are an nRF51822, 4G radio, and of course the lock mechanism itself. The battery is likely to be flat by now, and though he doesn’t tell us what it is it’s worth our pointing out that similar designs sometimes use hazardous LiSOCl2 chemistry which any hacker should be very cautious with. He gives us full instructions for finding the programming connections for the chip, which can either have its stock firmware downloaded for examination, or be wiped for insertion of the new version. To show the code in action there is also a short YouTube video that we’ve put below the break. Meanwhile we’ve peered inside an Ofo lock before, back in 2018.
While it’s nice to be able to fully restore something vintage to its original glory, this is not always possible. There might not be replacement parts available, the economics of restoring it may not make sense, or the damage to parts of it might be too severe. [onyxmember] aka [Minimember Customs] was in this position with an old ’54 Puch Allstate motorcycle frame that he found with no engine, rusty fuel tank, and some other problems, so he did the next best thing to a full restoration. He converted it to electric.
This build uses as much of the original motorcycle frame as possible and [onyxmember] made the choice not to weld anything extra to it. The fuel tank was cut open and as much rust was cleaned from it as possible to make room for the motor controller and other electronics. A hub motor was laced to the rear wheel, and a modern horn and headlight were retrofitted into the original headlight casing. Besides the switches, throttle, and voltmeter, everything else looks original except, of course, the enormous 72V battery hanging off the frame where the engine used to be.
At a power consumption of somewhere between three and five kilowatts, [onyxmember] reports that this bike likely gets somewhere in the range of 55 mph, although he can’t know for sure because it doesn’t have a speedometer. It’s the best use of an old motorcycle frame we can think of, and we also like the ratrod look, but you don’t necessarily need to modify a classic bike for this. A regular dirt bike frame will do just fine.
[Buttim] loses his car a lot, which might sound a little bit like the plot from an early-00s movie, but he assures us that it’s a common enough thing. In a big city, and after several days of not driving one’s car, it can be possible to at least forget where you parked. There are a lot of ways of solving this problem, but the solution almost fell right into his lap: repurposing a lock from a bike share bicycle. (The build is in three parts: Part 2 and Part 3.)
These locks are loaded with features, like GPS, a cellular modem, accelerometers, and in this case, an ARM processor. It took a huge amount of work for [Buttim] to get anything to work on the device, but after using a vulnerability to dump the firmware and load his own code on the device, spending an enormous amount of time trying to figure out where all the circuit traces went through layers of insulation intended to harden the lock from humidity, and building his own Python-based programmer for it, he has basically free reign over the device.
To that end, once he figured out how it all worked, he put it to use in his car. The device functions as a GPS tracker and reports its location over the cellular network so it can’t become lost again. As a bonus, he was able to use the accelerometers to alert him if his car was moving without him knowing, so it turned into a theft deterrent as well. Besides that, though, his ability to get into the device’s firmware reminded us of a recent attempt to get access to an ARM platform.
For those of us who were children in the late 80s and early 90s, we may have dreamed of one day owning a gigantic tractor trailer that could transform into a colossal fighting robot. Or of simply having a toy that could approximate this change from one form into another. As adults, though, we have come to realize that this is wishful thinking. That is, unless we decide to build this transforming bicycle.
What starts out as a slightly unusual-looking low rider-style bike effortlessly turns into a tall bike by means of a gas cylinder fixed to the bike’s rear triangle. The bike started out as a full suspension mountain bike, but the rear spring was removed to make room for this cylinder. The pivoting action of the rear triangle in a mountain bike is the key design element here: it allows the frame to change shape easily, in this situation when pushed by the cylinder. Adding some longer forks in the front and a coat of paint finishes the build.