![]() It’s paired with a debounce circuit to keep the output clean. A Raspberry Pi is pressed into service, running a Python program to read a GPIO pin activated by the reed switch, counting pulses to determine the speed of pedalling. A Hall Effect sensor would be a more reliable way to build this to survive in the long term, but the reed switch does work. The extra magnets give the system better resolution at slow speeds. ![]() The device relies on a flywheel-based exercise bike, with six magnets placed on the flywheel that triggers a reed switch six times per rotation. decided this was too easy, and instead developed a system to allow him to pedal his way around the virtual world. If you like playing Grand Theft Auto, you’re pretty familiar with squeezing the triggers for accelerating and braking while driving around.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |