Posts

How to calculate loop delay in AVR?

Image
The basic principle of time delay is to create a loop so that the microcontroller waits for a certain period of time without processing. The duration of a command is equal to the cycle time of the oscillator used. The duration of a command in an AVR using an f Mhz oscillator; T = 1 / f * 10 ^ 6 seconds.

0-99 Counter Circuit with JK Flip-Flop

Image
In this article, we will design the 0 to 99 forward counter circuit using JK Flip - Flop. Our circuit is a counter circuit which counts among the 99.The counter receives the value 00 when the counter is started. When a clock signal is applied to the CLK input of the first Flip - Flop, the value read out at the counter output is incremented by one. When the circuit output reaches 99, the Flip - Flops returns to the first operating state when the clock signal is given again and takes the value of 00. I use 74HC107 JK Flip - Flop IC. Total JK Flip - Flop number used is 4.