7-digit frequency meter/digital scale |
|
The construction is based on Microchip Application notes
No 590 (LED display multiplexing) and
592 (frequency meter). The mathematics is mainly original product of my mind. The device was originally developed for compact LED based multiplexed displays used in calculators. Standard (nonmultiplexed) LED displays can be used too, they must have hard vired corresponding pins.
The prototype was developed with common cathode LED display. Power consumptions with small calculator display: 2.5V/9mA, 3V/13mA, 5V/35mA. Hardware is very simple: It contains :
You will need also include files.
Note: The counter uses internal prescaler of PIC as low byte of counter, TMR0 as middle byte and some register as high byte of counter.
Some ideas were taken from "Simple low-cost digital frequency meter using a PIC 16C54" (frqmeter.asm)
written by James Hutchby, MadLab Ltd. 1996 |