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
1
vote
2answers
36 views

Encoder direction change during index pulse

I have a quadrature encoder with an index pulse, and I would like to keep track of angular position over multiple turns. The microcontroller I am using has counters that count both index pulses (...
0
votes
1answer
39 views

Differences between ripple counter (e.g. 74LS161) and CMOS 4040

I have been using the 74LS161 for some tinkering, and then switched to the CD4040 because it had 3 times as many counter stages in the same package size, and I don't need preset for my purpose. Early ...
1
vote
4answers
76 views

Frequency divider circuit of a factor of arbitrary number

We know that using T-Flip Flops in a cascaded manner(something like ripple counter) allows us to divide the clock frequency by a factor of \$2^{n}\$ where \$n\$ stands for the number of flip-flops. ...
1
vote
3answers
63 views

Is there a TTL or CMOS shift register chip which has an output pin telling you when it has shifted out all (8) bits?

Quick question, I'm going through 74x and CD4x chips to see if there is a parallel load serial out (left) shift register which would have the convenience of telling you when it is done shifting ...
-4
votes
4answers
197 views

Push button de-bouncing, nothing works. [Please, only answer if you have actually done it (recently or often enough) to know for sure!]

I see a lot of text on the internet and here telling us how to de-bounce a switch, in my case a push button. But I have tried all these circuits and I find that nothing other than a 555 monostable ...
1
vote
1answer
51 views

VHDL: How to only update register at rising edge of the clock?

I have a counter called lastelem_reg. At the rising edge of each clock, it should check whether another signal enqueue is HIGH. If it is, then lastelem_reg will be incremented by 1 in the next clock, ...
1
vote
2answers
54 views

Any chance to build a dual 2-to-1 line selector/multiplexer from a single chip?

I a need 2 units of 2-to-1 selector/multiplexer functions on a crammed board, ideally with a single DIP-14 or -16 chip. Looking around for something I found this formula ...
0
votes
1answer
37 views

Synchronous counter delay calculation

My Doubt is that, This is synchronous counter, all the flip-flop are activated simultaneously Right? Suppose at t=0 clock is activated then j0 and k0 will be activated instantly but my doubt is that ...
0
votes
1answer
29 views

Making mod-12 counter using ic7492

There is this exercise in my book said to make a mod 6, mod 4, mod 3, mod 12 counter using 7492. I can do mod 6, 4, and 3 but there is a problem when doing mod 12. The circuit counts to 5 then skip to ...
1
vote
1answer
71 views

BCD Bi-directional counter with variable counting speed in proteus

I am working on a project. And its description is: Design a 3-digit counter which should has 4 buttons (up, down, right, left). with pressing the up button the counter should up-count for 5 seconds (...
1
vote
0answers
56 views

A Counter Which Counts Two Different Sequences

I have a question which asks me to design a counter which counts two different sequences. The question goes like this: Design a counter which counts 0,4,6,8,12,14. When the counter reaches 14, it is ...
2
votes
2answers
121 views

I am trying to make 3bit counter with an arbitrary sequence but it gets stuck in a loop (Proteus8)

I am trying to make counter for these numbers 1-7-0-2-0-4-0-1-0. But for some reason on my project it gets stuck and loops on 2 digits 0-7. This is homework, and I only can use JK flip-flpos and ...
0
votes
1answer
20 views

Design a MOD-N counter using LS293 circuits

This is the internal scheme of the LS293 circuit. I understand that the CP0 frequency will be divided by 2 and the CP1 will be divided by 8, but I don't understand how to use this circuit to build a ...
0
votes
1answer
50 views

LTspice counter component how does it works?

I find this component on LTspice but I have some troubles to know how it works. It asks me to enter 2 parameters. I could understand that It needs to know the "divide" number but what is the second ...
0
votes
0answers
31 views

Question About Arbitrary Sequence Counter and Changing the Sequence

hope you are all well. I have an homework which wants from me something like this: ...
1
vote
2answers
70 views

Is there a proper way to enable a digital counter?

I'm asking this because, while learning about how counters work, I read that one can add an input that enables or disables the counter depending on its logical value. Now, my first instinct would have ...
0
votes
1answer
48 views

Why does my synchronous up counter count enable not function properly?

I have designed a simple 4-bit synchronous up-counter, using master/slave JK flip flops in Logisim. Here is my JK design: And my counter design: It works perfectly as intended, however if the INC (...
0
votes
3answers
74 views

Physical size of the registers for x86

We have an 8-bit register called CL on x86 CPU architecture. Does it mean that physically it contain 32 bits, but we have access only to lower 8 bits? Or does ...
1
vote
2answers
62 views

Count the clock cycle using LTSpice

I had been using these modeling technique for counting number of clock cycles. Delay is created and inverted - to get small positive edge of the clock and count numbers is charged based on the number ...
1
vote
1answer
73 views

8 Bit Computer Program Counter (4 bit Counter IC) Counting When Disabled

Awhile back I built a version of Ben Eaters 8 bit computer, on my build, I changed only AND, NOT, and OR gates to all NAND. Otherwise the design was exact. I tested it before touching it and found ...
1
vote
2answers
102 views

Fastest possible memory copy between 2 12ns SRAM DIP chips

Electronics newbie here... I'm trying to build a retrocomputer, and learn digital electronics along the way. I decided to begin with the video generation part, with a fast memory copier, independent ...
1
vote
2answers
86 views

Counter which counts to 5 and then turns on a led

hope you are all well and healthy during those times. I have a question which I cannot solve. Question is like this: Design a counter which counts from 0 to 5 and then stops and turns on a led. The ...
1
vote
1answer
73 views

Geiger counter pulse detector - too many pulses from amplifier

I recently have built smiple Geiger counter based on cheap STS-5 tube, high voltage power supply from China and ATmega168 with LCD. Currently, I'm facing a problem with counting number of pulses from ...
2
votes
1answer
40 views

Why do we reset/clear at 1010 (10) when designing a BCD Ripple Counter

Shouldn't we reset at 9, I believe that a decade counter goes as follows '0->1->2->3...->8->9->0" or at least that's how its done for synchronous BCD counters.
0
votes
1answer
46 views

3 bit synchrous up-counter stops at six but it need to be stop at seven

I am trying to design a 3-bit counter circuit with jk flip flops that count from 0 to 7 with a clock signal and remain constant at 7 until reset. Counter counts well but it stops at six not seven. My ...
0
votes
1answer
48 views

Help on writing test bench for up counter in verilog

preamble: I think I have enough understanding of logic circuits and enough experience in programming from other languages(C, python, etc.) However, I am very new at Verilog and also have never used ...
0
votes
0answers
52 views

Why am I getting weird behavior when building 4-bit down counter?

I'm attempting to build a 4-bit modulo-10 down-counter (i.e 9,8,7...,1,0,9,8,7...0). Here is my code so far: ...
0
votes
1answer
35 views

4 bit synchronous counter circuit that counts from 1 to 6

I'm having trouble answering this question, it is for my laboratory. My online lab sessions only discussed how to answer it briefly. I am not sure how to go from here, I've filled in the K-map with ...
1
vote
2answers
199 views

SN74LS93N is not counting as expected

I've got SN74LS93N chip that I am trying to get to work. I connected it as per datasheet but instead of counting, all outputs are flashing with clock signal... Video to circuit I read online and ...
3
votes
3answers
143 views

How does one get ticks of a clock from an atomic clock's microwave signal?

I understand that in an atomic clock there is a microwave signal that is locked to the frequency of the atomic rotation. However, if one wants to extract time ticks from the microwave signal (shown ...
1
vote
3answers
131 views

Verilog code “always @” block not working as expected

My Verilog code samples the input (Vin) at fixed intervals using a counter. The counter is a 2-bit register whose value increments at every positive edge of a clock ...
0
votes
1answer
53 views

Clearing 4-bit asynchronus counter using T flip-flops doesn't work

I am trying to make a BCD ripple counter that count from 0 to 9 , and I have watched a tutorial on YouTube , I implemented BCD counter as the instructor explained and after the counter reaches the ...
2
votes
1answer
36 views

Verilog: Counter is not working

I have just started learning Verilog, so I tried writing a simple 4-bit binary counter. However, when I run the behavioural simulation, the output stays undetermined. I will really appreciate if ...
0
votes
0answers
62 views

Poor low frequency response of CD4060 IC

I have a question that involves a CD4060 ripple counter. My project is to design a counting circuit that turns off a relay after two hours. This can be done simply using an Arduino, but no ...
0
votes
3answers
79 views

EEPROM with counter [closed]

I want to have and EEPROM with the address connected to a counter. For my purposes, this(https://eater.net/datasheets/28c256.pdf) EEPROM will suffice. However, I need a counter to go along with it. I ...
0
votes
0answers
41 views

Signal modulation at 38kHz using a 16-1 mux w/ 4bit counter

A little back story to what I am trying to achieve: I want to be able to control the bit pattern using DIP switches to send a controlled IR signal at 38kHz. I want to create a "game" where each IR ...
1
vote
1answer
34 views

Implementing a counter using multisim

There was an assignment as follows: implement a counter which gets as an input of 8 pulses, 5 volts each, with frequency of 40K Hz, without using counter block, or any IC components. In the output ...
3
votes
1answer
146 views

Is this a good design for a 0…7 counter?

My daughter's electronics teacher recommends to realize a counter from 0...7 as follows: It shall give an output pulse (for a subsequent circuit) when the button is hit the 8-th time. For me this ...
1
vote
0answers
77 views

Produce a clock out (5 MHz) with a counter and a clock in (50 MHz)

I'm trying to solve previous years' tests in logic design and there's this question that I can't really solve.. So, it gives me an 8-bit counter and a clock in (clk_in) of 50 MHz and it asks to ...
1
vote
1answer
69 views

Can't get 74LS590 to work

I'm currently trying to count the pulses from a 555 timer. I've opted to use a 74LS590 (8-bit binary counter with output register; 3-state). However, I can't get the counter to count anything. I've ...
1
vote
2answers
78 views

How do I get to a counter stops at five using logic gates?

I need a circuit to recieve the signal called "50" or "20s" and it trigger a single pulse with five seconds called "TRIP". I set up the circuit below, however, by keeping input J HIGH of the FF7473, ...
0
votes
2answers
55 views

Unpowered clock divider

I am not a professional in this area, so I hope I am asking questions correctly. I have a 5V clock pulse with 50-200Hz (square wave) and would like to build a simple unpowered clock divider. Output ...
0
votes
0answers
46 views

Designing a counter up using JK flip flop (odd numbers)

I'm designing a simple JK flip flop counter up with this pattern: 0-1-3-5-7-9-0. I already a did a multisim and it works fine. But when I change the JK FF to real IC (7473), it won't work. What is ...
0
votes
1answer
85 views

Counter Circuit starts from wrong number in Logisim

I'm trying to design a synchronous counter using J-K, T and D flip flop. It should count as "1, 3, 0, 2, 7" and 1 respectively. Everything works fine, i designed flip-flop tables and input-outputs ...
3
votes
4answers
235 views

4017 IC block diagram

I am really confused with the block diagram of 4017 IC. Here's the dataheet. I really can't wrap my head around the way they have taken the output for each count. They are just taking two flip to ...
0
votes
0answers
62 views

Unary-type input to binary output in Verilog?

I've built an FPGA-based circuit which outputs to \$n\$ ordered bits strings which take on the form of either \$k<n\$ \$1\$'s followed by \$n-k\$ \$0\$'s, or \$k\$ \$0\$'s followed by \$n-k\$ \$1\$'...
0
votes
1answer
43 views

pausing d flip flop output

I want to make a digital timer that counts to 99 minutes 59 seconds the problem is that i want to use 4 digit 7 segment display so i have to oscillate the input of the bcd to 7 segment display between ...
1
vote
0answers
28 views

Preparing custom / arbitrary sequence counter

I know following types of counters: Asynchronous counter Clock input of each flip flop is output of earlier flip flop.[ref] Synchronous counter variant 1: with ANDing for flip flop inputs ...
1
vote
1answer
96 views

How to wire up a street light to change lights in specific states (digital circuit)

This is the final project for the only electronics course in my career. I have never taken any other electronics course and I'm seriously at a lost here. I need to score 100 here to pass the course. ...
0
votes
1answer
35 views

How do I know which logic gate I use to reset asynchronous counter?

I'm a High School senior. Our new teacher doesn't teach well at all and we have a test this Thursday. I don't know which gate to use with the counter(with JK flip-flops) to reset it. Or to set it(To ...

1
2 3 4 5
10