Reverse Engineering Shimano Bike Electronics

ANT+ is a wireless protocol specifically designed for use with sensors, and has similar functionality in some respects to Bluetooth Low Energy. It’s found a place among various bicycle equipment manufacturers, to connect smartwatches, cycle computers and electronic gear shifters. Of course, as soon as something becomes a defacto standard someone has to start coloring outside the lines. In this case, Shimano went off book with their DI2 groupset, leaving [kwakeham] with a reverse engineering job on his hands.

[kwakeham] gives us a great example of how to approach reverse engineering. Researching the Shimano hardware by its FCC ID shows that the device communicates using an NRF24AP2 chip, common in ANT+ devices. The Shimano device is then opened, and a logic analyser attached to various test points until the SPI interface between the transceiver and microcontroller is found. At this point, it’s a simple matter of putting the hardware through its paces and capturing data until the protocol can be pulled apart, piece by piece.

The work is documented on Github for anyone wishing to interface with the Shimano DI2 groupset. Reverse engineering is a powerful skill, that can teach you about everything from Pokemon to botnets. Video after the break.

Continue reading “Reverse Engineering Shimano Bike Electronics”

Bicycle Hub Hydropower

[Niklas Roy] wanted to create electricity from moving water so he came up with this hyrdopower generator. It is part of his grand scheme to rent out small personal fountains made from buckets. They need electricity to run so he hooked up the generator to the water jet of a public fountain. It should be possible to use this setup with falling water in a similar way that other generators do.

To build the device he cut fins out of PVC pipe to use as the scoops. They are attached to a Shimano hub generator, meant for producing power while you pedal. The hub is mounted in the front for from a bicycle, which can then be mounted anywhere moving water is available. The only thing that worries us about the setup is [Niklas’] comment that being showered with water didn’t destroy the hub right away.

See the hub and the smaller fountains in the clip after the break.

Continue reading “Bicycle Hub Hydropower”