A digital circuit that literally "counts" - it progresses through a sequence of states that are representative of some value. It need not count in a natural progression i.e. 1,2,3,4,5 etc. to be considered a counter (i.e. you can have different count sequences) each count value need not be of ...

learn more… | top users | synonyms

-3
votes
1answer
54 views

modifying a frequency counter to make it a frequency meter [closed]

Is it possible to modify this circuit and make it a frequency meter? This is an assignment and none of us know how to do that. We all have considered to make another circuit and not modify the one ...
0
votes
0answers
15 views

Understanding how to use a counter and timer for a fixed number of counts

I'm going to generate pulses indefinitely with a 555 timer and use have a counter such as the below one count from 0 to 64 or another power of two and convert the output into an analog voltage to ...
0
votes
2answers
69 views

simple counter in VHDL

I am trying to write a little counter in VHDL using the two process methodology. However it is not working. Could someone explain me why? ...
0
votes
1answer
101 views

Digital Logic Reset [closed]

Question Too broad apparently.
-1
votes
1answer
36 views

Problem VHDL process maintaing a signal modified

I am writing a VHDL code of a simple counter which receives as an input a number and that is a time in ms, and a 50 MHz clock, for example if 200 is received it has to count 200 ms so 200* 50e3 ...
0
votes
2answers
39 views

Is it possible to load values to a counter upon startup?

I'm designing a digital clock for a freshman electrical engineering projects course. I am using SN74HC161 4-bit synchronous counter chips for the counting. My design counts seconds and minutes with ...
-2
votes
1answer
25 views

The meaning of T0CLK=1 [closed]

i know that there are two types for clock in a Timer in a micocontroller one of them is the counter and i wonder how the counter can be a clock ?
0
votes
1answer
58 views

Non-Wraping Up-Down Counter

I'm trying to implement a synchronous up-down counter in verilog with the following rules: Counter only changes on rising edge of clock When reset=1, count goes to 00, normal operation when reset=0 ...
1
vote
1answer
57 views

Asynchronous Down Counter using D Flip Flops

After fixing my Up Counter, I'm having troubles writing structural verilog code for an Asynchronous 4-bit Down Counter using D Flip Flops. Here's the D Flip Flop code (which was tested and works): ...
0
votes
0answers
61 views

Asynchronous 4-bit Up Counter using D Flip Flops

I'm trying to write structural verilog code for an Asynchronous 4-bit Up Counter using D Flip Flops. Here is my D Flip Flop Code made from this image: ...
-1
votes
2answers
64 views

Increment operation in 24 bit counter

This is a 24 bit counter verilog program. What is the function of highlighted operation? Do we add 1 to the least significant bit? How can we know that the addition was done to the least significant ...
0
votes
1answer
51 views

Setting up a counter on STM32F405xx

How do you correctly setup Timer9 (TIM9)on an STM32F405xx to count pulses on rising edge? Is there a special configuration for the pin to the timer outside of this short example? Here's what I've ...
0
votes
1answer
46 views

how much current does the 74161 4 bit counter needs?

you see, i have this circuit simulate this circuit – Schematic created using CircuitLab however when i add another more 74161 simulate this circuit the first one stops working ...
-2
votes
1answer
55 views

Can someone tell me whats wrong on this 4 bit counting circuit? [closed]

The circuits are a 555 timer and a 74161 counter, its supposed to do a simple 4 bit count up, however when I give it 5V it just keeps the first LED permanently on without changing And the schematic ...
4
votes
5answers
2k views

Counter for 20 GHz clock

I am designing time critical application where I need time resolution in order of 100 picoseconds. I am considering to make an ring oscillator of 20 GHz and clock from ring oscillator. Is there ...
0
votes
4answers
57 views

Is it possible to create a 22 stage synchronous counter using multiple 4-bit synchronous counter?

Is it possible to create a 22 stage synchronous counter by linking together multiple 4-bit synchronous counter, like SN74F163AN?
0
votes
3answers
102 views

8-bit binary U/D counter with rotary encoder

Im trying to make 8-bit binary counter using CD4516 / HEF4516 (doesnt matter, both act same). My circuit works well excepct one error. I can successfully go from ...
0
votes
2answers
56 views

