
This project is meant to analyse the key characteristics of an input PWM signal, namely its duty cycle and frequency. It outputs these characteristics to a 4-digit 7-segment LED display. An additional mode-switch signal can be used to toggle what property is being displayed, LO: Duty Cycle, HI: Frequency. The frequency counter module is designed for measuring frequencies between 1 and 9999 KHz, any lower or higher frequency signal shall result in a LO or HI message on the Display. If the PWM signal is faulty and stays constant for too long the the frequency display shall output an ERR message.
This design can be tested using another either a microcontroller or signal generator to generate a PWM signal. Please note that the voltage of said signal is appropriate so as to not destroy the device.
| # | Input | Output | Bidirectional |
|---|---|---|---|
| 0 | PWM_INPUT | G | DIGIT_EN_3 |
| 1 | MODE_SWITCH | F | DIGIT_EN_2 |
| 2 | NC | E | DIGIT_EN_1 |
| 3 | NC | D | DIGIT_EN_0 |
| 4 | NC | C | NC |
| 5 | NC | B | NC |
| 6 | NC | A | NC |
| 7 | NC | DP | NC |