Preview
SHANREN Bike Computer - Speedometer and Odometer - Heart Rate Integration - Bluetooth Cycle Computer Multi-Function Large LCD Backlight Display with Cycling Safety Frontlight | Raptor II Pro 400Lm
CAT EYE, Velo 7 Wired Bike Computer with Odometer and Speedometer
JGRZF Bike Computer Bicycle Wireless Wired Speedometer and Odometer Waterproof Backlight with Digital LCD Display for Outdoor Cycling and Fitness Multi Function (Wireless Computer)
MEILAN M3 Mini GPS Bike Computer Wireless Cycling Computer Bicycle Speedometer and Odometer Waterproof Cycle Computer Bicycle Computer for Road Bicycle MTB Bicycle (White)
Nellvita Wireless Bike Computer, 20 Multi-Functions, Real Waterproof Bicycle Speedometer, Cycling Odometer with 3'' Large LCD Display(Simple to Read), Easy to Use
Title
SHANREN Wireless Bike Odometer
CAT EYE Velo 7 Bike Computer, Speedometer and Odometer
JGRZF Bicycle Wireless Wired Speedometer and Odometer
MEILAN M3 Mini GPS Bike Computer and Odometer
Nellvita Wireless Cycling Odometer with 3'' Large LCD Display
Brand
SHANREN
CAT EYE
JGRZF
MEILAN
Nellvita
Prime Benefits
Price
$99.99
$24.95
$20.99
$34.99
$23.99
Preview
SHANREN Bike Computer - Speedometer and Odometer - Heart Rate Integration - Bluetooth Cycle Computer Multi-Function Large LCD Backlight Display with Cycling Safety Frontlight | Raptor II Pro 400Lm
Title
SHANREN Wireless Bike Odometer
Brand
SHANREN
Prime Benefits
Price
$99.99
Preview
CAT EYE, Velo 7 Wired Bike Computer with Odometer and Speedometer
Title
CAT EYE Velo 7 Bike Computer, Speedometer and Odometer
Brand
CAT EYE
Prime Benefits
Price
$24.95
Preview
JGRZF Bike Computer Bicycle Wireless Wired Speedometer and Odometer Waterproof Backlight with Digital LCD Display for Outdoor Cycling and Fitness Multi Function (Wireless Computer)
Title
JGRZF Bicycle Wireless Wired Speedometer and Odometer
Brand
JGRZF
Prime Benefits
Price
$20.99
Preview
MEILAN M3 Mini GPS Bike Computer Wireless Cycling Computer Bicycle Speedometer and Odometer Waterproof Cycle Computer Bicycle Computer for Road Bicycle MTB Bicycle (White)
Title
MEILAN M3 Mini GPS Bike Computer and Odometer
Brand
MEILAN
Prime Benefits
Price
$34.99
Preview
Nellvita Wireless Bike Computer, 20 Multi-Functions, Real Waterproof Bicycle Speedometer, Cycling Odometer with 3'' Large LCD Display(Simple to Read), Easy to Use
Title
Nellvita Wireless Cycling Odometer with 3'' Large LCD Display
Brand
Nellvita
Prime Benefits
Price
$23.99

Arduino Bicycle Odometer Review

this is my new bike with the automatic
shifting obviously I won’t open the
video series on there’s one thing
missing from it and that is a way of
adding up the mileage that’s done this
is rather useful for maintenance
purposes and as I’m testing out this hub
you nice to know how many miles it’s
done so I could just buy a typical cycle
computer for this purpose but I don’t
really want to clutter up the handlebars
and I’ve already got the Garmin mount
there and the Garmin could be used to
measure mileage but I don’t log every
ride onto Strava and they use it for
other bikes as well so oh well we’ve got
a reed switch already installed on the
rear wheel and we’ve got the Arduino so
let’s see if we can write some code to
go on the Arduino with the auto ship
code to log exactly how many miles this
bike does I’m gonna do the code testing
on the other bike because it’s got the
power latch circuit installed on it and
this one hasn’t yet and you’ll find out
when I go into the code in a minute why
the parallel circuit is rather important
for making this work to do this I’m
gonna try out something that I’ve not
used before and that is the Arduino
EEPROM it’s basically its equivalent of
a hard drive there’s one thing to note
about it and that is that it has a
limited number of read/write cycles
that’s around 100,000 so I don’t want to
be rewriting the data in it every time
to the leap because that would be every
half second just in case the auto
shifter got switched off
I could increase that every 10 seconds
every 30 seconds but it’s still a lot of
read/write cycles
I’d obvious think about it you could
actually rewrite the data in it every
time a speed gets to zero but what I’m
actually going to do because I’ve got
the power latch circuit and the Arduino
is in charge of when it switches off I’m
going to get it to write the new updated
mileage to the e from before so it gives
itself off first thing we need to know
is every time the wheel does a complete
rotation now in the auto shift code
we’ve got this timer interrupt which is
monitoring the read switch but you could
set up a interrupts on the pin itself if
you wanted to if you didn’t have this
code using it for another purpose what
I’ve done is add on to this section of
code here which will operate once on
every rotation of the wheel I’ve added
on this line here which basically adds
the wheel circumference in centimeters
to the distance traveled now chosen
centimeters because I feel it gives the
best resolution and you’re not working
with a decimal point is whole numbers
and it’s got plenty of space because I’m
using for the distance and unsigned long
now this distance measurement is going
to be only for the right so this will be
reset once it switches off and back on
again here’s the section of code that
the Arduino uses to switch off section
here and so basically it’s F speed
equals zero increment the timer timing
guess greater than 60 then do the
process of switching off but before that
I write it in this piece of code here is
where it gets a little bit complicated
with the units I’ve using for the
measurements
because if I was to take the distance
and convert it into miles or kilometers
and store into this odometer value here
it would always round down so over time
you keep missing out chunks of the
distance traveled so what I decided to
do was to store as hundreds of a
kilometer I basically gives it like a 10
meter resolution because I didn’t want
to use a decimal point because I’ll see
having a float that’s in the sort of
tens of thousands isn’t really going to
work this odometer is stored as an
unsigned long as well so it’s plenty of
space on so basically what this is doing
is read the last value from the Ephrem
add on the distance by converting it so
that’s divided by thousand like a versa
from centimeters into hundreds of a
kilometer and then store it in the
EEPROM before finally switching off to
check what the mileage is that has been
stored I’ve set up another mode that is
activated by the Bluetooth by sending a
seven so basically this section here and
it’s read the last stored value from the
EEPROM add on the distance which is
currently been added up during the ride
and then display on the serial monitor
so to do that I want it in miles so I
divide by 160 but if you wanted
kilometers you just divide by 100
instead and I’ve put in here just to
make the fries so like a chance to read
the Marge and if you send any value
here to the supermarket just continues
on and goes back to its normal running
mode that’s it for the code writing more
time to test it connected to the auto
shifter with the Bluetooth if I send it
a seven going to read EEPROM mode and
there’s the mileage you displayed which
I’ve put onto the EEPROM and it matches
up to the cycle computer mileage now
let’s go for a ride and see if the otter
shifter will correctly add up the
mileage count me out on the ride I’m
really gone very far but before it gets
any darker I would check to see what the
EEPROM says and the mileage matches up
nicely the number above the 1 million
and 39,000 is the distance I’m currently
from home in centimeters so next thing
I’ll see is to let it switch off but
power up again and see if this is now
stored in the EEPROM I’ve connected back
up again as you can see the distance or
volume has reset so I’m not gonna get
through he premiered II and it has
indeed saved it from the last time it
was powered so that seems to work
perfectly – just need a ride home now
thank you for watching

Bestseller No. 1
SY Bicycle Speedometer and Odometer Wireless Waterproof Cycle Bike Computer with LCD Display & Multi-Functions by YS
  • 【Auto Wake-up Function】Automatically wakes from sleep mode upon sensing vibration in the bicycle. Bright LCD display to easily view ride statistics.
  • 【Multi-functions】Small size, light weight, wireless, waterproof design makes it convenient and durable. This bicycle computer measures speed, distance, and riding time. Exactly what any serious bicyclist or fitness fanatic needs to know for stats tracking.
  • 【Day & Night Backlight 】Provides backlight for easy viewing during dark hours. The backlight will automatically turn on when any button is pressed between 18:00 and 06:00. Please note the slight rattle sound from device is normal phenomenon, which results from the design of wireless automatic function.
  • 【Easy to Install &Use】Simple installation that only takes a few minutes. Easy to navigate interface with only two buttons to access all measurements. Customizable to most common tyre sizes for accurate stats tracking.
  • 【Applicable】Road bicycles, mountain bikes, folding bikes,and other common bicycles are compatible with this bicycle computer. This bicycle computer MAY NOT be compatible with some electric-assist bicycles. If the computer display, sensor, and magnet can be installed within the specified distances device should be fully compatible. Please do not hesitate to contact us with any questions.

A bicycle odometer is designed to measure the number of revolutions that the wheels of the bike make while moving. It uses an electric sensor connected to the hub and sprocket, with a small magnetic coil on top of it. When the wheel turns the sensor records the changes in its voltage.

Bicycle odometers are calibrated so that they read exactly the same way every time the motorist takes out his or her keys to start the motor. If you have bought your bike from an outside source such as a dealer, you will find a gauge or sticker on the engine cover or motor housing which indicates the exact number of revs the bicycle has under its belt. The number of revs of each wheel that is read can vary slightly because it depends on the speed at which the wheel spins.

Make sure to check the scale periodically to make sure it is still working correctly. This is especially true if you have bought a used bicycle. You will need to do this if it has only recently been taken out of storage.

There are other types of motorcycle odometers and they are suitable for use on motorcycles as well as bicycles. You may need to do some research to find the one that works best for your needs. You might need a scale that works by using a laser instead of an electronic sensor. These are more accurate because they record the rate of friction between the tire and the road surface.

Electric bike odometers come as handheld units or you can mount it onto your dash. This helps to ensure that you are measuring the exact speed of your bicycle. They can be used to measure both your distance traveled as well as the speed that you will reach in the time it takes for you to get to your destination.

Manual ones also exist but they are more expensive. You will need to purchase an entire unit in order to run it correctly. Because of the accuracy that they provide you will need to purchase a model that meets your needs.

It is important to remember that buying a new bicycle odometer will be worth it in the long run. because it will help you save money and time when buying a new bike.

Last update on 2020-08-05 / Disclaimer: as an Amazon Associate I earn from qualifying purchases.