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
3
votes
1answer
1k views

VHDL - How to reduce signal's dependencies and optimize speed?

I'm wondering how to optimize comparison a wide counter value with few defined values. Maybe it will be easier if I show it on example - let say there is a receiver that gets data in well defined ...
2
votes
3answers
872 views

CPLD best practice for resetting a counter

My application has a bog-standard count-until-a-certain-number-then-reset-the-counter section. My experienced friend tells me that when using actual chips, it's common to increment the counter on the ...
0
votes
1answer
168 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 ...
1
vote
1answer
529 views

Is it possible to add a piezo buzzer to a counter

Is it possible to add a piezo buzzer to a counter: my example: (countD<70) so 1 melody at =0 2nd melody 10,20,30,40,50,60 3rd melody 70 This is what I was playing around with: ...
3
votes
1answer
3k views

Unsigned addition overflow and synthesis

Let's say we have the following code where a, b and c are 3-bit wide representing unsigned ...
0
votes
1answer
4k views

Realization of divide by 78 counter

I am unable to pick the right option from the below ...
5
votes
6answers
14k 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 ...
2
votes
3answers
2k views

Using a counter to reduce pin counts for SPI slave selection

I've got five SPI SRAM chips, which I want to control off a single Arduino. I've seen setups like this, which share SCLK, MOSI ...
3
votes
1answer
876 views

An IC that would combine a counter and a decoder

I have a circuit that makes uses of a decoder to command the latch line of 8 latches. To avoid spurious latching that could occur in transitions, I disable the decoder output while I change the input ...
0
votes
4answers
2k views

How to use Counters ONLY to construct a School Bell circuit?

I am really stuck here, our instructor told us not to use the 555 timer (and to be honest I never used it). So we are supposed to make a circuit by using counters only, I guess. How can I generate ...
1
vote
2answers
2k views

Arduino pulse counting & storing

I'm using jeenodes from jeelabs for capturing data such as temperature, light, humidity and motion. Now I am looking to capture gas and water consumption using reed switches (the meters produce x ...
4
votes
3answers
3k views

Initial or undefined value of flip flop

I am modeling Digital Circuits using ICs in a software. I have worked with flip flops and counters, but I don't remember it well. How do I model undefined or initial value of flip flop (SR or JK etc.)?...
-2
votes
1answer
646 views

Frustrated With D flip flop assignment

We are doing a project at school with AOI, NAND and NOR logic. The logic is used sequentially to display a number on an LED display, more specifically it is suppose to display the numbers of your ...
1
vote
1answer
4k views

Creating a one-digit scoreboard using logic circuits

I'm creating a one-digit scoreboard on a breadboard. Naturally, I have a BCD to 7-segment decoder and a 7-segment display. But I don't know how to automatically increment the display. (It's for a game,...
3
votes
2answers
2k views

Issues implementing an up/down counter

I am trying to understand how to implement up/down binary ripple counter. Basically, I have a bunch of D-flipflops, and connect clk of next flipflop to ether Q or Q'. So, if I want to change ...
1
vote
5answers
14k views

alternative to 4017 decade counter for iterating over matrix columns

NOTE: I have made some changes since the original question, the number of columns is 114 not 45, this may affect some of the answers below. I'm working on a project with a large LED matrix I'm making....
5
votes
1answer
3k views

4017 counter: Why do some LEDs have multiple connections in this traffic light circuit?

Schematic (from here): Why are four legs connected to the green LED and two to the amber LED in the 4017 traffic light circuit? Shouldn't it be able to do with only one leg per LED?
6
votes
1answer
7k views

Ripple counters versus synchronous--pros, cons, and power consumption

Substantial edit--note that David Kessner's answer was written in response to the original posting; view the edit history to see what he was responding to From what I've read of digital design, there ...
1
vote
3answers
3k views

Design 3-bit Synchronous Counter

I'm new to the whole electronic circuit scene, I've been trying to work out for hours how to design a 3-bit synchronous counter using D-Flip Flops to count in a given sequence. So say for instances ...
4
votes
1answer
406 views

How do I determine the fastest time between pulses I can measure?

I need to calculate the elapsed time between the rising edge of one pulse to the rising edge of the next pulse. This needs to be in a mobile environment, but I am not attached to any solution as long ...
3
votes
1answer
609 views

frequency generator / counter

I want to generate a precise frequency in the 500MHz range, and have therefore purchased a VCO (200MHz to 400MHz). To measure the VCO output frequency, I'm trying to build a high frequency counter up ...
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
7 8 9 10
11