A bike computer sits on a wooden background. The back of the bike computer has a 3D printed attachment with two white translucent zip ties running through the back.

Repairing A Bike GPS With 3D Printing

We love hacks that keep gadgets out of the trash heap, and [Brieuc du Maugouër] has us covered with this 3D printable replacement mount he designed for his bike GPS.

One of the most frustrating ways a gadget can fail is when a small, but critical part of the device fails. [du Maugouër] combined a 3D printed back and four M2x6mm screws to make a robust new mount to replace the broken OEM mount on his handlebar-mounted GPS. Slots for zip tie mounting are included in case the replacement mount breaks before yet another replacement can be printed. Apparently [du Maugouër] agrees with Chief O’Brien that “in a crunch, I wouldn’t like to be caught without a second backup.” [Youtube]

It’s exciting that we’re finally in a time when 3D printed replacement parts are living up to their potential. This would be a lot easier if more manufacturers posted 3D printed design files instead of getting them pulled from 3D file platforms, but makers will find a way regardless of OEM approval.

We’ve covered a lot of bike hacks over the years including DIY Bike Computers and GPS Trackers. Do you have a project that keeps something from becoming trash or might save the world another way? There’s still time to enter the Save the World Wildcard round of the Hackaday Prize (closes October 16th).

Bike Computer Powers On Long After Your Legs Give Out

A typical bicycle computer from the store rack will show your speed, trip distance, odometer, and maybe the time. We can derive all this data from a magnet sensor and a clock, but we live in a world with all kinds of sensors at our disposal. [Matias N.] has the drive to put some of them into a tidy yet competent bike computer that has a compass, temperature, and barometric pressure.

The brains are an STM32L476 low-power controller, and there is a Sharp Memory LCD display as it is a nice compromise between fast refresh rate and low power. E-paper would be a nice choice for outdoor readability (and obviously low power as well) but nothing worse than a laggy speedometer or compass.

In a show of self-restraint, he didn’t try to replace his mobile phone, so there is no GPS, WiFi, or streaming music. Unlike his trusty phone, you measure the battery life in weeks, plural. He implemented EEPROM memory for persistent data through power cycles, and the water-resistant board includes a battery charging circuit for easy topping off between rides.

When you toss the power of a mobile phone at a bike computer, someone will unveil the Android or you can measure a different kind of power from your pedals.

Continue reading “Bike Computer Powers On Long After Your Legs Give Out”

Hackaday Podcast 017: Are Cheap Microcontrollers Worth It? Android On Your Bike. Plus Food Printers And Coffee Bots

Join Editors Mike Szczys and Elliot Williams as they recount a week of fascinating hacks. We take a good look at the PMS150C, a microcontroller that literally costs pennies but can only be flashed once. SNES emulators have a new trick up their sleeves to make low-def a lot less low, and you retro enthusiasts will either hate or love the NES zapper chandelier. Elliot’s enamored by a bike computer running Android core, and both Mike and Elliot delve into the food hacking scene, be it meat, chocolate, coffee, or of course frosting!

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 017: Are Cheap Microcontrollers Worth It? Android On Your Bike. Plus Food Printers And Coffee Bots”

Bike Computer Exploration Uncovers A Hidden Android

As a happy side-effect of the smartphone revolution, the world is now awash with tiny computers that are incredibly cheap thanks to the nearly unfathomable volumes in which their components are manufactured. There wouldn’t be a $10 Raspberry Pi Zero if the billions of smartphones that were pumped out before it hadn’t dropped the cost of the individual components to literal pennies. That also means that smartphone hardware, or at least systems that are very close to it, have started to pop up in some unexpected places.

When [Joshua Wise] recently took ownership of a Wahoo ELEMNT BOLT bike computer, he wondered how it worked. With impressive list of features such as Internet connectivity, GPS mapping, and Bluetooth Low Energy support, he reasoned the pocket-sized device must have some pretty decent hardware under the hood. With some poking and prodding he found the device was powered by a MediaTek SoC and incredibly had a full-blown install of Android running in the background.

