Google Maps + Exercise Bike = Virtual Bike Ride

by gigafide in Circuits > USB

127281 Views, 212 Favorites, 0 Comments

Google Maps + Exercise Bike = Virtual Bike Ride

Sequence 01.bmp
Hook up your exercise bike to Google Maps and turn your boring stationary bike into a virtual reality excursion!


Parts List

Screenshot-231_google_bike.mp4-1.png
To do this project, you're gonna need to gather a few parts:

How This Will Work

Screenshot-231_google_bike.mp4-2.png
Screenshot-231_google_bike.mp4-3.png
The premise behind how this works is pretty simple. The magnetic alarm runs off of a reed switch that connects every time a magnet is near it. So if we connect this switch to the up arrow key on the keypad, then every time a magnet passes by, the switch will connect and the button will be pressed. So if you have Google Maps open, pressing the up button will propel you forward.

Solder the Alarm to the Keypad

Screenshot-231_google_bike.mp4-4.png
Screenshot-231_google_bike.mp4-6.png
Screenshot-231_google_bike.mp4-8.png
Screenshot-231_google_bike.mp4-9.png
Screenshot-231_google_bike.mp4-7.png
Open up the keypad until you see the circuit boards that comprise it. Find which circuits connect to trigger the up arrow key (or key 8) and connect the wires to it. Since there are thousands of different keypads available on the market, yours will not look exactly like the one I used in this example. But in my case, I was able to find that circuits 4 and 3 (shown in the graphic below) connected when the up arrow key was pressed. So I traced those circuits back to the main logic board and soldered the alarm wires to them, so that when the alarm is tripped, it triggers the up arrow.

Test the Rig

Screenshot-231_google_bike.mp4-10.png
Screenshot-231_google_bike.mp4-11.png
Screenshot-231_google_bike.mp4-14.png
Once you have the wires connected to the button, put everything back together. You may need to cut some of the plastic casing in order to accommodate the extra wires we added. Now plug the USB keypad into your computer and open up maps.google.com and make it full screen. Then you'll need to hit the numlock key on the keypad to turn the number lock off. Now whenever you pass a magnet by the alarm switch, the map should move forward.

Connect the Rig to an Exercise Bike

Screenshot-231_google_bike.mp4-12.png
Screenshot-231_google_bike.mp4-13.png
Screenshot-231_google_bike.mp4-15.png
After you have it working properly, you want to attach the rig to an exercise bike. I duct taped the alarm switch to the front bike wheel and the magnet to the bike peddal. This is so that everytime the pedal makes a rotation, it will trigger the alarm switch. Then run the wires up to the laptop, which you should place somewhere in front of the bike. Now just hop on the bike and start peddling and enjoy the scenery! If you want more information on this project, please visit the website that provided the inspiration for this video (http://www.izonsoft.co.uk/Projects/googleBike.asp).