how many bit binary counter?

I was in a training class and the instructor went quickly over how to use a single output momentary switch to effectively drive 4 different states, which he didn't think was important and skimmed--so ...
-1
votes
1answer
196 views

Minimum No. of JK FlipFlops needed to design a user defined counter

We want to design a synchronous counter that counts the sequence 0−1−0−2−0−3 and then repeats. The minimum number of J-K flip-flops required to implement this counter is : My doubt: We can design ...
0
votes
2answers
53 views

Downwards 74LS190 with clock wired to another's RCO counts twice

I have a really simple circuit, a 2-digit decade counter (0 to 99) using two 74LS190s. It works fine when counting upwards (0 .. 9, 10 .. 19, etc), but when going downwards, it seems to decrement the ...
0
votes
2answers
158 views

8 bit counter from T Flip Flops

I'm trying to build an 8bit counter in Verilog. I specifically need to create a module that I instantiate 8 times. I have followed the diagram below (and assumed that I can just build on it to make it ...
1
vote
3answers
153 views

Binary Counter C Code for pic16f877a

I'm trying to write a code for an up/down binary counter. The task is to light up 8 leds (up counter)and then reverse the lighting order (down counter). I am trying to create an array of leds in my ...
1
vote
3answers
113 views

How to make a zeros and ones counter?

I'm trying to write a zeros and ones counter in assembly with the AVR ATmega328P. To choose between the ones and zeros, I have a switch in PC5. For the input there are 8 switches connected to PORTB ...
0
votes
1answer
53 views

Timers and counters

I have to build a ladder diagram for a system which sounds the alarm if inside 60 seconds after pressing the start button,10 objects have passed.The alarm goes on until we press stop.In the system we ...
0
votes
1answer
85 views

Count pwm pulses on pic

I'm working on PIC18F8722 to generate PWM for 50% duty cycle. I have obtained the PWM and now I need to count the PWM pulse. As per my knowledge we can use timers to generate and count those pulses ...
0
votes
0answers
60 views

Asynchronous Down Counter Using D Flip Flops Simulation Not Working As Expected

I'm a bit new to this, but I just want to have some insight as to why my circuit simulation doesn't work as planned (I'm using Quartus 2, qsim). Here I have designed an asynchronous down counter ...
-1
votes
2answers
70 views

Count external clock pulses for a predefined time interval (PIC16f877a)

I need to count external clock pulses for a predefined time using PIC16f877a. I don't know what to use, whether counter or timer or both. I don't know to use timer and counter modules of PIC16f877a. ...
0
votes
0answers
26 views

Is there any way to use an up/down binary/decade counter as a ring counter by wiring certain pins together?

I was reading an intructables on 8-bit computer construction, and for the control matrix this guys uses a ring counter. In the parts step, he includes an IC of a ring counter. I read the datasheet and ...
0
votes
1answer
52 views

74161N 4-bit counter not counting properly

As further issues arise I see myself stuck once more with a dysfunctional circuit. Whenever I press the clock button I get all of the leds on except maybe one or two, with some flashing during the ...
0
votes
2answers
51 views

74161N counter isn't counting with clock input

I am trying to get a 74161N 4-bit counter to work. If I connect the clock input to a button to ground, pressing the button increments the counter. Unfortunately due to the physical connection in the ...
0
votes
1answer
147 views

pulse width modulation

I need help on number one of this practice assignment. I barely learned about this so it is kind of hard me to understand it right now. So any advice or help is appreciated. I want to determine the ...
1
vote
1answer
167 views

Counting pulse in firmware without interrupt

How can I count the number of pulses using a microcontroller (any), provided the following conditions: Can not use any interrupt (no interrupt on pin change allowed) Can not use any of uC's hardware ...
0
votes
1answer
60 views

Flip Flop D Sequence

I want to create a game like "pimball" using 4 leds to state the game. One exit to define if the game is still running. And 2 inputs that are switches. 1) To begin with, the first is to assemble 4 ...
0
votes
1answer
69 views

Number of logic gates for counter with each type of flip flop

