Git Product home page Git Product logo

pic-freq.counter-modification's Introduction

PIC-freq.counter-modification

firmware change to improve resolution of a popular "1Hz-50MHz Digital LED DIY Kits Crystal Oscillator Frequency Counter Tester" sold on Ebay and other sites

This is a modification of the original firmware for the "Frequency Counter with a PIC and minimum hardware" created by Wolfgang "Wolf" Büscher, DL4YHF http://www.qsl.net/dl4yhf/freq_counter/freq_counter.html

Derivatives of Wolf's design are sold on Ebay and other sides in kit form, usually adding a crystal test circuit but otherwise using Wolf's exact design and firmware for the counter part (Wolf is aware of these "clones" but doesn't mind as long as "those kits are offered for a fair price").

Wolf's firmware is writen in assembler and has 3 options, one of which you must select when building it. The clone kit I have needs to be built with option DISPLAY_VARIANT_2 set (Common Cathode). I presume that is true for most if not all clones out there, but it might be good to check your circuit diagram before replacing the program that was loaded in the PIC.

The software is based on the latest version from Wolf's website and contains the following modifications (if you set DISPLAY_VARIANT_2 or DISPLAY_VARIANT_3) that are all clearly marked in the comments.

  1. The range#2 from 11520 Hz to 105600 Hz is now using 1 second gate time (same as the range#1 (1..11519 Hz) and therefor the counter now displays frequencies from 1 to 99999 in 1Hz resolution on the 5 digit display. Range#2 in the original version uses 0.5s gate time and multiply the result by 2 before displaying which leads to 2Hz dsiplay resolution.

  2. The underflow and overflow display now uses the 5th digit instead of the 4th.

  3. I changed the formatting of the display so that the range from 0..99999 Hz is always using KHz format and leading zeros if necessary. Examples below: Freq old new <= 0Hz "__0" "____0" 1Hz "_1" "00001" 1234Hz "1234" "01234" 12000Hz "12000" "12000"

Other than these changes, the software and the comments are unchanged from Wolf's version The hex file is for DISPLAY_VARIANT_2 and can be directly loaded into the PIC

NOTE: The latest firmware is now available in HiRes_Freq_RPM1234_Event_counter

pic-freq.counter-modification's People

Contributors

thehwcave avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.