So how does one find out that their lowly bike computer is essentially a cleverly disguised smartphone? If you’re [Joshua], you listen to who it’s trying to talk do when doing a firmware update over the Internet. He used mitmproxy running between his Internet connection and a WiFi access point setup specifically for the BOLT, from there, he was able to see all of the servers it was connecting to. Seeing the device pull some data down from MediaTek’s servers was a pretty good indication of whose hardware was actually inside the thing, and when it ultimately downloaded some Android .apk files from the Wahoo website, it became pretty clear what operating system it was running underneath the customized user interface.

Further examination of the Bolt’s software brought to light a few troubling issues. It turned out that the firmware made extensive use of Apache-licensed code, for which no attribution was given. [Joshua] contacted the company and was eventually referred to the Wahoo’s CEO, Chip Hawkins. Refreshingly, Chip was not only very interested in getting the licensing issues sorted out, but even had some tips on hacking and modifying the device, including how to enable ADB.

Before the publication of this article, we reached out to Chip Hawkins (yes, he really does respond to emails) for a comment, and he told us that not only has he made sure that all of the open source packages used have now been properly attributed to their original authors, but that his team has been providing source code and information to those who request it. He says that he’s been proud to see owners of his products modifying them for their specific needs, and he’s happy to facilitate that in any way that he can.

Open source license compliance is a big deal in the hacking community, and we’ve seen how being on the wrong side of the GPL can lead to lost sales. It’s good to see Wahoo taking steps to make sure they comply with all applicable licences, but we’re even more impressed with their positive stance on customers exploring and modifying their products. If more companies took such an enlightened approach to hacking, we’d all be a lot better off.

[Thanks to Roman for the tip.]

Grinding A Bicycle Crank For Power Analysis

For [Mark] and [Brian]’s final project for [Bruce Land]’s ECE class at Cornell, they decided to replicate a commercial product. It’s a dashboard for a bicycle that displays distance, cadence, speed, and the power being generated by the cyclist. Computing distance, cadence and speed is pretty easy, but calculating power is another matter entirely.

The guys are using an ATMega1284 to drive an LCD, listen in on some Hall Effect sensors, and do a few calculations. That takes care of measuring everything except power. A quick search of relevant intellectual property gave then the idea of measuring torque at the pedal crank. For that, [Mark] and [Brian] are using a strain gauge on a pedal crank, carefully modified to be stiff enough to work, but flexible enough to measure.

A custom board was constructed for the pedal crank that measures a strain gauge and sends the measurements through a wireless connection to the rest of the bicycle dashboard. It works, and the measurements in the classroom show [Brian] is generating about 450 W when pedaling at 33 mph.

Video below.

Continue reading “Grinding A Bicycle Crank For Power Analysis”

A Longboard Speed And Distance Computer

longboard-speed-distance-comptuer

Why should cyclists have all of the fancy toys? Bicycle computers are very common these days but you won’t find similar hardware for skateboards and longboards. [KobraX22] isn’t taking it lying down. He built this speed and distance computer for his longboard. It doesn’t use very many components and should be easy to install.

The device monitors the rotation of one of the wheels by mounting a reflectance sensor on one of the trucks. It points toward the inside of a wheel which has a piece of black tape on it. Every time the tape passes it prevents the IR led from reflecting back at its paired receiver. This lets the Arduino count the revolutions, which are then paired with the wheel diameter to calculate speed as well as distance traveled. Of course the wheels wear down over time to so frequent riders will have to take new measurements at regular intervals.

[KobraX22] went with a QRB1114 sensor. It costs less than $2 and doesn’t require him to embed a magnet in the wheel like a hall effect sensor setup would have. It also shouldn’t interfere with any other fancy wheel hacks you’ve done, like adding a POV display.

[via Reddit]

More Bike-controlled Google-travelling

This is becoming such a popular hack we figure someone needs to come up with a name for it like Google-travelling or Google-cising (exercising with Google). It’s a bike controller for Google Earth. [Braingram] broke out his road bike, setting it up in the trainer in front of his laptop. If you already have a computer with a cadence sensor this will be a snap. These measure the crank rotation using a magnet and reed switch. So as not screw up his summer biking [Braingram] spliced into the sensor while leaving it attached to the bike computer. From there it is read by an Arduino which also monitors an analog joystick attached to the handlebars. A little bit of Python scripting and you’ll be ready to go.

Be sure to check out some of the other variants like using an exercise bike, or adding a wearable display.