microprocessor based frequency counter

Posted on Feb 7, 2014

In order to make the circuit work, it is important to set the fuse bits inside the AVR micro controller correctly. Theses fuse bits can be set with the programmer that is used to flash the software. For those that are interested to understand the background, have a look at the ATmega16 datasheet pages 254-256. The logic of the bits is active low,

microprocessor based frequency counter
Click here to download the full size of the above Circuit.

i. e. programmed=0, unprogrammed=1. The bits that determine the clock source of the AVR, CKSEL 0. 3, come programmed when the chip is shipped, i. e. set to 0. That is the reason why the controller runs on internal clocking, and does not even start the crystal. By setting all CKSEL 0. 3 to unprogrammed (1), the external crystal is selected. The CKOPT programmed (0) switches the crystal from weak amplitude to full amplitude, so that the 74HC4040 gets enough input signal.

Leave Comment

characters left:

Related Circuits

  • New Circuits



    Popular Circuits

    LED Power Meter
    Infrared relay remote control
    Plant water gauge
    Sensor-Activated Relay Pulser Circuit
    plant watering watcher dry soil detector
    Comparator Based Crystal Oscillator
    switching between parts circuit pulse input
    Battery Tester Circuit Schematic
    Selfrunning Free Energy 5 KW Kapanadze 4
    Expansion - C64 to 256kB