Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
Tools
Old 18th October 2003, 08:58 AM   #1
Default Tachometer with LCD readout

Has anyone tried out this project? If so can you direct me how to start with it.

I am thinking of using a Allegro Hall effect digital sensor along with a 16F84 or a 16F877. The LCD would be a Hitachi.

Hopefully someone will be able to help me out on this. :lol:
actionplus is offline  
Old 18th October 2003, 04:40 PM   #2
Default

Yes, I have done such a device. It did not display the speed on an LCD, but the lcd interfacing is very easy to do. The hard part is converting the timing of the pulses from the hall effect sensor into RPMs. The frequency is given by 1/t where t is the period of the pulses. Doing a "1-over" in micros is not always straightforward. Alternatively, you can count pulses in a given amount of time, but you need to have enough pulses in your sample period to give an accruate estimate of the speed (alternatively, you can digitally filter over the last n sample periods).
crust is offline  
Old 18th October 2003, 09:55 PM   #3
Default Readout

How were you able to know what the rpm was without the LCD?

Do you any code or schematic that you used?
actionplus is offline  
Old 30th October 2003, 09:03 PM   #4
Default Same project

Hey i'm working on a digital speedometer/tachometer on a PIC16f877, but also having a hard time....help is welcomed.
__________________
email: r4mejor@yahoo.com
r4mejor is offline  
Old 30th October 2003, 09:28 PM   #5
Default Re: Readout

Quote:
Originally Posted by actionplus
How were you able to know what the rpm was without the LCD?
I used the serial port of the micro controller to output the speed to a computer. In addition, I had a set of 7 segment displays that I scanned to show the current speed. I *might* have the code on a floppy as this was 8 years ago -- However, to do the timing->frequency conversion, I used a 6811 which had a special FDIV instruction to perform a large part of the math. If you used an AVR for instance, you could get a c library for it and the divide is done for you.
crust is offline  
Reply

Thread Tools
Display Modes




All times are GMT. The time now is 03:43 AM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker