We’re rewarding the question askers & reputations are being recalculated! Read more.

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
6
votes
6answers
9k views

Very high speed counter (around 1.5 GHz to 2 GHz)

I am thinking of a device that can measure the distance of an object from a sensor using a radio transmitter and receiver pair. I'm thinking of using a counter at the sensor side, with a fixed-...
0
votes
3answers
999 views

Keypad to set a counter

Is there a way to use a standard Matrix Keypad to set a synchronous counter IC without having to use a micro controller?
-5
votes
5answers
3k 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
2answers
1k views

Counter in verilog

i want to make a counter that increases by the value of its inputs, but i did the testbench and the output is undetermined, xxxx. Can someone tell me if there is something wrong in this code? ...
1
vote
1answer
447 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
4k views

3 bit synchronous counter design d flip flop

Any idea how I would go about designing a 3 bit synchronous counter in regards to having the following states ...
0
votes
1answer
120 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 ...
2
votes
2answers
2k views

Easy resource to learn solving counter problems?

Could anybody please point me some direction on where I can learn to solve simple counter problems like counting in a given sequence using a given flip-flop? For example: Create a counter counting ...
1
vote
1answer
769 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 ...
1
vote
2answers
2k views

T-trigger: minimum transistor count

I am playing around with real implementation of basic logic schemes from transistors. Could you suggest any compact implementations of T-trigger? Obviously, classic "CMOS" way eats way too many. ...
-1
votes
1answer
9k views

How should a counter with R-S flip-flops look?

I tried to find on web something about counters with R-S flip-flops and I can't find anything. How should they look? As a particular counter I need one to obtain this sequence: 0, 1, 3, 2, 6, 4, 5, ...
5
votes
6answers
13k views

How to interface a quadrature encoder with PIC?

I'm developing a prototype that uses a quadrature encoder to measure it's linear displacement. The encoder is attached to the prototype body and has a wheel in it's shaft. As the prototype moves ...
4
votes
4answers
11k views

In a JK Binary Counter from 0 to 9, why is the NAND gate connected to the second and fourth J-K flip flop and not the first and fourth?

In a binary counter design using 4 J-K flip-flops, that counts from 0 to 9, the flip flops are reset when the output from the 2nd flip flop NAND the 4th flipflop equals to 0. Since binary 9 is 1001, ...
3
votes
1answer
517 views

74190 counter problem

So, I got my 74190 counter shows number like this 9-8-7-6-5-4-3-2-1-0-5-4-3-2-1-0-5-4-3-2-1-0-5-4-3-2-1-0 and so on. My questions: What can I do to change the output count down into 5-4-3-2-1-0-5-4-...
3
votes
4answers
517 views

Record signal when two items touch each other

I have a Carrera GO!!! race track. There's a plastic mechanical lap counter that adjusts every time a car passes it. What I would like to do is to have some sort of electrical connection that when ...
2
votes
2answers
4k views

Design a Counter With an Arbitrary Sequence

I'm trying to design an asynchronous counter with JK flip- flops, with an arbitrary sequence. The sequence is: 0,1,10,11,0,5,14,15. I know how to solve this kind of problems, but in this case the ...
2
votes
1answer
298 views

atmega32u4 use Timer as souce for a counter

I started to play around with an atmega32u4 and came across a question I wasn't able to solve right now (may be I just missed the right page in the 500 pages datasheet). I was able to create a ...
1
vote
1answer
720 views

Implementing a counter in VHLD with edge triggered clear

I'm still giving my first steps learning VHDL and after a couple of days I could not yet find a solution for this problem. What I'm trying to do is to implement an LCD controller on an Altera MAX II ...
1
vote
3answers
127 views

Multiple Demultiplexers In Series

Basically I need some demultiplexers to switch between 24 outputs. The data inputs would be connected to counters for the addresses. I'm currently using 74ls138 3-8 line demultiplexers. Is this ...
1
vote
1answer
3k views

Sequential circuit with more than 10 LEDs

I need to build a sequential LED circuit that will have more than 10 LEDs in a sequence. The LEDs should blink only one at a time. I know I can do 10 LEDs with a 4017 decade counter easily, but I dont ...
1
vote
5answers
1k views

Understanding D flip flop function - what this thing does

I am trying to understand what a D flip flop does int he context of building a truth table, so I can design a synchronous divide-by-five circuit. That is, count to five and reset. I know I need 3 ...
0
votes
1answer
111 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
1answer
80 views

A 4bit counter that goes up and down

I am kinda new to the website, I just came across it after looking for answers for such a long time. I have an assignment that asks to add an input bit to your circuit from the circuit I created that ...
0
votes
2answers
136 views

Binary counter and load capacitance

Im desiging a circuit with a binary counter which rates it's maximum count frequency in terms of load capacitance. Im quite confused and having a lot of trouble wrapping my head around how to ...
0
votes
1answer
842 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
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-...