Basys3 Bicycle Odometer

Wouldn’t it be cool if the government promoted environmental sustainability by offering rebates for distance biked? This would encourage people to bike rather than drive, which would decrease our carbon emissions. This was the idea behind our project. We imagined that we could create a bike odometer that would measure distance traveled, and then at the end of each month, the government could in return issue a cash rebate dependent upon distance traveled to encourage sustainability. For this project, we created a bike odometer using the Agilent Basys3 Board. Using a hall sensor and a magnet, the sensor detects each rotation of the bike wheel and then shows the distance traveled on the Basys seven-segment display. The magnet is attached to the wheel and every time the magnet passes the hall sensor it closes the gate in the hall sensor, making the voltage that it outputs equal to zero.”