The main idea starts from a "Home Trainer" frame.
A "Home Trainer" is a frame that hosts a complete bicycle and allows you to simulate pedaling uphill through an electromagnetic brake.
Home trainers often offer a measure of speed and the length of the path by means of a microcomputer that measures the speed of rotation of the rear wheel.
The idea is to integrate this system with a Google Maps Street View presentation tying the movement of the Street View presentation to the movement info acquired from the Home Trainer by measuring the rotation speed of the rear wheel.
The progress of the Street View presentation is achieved by a Web client application that uses the public functions of Google Maps (API) in order to load imagery from Maps database.
The Web client application also computes the slope of the path and gives a feedback to the Home trainer in order to change the running resistance by means of an electromagnetic brake according to the detected slope.
The communication between the Web client application and both sensors and actuators at Home Trainer is performed by an Arduino based microcontroller that reads the cadence sensor, drives the Web client application emulating a mouse, receives the slope and drives the electromagnetic brake according to slope value.