Progress of project
Last Tuesday, we design circuit in Proteus VSM.
 |
| Circuit designed in Proteus |
For this schematic LCD is use as a output to display the RPM value for speed. This LCD use port 0, so the network resistor is connected to the LCD. This is because port 0 is an open drain, that why we need add network resistor. We also use one push button. Push button use to replace sensor. We connect push button in Port 1.7. In this project we use toolstick850, so the push button connected to port 1.7.
The next day, we start write the coding for digital tachometer in Keil uvison software. In this coding, first we write name and tittle of our project. After that we write coding to display RPM when push button is pressed. Digital tachometer have two concept:
- Time measurement - Calculates the speed by measuring the time interval between incoming pulse is known as time based digital tachometer. The resolution of this tachometer is independent of the speed of the measurement and its is more accurate for measuring low speed.
- Frequency measurement - Calculates the speed by measuring the frequency of the pulse is known as frequency based digital tachometer. The resolution of this tachometer is independent of rotary shaft and its more accurate for measuring high speed.
For this project we use push button to replace the sensor. We need to pressed push button to create the pulse. So, we use concept time measurement because this concept is accurate for measuring low speed. If we use infrared sensor it can catch speed of motor, but the push button use manual handling so cant follow the speed of motor. That's why we use time based digital tachometer.
RPM is revolution per minute.The formula to get RPM value:
num_pulse x period(10ms) x 60
When we run the Proteus, the result:
 |
| Result display in Proteus |
When the push button is pressed
 |
LCD display 800RPM
|
LCD display 800 RPM, that means in 10 ms, only 1.33 incoming pulse.
 |
| LCD display 1800 RPM |
LCD display 1800 RPM, that means in 10 ms, only 3 incoming pulse.