Tim Quinn 4/21/09. The Use of a Bicycle Speedometer With a speedometer cyclists can know how fast...

11
BICYCLE SPEEDOMETER Tim Quinn 4/21/09
  • date post

    19-Dec-2015
  • Category

    Documents

  • view

    215
  • download

    0

Transcript of Tim Quinn 4/21/09. The Use of a Bicycle Speedometer With a speedometer cyclists can know how fast...

Page 1: Tim Quinn 4/21/09. The Use of a Bicycle Speedometer With a speedometer cyclists can know how fast they are going helping to maintain a Constant Speed.

BICYCLE SPEEDOMETER

Tim Quinn

4/21/09

Page 2: Tim Quinn 4/21/09. The Use of a Bicycle Speedometer With a speedometer cyclists can know how fast they are going helping to maintain a Constant Speed.

The Use of a Bicycle SpeedometerWith a speedometer

cyclists can know how

fast they are going

helping to maintain a

Constant

Speed or pace during their

ride. Another use for a

speedometer is the ability to

keep track and calculate the

distance that has been ridden.

Or an Odometer

Page 3: Tim Quinn 4/21/09. The Use of a Bicycle Speedometer With a speedometer cyclists can know how fast they are going helping to maintain a Constant Speed.

Interest

Being a avid cyclist I wanted to apply my interest into my individual project by building something that I can make use of and that would be a fun and interesting project.

Page 4: Tim Quinn 4/21/09. The Use of a Bicycle Speedometer With a speedometer cyclists can know how fast they are going helping to maintain a Constant Speed.

Hall Effect Sensor

Processor board, LCD driver board

8x2 LCD Display

Page 5: Tim Quinn 4/21/09. The Use of a Bicycle Speedometer With a speedometer cyclists can know how fast they are going helping to maintain a Constant Speed.

Wiring Schematic

Page 6: Tim Quinn 4/21/09. The Use of a Bicycle Speedometer With a speedometer cyclists can know how fast they are going helping to maintain a Constant Speed.

Transistor The Transistor is being used to

separate the power to the devices into, VDD(being powered all the time) and VCC(being turned on by the transistor) this will work as a power saving mode by turning off the parts of the circuit that use the most power, when not being used.

Page 7: Tim Quinn 4/21/09. The Use of a Bicycle Speedometer With a speedometer cyclists can know how fast they are going helping to maintain a Constant Speed.

Hall Effect Sensor The hall effect sensor is being

powered at 3V by VDD, keeping it on all the time. As the Hall effect detects a magnetic pulse, the signal will work as a switch to turn on

VCC through the transistor. Hall Effect is going into PTA5

which is the MTIM port. MTIM in an internal 8 bit counter. I am using the counter to count the number of pulses from the Hall Effect in a given time period to find the frequency.

Page 8: Tim Quinn 4/21/09. The Use of a Bicycle Speedometer With a speedometer cyclists can know how fast they are going helping to maintain a Constant Speed.

Board Layout

Page 9: Tim Quinn 4/21/09. The Use of a Bicycle Speedometer With a speedometer cyclists can know how fast they are going helping to maintain a Constant Speed.

Code and Calculations

Speed = 2π f rRadios of the wheel = 1.148ftFrequency= the number of rotations in a given time period5280ft in 1 mile 3600seconds in 1 hour

Page 10: Tim Quinn 4/21/09. The Use of a Bicycle Speedometer With a speedometer cyclists can know how fast they are going helping to maintain a Constant Speed.

Stop Mode

After 30 seconds of no input pulse the code will go to the inactivity_timer . This will turn off PTAD2 to the transistor, turning off everything controlled by VCC and going into stopmode. When the Hall effect detects the MTIM will start counting as well as PTAD2 turning back on.

Page 11: Tim Quinn 4/21/09. The Use of a Bicycle Speedometer With a speedometer cyclists can know how fast they are going helping to maintain a Constant Speed.

Any Questions?