Question: Combination of Timers Practice Problem ( replace 7 - segment with the LCD ) Boxes move on a production line at a rate less than

Combination of Timers Practice Problem (replace 7-segment with the LCD)
Boxes move on a production line at a rate less than 30 per second.
The line is monitored by an infra-red light and detector.
Whenever a box interrupts the light, the detector will produce a logic 0, otherwise it produces a logic 1.
We are required to design a PIC based system to count the boxes that move on the production line per second.
The only information we have is the infra-red detector's output.
Write a program to continuously monitor the infra-red detector's output and display the current second's box count on 7-segment displays at the end of the second.
The PIC is operating at 8MHz.
 Combination of Timers Practice Problem (replace 7-segment with the LCD) Boxes

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!