Single chip design bicycle odometer