667Views2Replies

Author Options:

Speedometer using AVR!? Answered

hello
im using avr atmega 8 and i need to display the speed in a lcd panel!.How would i convert the data from the hall-effect sensor to digital and from there to numerical value..Im confused about the caliberation.

Discussions

What are you writing the code in ?

0
user
iceng

6 years ago

The hall will give you a time measured in execution cycle counts for
a measure of speed.

Then use the count through a look-up table to send RS232 numerical characters to a simple LCDisplay.

Or calculate the speed.

Calibration can be serious but in the end trial-and-error will win the day.
And that is assuming the hall response is linear compared to speed.

A