Questions tagged [counter]

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 significance to other circuits (i.e. sometime it's sufficient that the counter counts to some value and then stops). Examples are Gray code, up/down counter.

Filter by
Sorted by
Tagged with
0
votes
2answers
858 views

74LS163 Counter Exhibits Constant Voltage on an Input Pin

I built a circuit that uses the 74LS163 synchronous counter. I am using in such a way that I reset the counter, using the /clear input pin, externally via and LPF connected to a tactile switch. The ...
0
votes
2answers
673 views

Low power ripple pulse counter

I'm trying to find a ripple/pulse/edge counter chip that can record rising edges from a wind anemometer while my AVR sleeps. The signal is typically 0-50 Hz. I want to read it every 10 minutes, so it ...
0
votes
1answer
616 views

How to design new flip flop using JK flip flop

I have an excitation table that called MN flip flop like below. Q Q' M N 0 0 0 X 0 1 1 X 1 0 X 0 1 1 X 1 I try to design a counter that count 0-7-2-3 in ...
0
votes
2answers
252 views

Asynchronous counter for DAC input

Is it OK to use an asynchronous counter for DAC input? If I understand it correctly, the output pins on the counter do not change simultaneously with the clock? Does the latency for every higher bit ...
0
votes
5answers
4k views

D flip-flops, but no feedback loops: impossible?

Using JK or T flip-flops, it's easy to create a synchronous N-bit counter by cascading them as depicted here: The above circuit has no feedback loops in it. I have run into a situation where I would ...
0
votes
3answers
2k views

HEF4060B counter doesn't count

I'm building (on a breadboard) a 16Mhz oscillator (part of another circuit) with the HEF4060B using an external xtal. Schematic I'm using is that's not so different from the example on the HEF4060B ...
0
votes
2answers
52 views

Is the TC (“terminal count”) output of a 4-bit sync counter (74163) reasonably assumed to be glitch-free?

My gut tells me so, but the proof eludes me. Effectively this output is the AND of all four bits. These four bits go from 0 to 1 at very distinct times, assuming the counter is running at a ...
0
votes
1answer
68 views

Implementing 4-bit counter on GAL 16V8

I want to use a GAL 16V8 to implement a 4-bit counter using Verilog. I'm using Lattice's ispLEVER software. So far I have had no issues using Verilog to implement combinational logic. However, I ...
0
votes
2answers
63 views

2-Bit timer with 1 ms period

I am trying to find a simple hardware solution to implement a 2-bit timer that gives out 2-bits continuously repeating data 00, 01, 10, 11, 00, 01.... whose time period is approx 1ms. The accuracy and ...
0
votes
1answer
32 views

Parallel 4221-BCD counter on D-triggers

I`m new on it, consider it please. I have to build a 4-bit counter in 4221 bcd using D triggers. Learning about triggers, and seeking for completed schemes, I made the next one: Took the classic ...
0
votes
1answer
112 views

Designing a special 4-bit counter with flip flops

This is a normal design of 4-bit counter using D flip-flops The outputs Q0 to Q3 are connected to diodes. I want to modify this counter in such a way that it follows the following counting sequence ...
0
votes
2answers
76 views

Measuring accuracy and counting frequency?

The machines at my workshop have meter counters with hall effect sensor switches, which convert shaft rotation to electronic pulses. The switching signal is send to their PLCs' high speed counter ...
0
votes
2answers
56 views

percision timing ratio of multiple lights blinking with different durations and intervals

I'm learning a lot of this as I go, my background is mostly in programming. I'm trying to setup a timing circuit for two sets of lights going into a model, and am trying to determine the best way to ...
0
votes
1answer
80 views

Making a synchronized, rising edge reset signal to a decade counter [closed]

I made a decade counter as in the picture above, but i still would like to build a signal/button that would make the counter reset to 0 after the clocks rising edge when the signal is at 1, and to do ...
0
votes
1answer
66 views

A problem with counter [closed]

I have PWM generator built on 74HC04BQ inverter. Pulse frequency is changed periodically by analog switch TS5A3153DCUR over 600 ms, frequency values are 44 kHz and 29 kHz. Binary ripple counter ...
0
votes
4answers
77 views

Multiple sensor circuits connecting to one counter and a 555 timer IC [closed]

I have to use a 555 timer in a context where I have multiple sensor circuits connecting to one counter circuit. The idea is that the counter should indicate how many activated sensor circuits are ...
0
votes
1answer
98 views

Is there such 555 timer circuit?

I was wondering if there is a simple 555 Timer circuit, or even simple transistors circuit, that has a HIGH output for 1sec, 2sec, or more seconds when I trigger the input switch and will remain HIGH ...
0
votes
2answers
198 views

Decimal Counter with PWM

I'm searching for a decimal counter ic which I can controll with PWM or another signal. The basic counting ic is a 4017 I think, but in the Datasheet you can see that every new clock high pulse the ic ...
0
votes
1answer
147 views

Tick counter digital signal

I want to trigger a laser externally and I want to trigger it when a rotating small wind turbine blade passes a specific angle. I have a digital signal which tells me when the blade passes that angle. ...
0
votes
1answer
290 views

Does the quartz crystal in the standard clock vibrate the same frequency as the sweep motion one? [closed]

In the standard quartz clocks/watches,the quartz crystal vibrates 32768 times per seconds(32768HZ),while this frequency is divided by an electronic counter(15 bit binary digital counter)to derive one ...
0
votes
1answer
527 views

Counting pulses using SMT32f407VG

I want to count the pulses generated by Picoscope, my signal frequency is (20Hz) I used the timer2, the problem is that the counter increment to 1 and came back to 0, I don't understand why ??? since ...
0
votes
1answer
49 views

Create time counter with display with capacity for several hours

I am rather new to this and as part of a hobby project I'd like to end up with a simple display showing a time counter. Starting at 0 and going up from there, being able to support several hours (so ...
0
votes
1answer
6k views

Counter inputs ENT, ENP and output RCO

I am using an IC 74162 (decimal counter) and I know that both enable inputs ENT and ENP must be on so that the counter works, but I am not sure about the difference between them, and their relation ...
0
votes
1answer
819 views

Up/Down mod 105 counter based on 74193

I'm assigned with creating up/down counter in quartus II, but I can't find a way to do it properly. In simulation it always ends in transient state, so I guess there are some metastability issues that ...
0
votes
1answer
426 views

Verilog counter does not work!

I've written this code for a counter but I don't know why it doesn't work. Actually the output remains at zero and when I change load to 0, output changes to unknown. Would you please help me to ...
0
votes
2answers
1k views

Rising-edge or Falling edge Counter

When designing an arbitrary count sequence synchronous counter using kanuagh maps and either JK or D flip flops, does it matter whether the flip flops are rising-edge or falling-edge triggered?
0
votes
1answer
81 views

Shift register - counter

So i have this shift register With the initial values of ABCD (1101) And the question is, how will this change after 4 clock pulses. As I understand it, this shift register goes shifting the values ...
0
votes
3answers
641 views

How does the clock skew affect the design?

What does these statements explain with respect to setup and hold time, I am unable to understand: If combinational logic delay is very short or clock skew is large enough then output of 1st FF would ...
0
votes
2answers
615 views

Why asynchronous counters can not work at high clock frequencies?

Asynchronous counters can not work at high clock frequencies and cause problems with decoding circuits. What does this mean in terms of timing and operation of the circuit? Why a “re-synchronizing” ...
0
votes
1answer
441 views

IC to count milliseconds

As part of a school project, I need to measure milliseconds from the start of a timer. I will need that value to later process it, subtracting and adding it later multiple times. At most the timer ...
0
votes
1answer
202 views

Synchronous vs Asynchronous Counters for Periodic Phenomena

Suppose that we have a synchronous 4bit counter A that counts from 0 to 9 synchronized with a clock signal CP. We put an AND gate such that the signal Y = Q3*Q0 is 1 when we count a decade. The signal ...
0
votes
2answers
231 views

Step Generator Reset Circuit Alternatives

I'm working (slowly) on a project to build a curve tracer based largely on the Heathkit original (Heathkit Catelogue - IT-1121) and I've come up against an issue in the step generating circuit. The ...
0
votes
1answer
96 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
3answers
2k 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
1answer
853 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
2answers
315 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
828 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 ...
0
votes
2answers
203 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 ...
0
votes
2answers
908 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 ...
0
votes
2answers
355 views

Reset pin (15) behaviour of 4026 counter

I'm trying to play with CD4026BE counter and I'm unable to solve the problem with reset pin (15 according to datasheets and numerous examples). In my case, if pin 15 (reset) is grounded with the wire,...
0
votes
2answers
1k views

What's the difference between a decade counter and a “Divide by 10 counter”(MOD 10 Counter)?

I have a project of creating a digital clock out of multiple 7-segments. In order to display digits 0 to 59 in 2 7-segments which is better and easier to use: cascaded decade counters or a "divide by ...
0
votes
1answer
2k views

I2C-controlled digital counter

I need for a project an IC which should generate a digital signal with a length given by an I2C-signal, i.e. if I send the IC "50" (or something similar with the same meaning), I want to get 50 "on-...
0
votes
1answer
2k views

Design up counter in VHDL using generate statement

I need to design an 8 bit up counter in VHDL using T flip flop and generate statement. I know how the counter works, but I am not able to design it in VHDL. The main problem is "using generate ...
0
votes
2answers
2k views

Divide By 5 Up Counter 6 to 10

How can I design a divide by 5 counter which counts from 6 and up to 10 then resets to 6. A normal divide by 5 counter is 3 bit counter which counts from 0 to 5 then resets to 0. I think my one should ...
0
votes
1answer
261 views

Common cathode LED resistor with 4017 decade counter

Is it possible to use a common cathode resistor for all 10 LEDs with 4017 decade counter? I try it but only the first LED (output 0) lights up. EDIT: I got it working. My wiring was wrong. I use a 9V ...
0
votes
1answer
2k views

Where to put the unused states in synchronous counter that counts Even numbers?

Suppose if we have a counter that counts only Even numbers and the unused states(odd numbers) treated as don't-care condition. ...
0
votes
1answer
847 views

Can someone help check my solution for this timing diagram?

I've been working on some timing diagrams and I keep mixing up the behaviors for the different flip flops. EDIT: I think I have the logic correct. If someone could please let me know if I'm anywhere ...
0
votes
1answer
106 views

Eco-roof flow meter with “counter channel” output - what is that?

Some background: I'm working on an eco-roof flow monitoring project and we want to hook up a Unidata 6506G tipping bucket flow gauge (our effluent flow is in a strange low range range where we needed ...
0
votes
1answer
162 views

Testing a CD4018B

I would like to test a CD4018B IC. I hooked up five LEDs to the Q1 to Q5 pins, Vdd to 5V and Vss to ground. The five LEDs light up as soon as power is connected. How can I advance the counter? I put ...
0
votes
2answers
177 views

How can i make my mod 10 up/down counter wrap from 0 to 9 when counting down?

I know there is something wrong with my reset logic because when counting down it starts from 5 and changes if i have any wires connected to the reset of the flip flops. I don't know how to fix this ...