What resolution do you needs? Jean-Paul AC9GH On Jul 18, 2014, at 9:01 PM, Dwayne Reid wrote: > Good day to all. >=20 > The recent discussion about controlling the frequency of a signal=20 > generator reminded me of a project that I've been meaning to do for=20 > years. But it's been sitting for so long that I should see if anyone=20 > has done anything similar to what I want. >=20 > I have a couple of older BK Precision function generators. These=20 > cover the range of sub-Hz through, I think, 5 MHz. They work well=20 > but suffer one tragic flaw: it is not possible to know what frequency=20 > you are generating without using an external frequency counter or scope. >=20 > I want to add a digital frequency readout to these units. There is=20 > space in the upper-left corner of the front panel that is just crying=20 > out for some form of readout. >=20 > I've seen a couple of frequency meter projects over the past few=20 > years - most are simple and use a PIC's TMR0 and its' prescaler to=20 > measure a signal up to 50 MHz. But I'm picky. I want something that=20 > measures and displays frequency when the generator freq is above,=20 > say, 1 KHz but measures period and converts that period measurement=20 > to frequency at lower freqs. This allows quick display updates even=20 > when generating low-frequency signals. >=20 > Bonus points if the unit can also measure and display period as well=20 > as both positive and negative pulse width. >=20 > I could write it myself but surely someone has already done something=20 > similar to this. I hope. >=20 > Any thoughts? >=20 > Many thanks! >=20 > dwayne >=20 > --=20 > Dwayne Reid > Trinity Electronics Systems Ltd Edmonton, AB, CANADA > (780) 489-3199 voice (780) 487-6397 fax > www.trinity-electronics.com > Custom Electronics Design and Manufacturing >=20 > --=20 > http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .