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

0
votes
1answer
49 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
38 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
31 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
23 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
44 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
28 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
136 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
149 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
55 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
49 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
58 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
45 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
30 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
60 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
188 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
42 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
22 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 ...
0
votes
0answers
96 views

Find maximum clock frequency at which a given counter can be operated

What should be the maximum frequency at which the given counter can be operated: Each AND gate, JK flip flop takes 10ns, as propagation delay. My solution: To calculate that we need to know the ...
-5
votes
5answers
211 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
34 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
51 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
95 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
40 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
91 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
70 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
75 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
63 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 ...
2
votes
1answer
100 views

Asynchronous Cascaded Counters Problem!

What is the Frequency and Duty cycle and of the waveform at Z (say if input clock frequency is 1.5Khz) My Understanding: Two negative edge triggered MOD 12 counters cascaded and reset when the ...
0
votes
1answer
56 views

Frequency divider diving at 2, 3 and 4

What I'm basically trying to do is to modify a stacking device to skip stops normally dictated by a mechanical switch that stops on a cogwheel tooth. I want to put a circuit between the switch and ...
2
votes
2answers
161 views

Having an issue of implementing an 8 bit counter from two 4 bit counters

So I'm having an issue of implementing an 8 bit counter from two 4 bit counters. The first 4 bit works when initiated by the clock pulse and so does the second separately with its own clock pulse. How ...
0
votes
1answer
102 views

STM32 Repetition Counter

what is the max value of the Repetition Counter register? Because i am trying to use a TIM1 as PWM output. Period = 50kHz Clock = 72Mhz 72Mhz/50kHz = 1440Hz -> PWM freq So if I set Repetition ...
1
vote
2answers
45 views

How to find the transfer function of a frequency counter?

I am designing a mathematical model for my control systems project and in that there is this block which measures the frequency of the wave. For the practical application I fed this wave into a micro ...
1
vote
0answers
53 views

8051 Assembly - reading 16 bit timer value and comparing to a constant

I need to read a 16 bit timer value on the fly , compare it to a constant and reset it every time its value equals a constant value and thus avoiding it from going to ISR. Can anyone help me with ...
0
votes
2answers
87 views

Parallel binary counter using T flip-flops

Can someone explain me how this parallel binary counter works: For example, if the state in the beginning is 0000, what happens when Pt goes high?
1
vote
2answers
103 views

PIC MCU: Triggered Counter from ADC

Basically, I'm looking to program a PIC16F917, so that a particular int will increment by one every time I press a button. Now I got the ADC up and running, I got loops to count, but I seem to be ...
1
vote
2answers
87 views

Reading a 32bit IC counter on from a computer

I am working on a design to count the mechanical cycles of a piece of equipment. It has to be a 32 bit counter and be robust. I have a working prototype using a sn74lv8154 IC, configured as 32bit. ...
-3
votes
1answer
168 views

How to represent a 3 bit counter in Data flow style? [closed]

I want to represent a 3 bit counter in Data Flow style in VHDL. But I am getting confused. Any hints how it is going to be represented.
1
vote
2answers
106 views

How to create counter with unique sequence

I have a sequence: 001, 110, 010, 001, 110, etc. Although there are 3 bits that I want to represent, only 2 are needed for states (3 states). What I get confused with, is utilizing only 2 state bits ...
0
votes
1answer
68 views

Is it normal that a clock divider made with ring johnson counter has output Undefined if clk starts high?

I'm making a frequency divider and the easiest way is to use a johnon's counter with D flip flop. The point is that if I make the clk start high, the counter has undefined output, while if I make the ...
2
votes
1answer
177 views

VHDL 4-display counter on a Nexys 3 (0000 to 9999)

I'm triyng to implement a 4 display counter (0 to 9999) on a Nexys 3. However, when I load the bit file, all displays remain at 0. It seems like variables a,b,c,d; which control individual digits, ...
1
vote
2answers
135 views

How to switch between two analog outputs with a digital output?

I have a circuit with a 74ls93 counter and I want to use one of its outputs to switch between two analog output, i.e., when the output of the counter is HIGH, the output of the circuit must be V1 and ...
-1
votes
2answers
162 views

Adding a sensor to a traffic light circuit?

I am using the current circuit to time a basic traffic light that changes every twenty seconds: However, I've been trying to figure out a way to add a way to detect a car stopping at the light, so ...
0
votes
2answers
59 views

VHDL Counter does not update when desired

For a project I am working on, I require a counter whose value increases as soon as the increment control goes high (i.e. on the rising edge). However, I have had trouble implementing this in VHDL. ...
1
vote
1answer
86 views

3 - bit Counter (repeat after each 6 clocks)

I have tried to make a counter which counts until six clock cycles and then repeats. And would like to know whether I have done all right and the counter works correct. simulate this circuit ...
-4
votes
1answer
84 views

Synchronous decade counter only 3 AND gates

I need a design for a synchronous decade counter that can have no more than 3 gates, excluding the JK's. I do not need to design this myself as it is considered above the level of course I am doing, I ...
0
votes
2answers
173 views

Resetting a counter when it reaches 6, without logic gates

I have a 3 bit ripple counter (using t flip flops) and I want the counter to reset to one when it reaches 7 i.e. the counter counts from 1 to 6. My idea was that I could hook the three outputs from ...
-2
votes
1answer
262 views

Serial Counter in digital electronics [closed]

What exactly is a serial counter in digital electronics? Someone told me it is a way of to design a counter with shift registers and some combinational circuit to obtain s counter that operates ...
0
votes
4answers
300 views

4 digit 7 segment CC - all digits count the same number

Ultimately I'm looking to build something that's going to count revolutions as part of a guitar pick up winder. I've got a circuit hooked up with 4 x 4026 counters going into a 4 digit 7 segment ...
0
votes
1answer
37 views

Designing state machine for Jk FF Counter

The counter is supposed to go from 1>3>4>7>6 and use JK flip flops. While filling out the state table I'm a bit confused about what to do with invalid states. Since I think this is 3 bits and should ...
0
votes
2answers
379 views

Confusion over a simple 4060 LED blinker

I'm trying to build a simple LED blinker using a 4060BP binary counter, as per the following: and (Originals here and here). When I have built either circuit, the LED (I'm just using one for now) ...