Answered step by step
Verified Expert Solution
Question
1 Approved Answer
A Tachometer is a device that measures angular ( rotary ) speed of a rotating object in rounds per minutes ( RPM ) . There
A Tachometer is a device that measures angular rotary speed of a rotating object in rounds per minutes
RPM There are mechanical tachometers and digital tachometers, however, in this project we address
the design and implementation of a digital tachometer. Specifically, the design and implementation of a
device that counts the number of revolutions in a measured time interval and displays the value of RPM
for the given interval.
In this project, you are required to implement the system shown in Figure A PIC microcontroller should
be used to measurecompute the number of rotations of a rotating object in RPM every seconds. An
infrared IR sensor module is used to detect the existence of a rotating object the basic principle of
that will be explained later with the aid of Figure
Figure: General setup.
The calculation of the RPM for a single object is done every seconds according
RPM count x
In case of more than one rotating object, for example a fan with N blades, the RPM is calculated by
RPM count x N
P a g e
where, N number of rotating objects eg number of blades in a fanThe measuredcalculated RPM
must be displayed on a x liquid crystal display LCD see Figure
The system allows the user to set a threshold value for the RPM beyond which an alarm is triggered. To
make this convenient for the user, the full range is divided into four intervals shown in the second column
in Table The choice of interval is determined by selecting the correct combination of the pins of a dualinline DIP switch shown in Figure After choosing the interval, the user can incrementdecrement
the count value if heshe likes to modify the value of the selected threshold by pressing one of the two
push buttons shown in Figure One push button for increment and another push button for
decrement The microcontroller should do sound a beep using a buzzer and display the message RPM
MAX EXCEEDED! as long as the measured RPM is greater than the threshold.
Table: Setting the speed threshold.
DIP switch Threshold value of count Percentage of maximum speed
Detecting objects using IR
An IR sensor emit infrared light and once this light hits an object, it is reflected back to the sensor
Depending on the strength of the reflected light, the sensor will know if an object exists or not and further
can know how far or close an object is The basic idea is illustrated in Figure
In the s we used to build IR circuits and its conditional circuits from scratch in Jordan, but nowadays
we have them built as modules. For example, the HW IR is an obstacle sensor module. The detection
range of this module is from to cm depending on the type and color of surface This module has a
digital output only, that is it only outputs a HIGH or LOW signal, which we can understand as logic or
logic HIGH if an object is detected and LOW if no object is detected. This module requires volts DC to
operate.
P a g e
Figure: Basic idea of IR object detection.
Design and Development
For this project, you are required to design, implement and test the system in simulation using MPALB
and Proteus, and then build the hardware prototype for the system and test it using a rotating object.
For the software part, you need to program in assembly, and you are encouraged to maximize the use of
interrupts, subroutines and hardware timers in your design. Make sure to include detailed explanation for
your design and all the calculations that you do
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started