I am designing two synchronous counters one mod 21 and the other one mod 30. Is there a way to know which kind of flip flop (D, SR, JK, T) will use the smallest number of logic gates? I know we can ...
1
vote
1answer
62 views

frequency divider for two output frequencies

I want to make a frequency divider from flip flops that can generate two frequencies. For example, if the input frequency is fin then the output frequencies will be fin/30 or fin/35 depending on the ...
0
votes
2answers
65 views

D type flip flop feedback

The D type flip flop needs feedback from its inverted Q output to divide frequency by two. Is there an intuitive explanation for this?
0
votes
1answer
45 views

Comparator with latch as trigger

I was hoping to use a Linear Comparator with a latch such as LT1016 as a trigger for the Register output clock for a 74HC590. The 74HC590 is going to be cascaded with it's RCO going to several more ...
0
votes
1answer
68 views

frequency divider by 42 with 50% duty cycle

I want to design a clock divider by 42 from flip flops. Is there a way to do that while still gets 50% duty cycle?
1
vote
3answers
197 views

Understanding Test Parameters on Datasheet (CL pF)

On Page 7 of the datasheet for M74HC590 It uses a CL (pF) At the bottom of Page 8 is the test circuit which shows where the CL(pF) goes, in regards to a circuit diagram, but I don't understand that ...
1
vote
1answer
52 views

Understanding critical paths

So I'm having trouble understanding critical paths. I have the following example question: Draw the critical path that shows how fast the counter can count: Delays are specified as follows: Delay ...
-1
votes
0answers
24 views

Counter with 4 flip flops jk synchronous from 3 to 13 [duplicate]

I have to create a counter with 4 flip flops jk synchronous. The counter shall count in this order: 3 to 13 and then to 3 to 13 and so on.. I have to use logisim simulator. Until now what i´ve ...
-5
votes
5answers
275 views

Counter with 4 flip flops jk synchronous from 3 to 13!

I have to create a counter with 4 flip flops jk synchronous. The counter shall count in this order: 3 to 13 and then to 3 to 13 and so on.. I have to use logisim simulator. Ok. So i think its ...
1
vote
0answers
46 views

clarification on a particular 555 implementation for 4017 johnson counters

I'm trying to build a 13 count johnson ring counter (which flashes LEDs sequentially 1 thru 13 and then repeats), and I found this circuit which looks perfect: I assembled it with an extra LED on ...
0
votes
2answers
84 views

what is meant by Divide by N and Modulo(N) in counters?

I am trying to understand counters. Can anyone of you clarify me about terms (Divide by N) and Modulo(N) used in counter? What exactly it means?
0
votes
1answer
442 views

Modulo 10 Counter using T flip flops?

so I have been tasked with making a counter that counts from 0-9 continuously and pauses when the input is 0. Of course this has to be done with T flip flops, but for the life of me I cannot figure ...
1
vote
1answer
52 views

How to terminate binary counting using a logic gate

So I am designing a 3-bit asynchronous binary counter which counts up to 11 then repeats using D flip-flops. That much I have done, however I am stuck when it comes to decoding the outputs to stop the ...
0
votes
2answers
104 views

What kind of microcontroller peripherals can help me to implement a timeout?

I am discovering the world of embedder software with microcontrollers. My need is to check that an input of my system stays high for 2 secondes for example. Since I am not very familiar with ...
1
vote
1answer
103 views

How to write a counter in verilog for debouncing an input?

I am trying to write a module counter to debounce a input coming from mechanical buttons. The module should be controlled by the 4x4 matrix button module when to start or stop debonce. This is my ...
1
vote
1answer
88 views

Binary counter (SN74LV8154) jumps (internal bits seems to flip)

I am using a "Dual 16-bit binary counter with 3-state output registers" (SN74LV8154) to count input pulses up to 32 bits. It is working fine most of the time, but some of the bits in the counter seem ...
0
votes
1answer
97 views

What's wrong with this ring counter made using D Flip Flop?

I have created this ring counter using D Flip Flop in multisim(I am learning counters). It's not working maybe due to the switch provided on the top left for the preset pin of D Flip Flop. I have no ...