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
0answers
53 views

Encoder and one Digital Logic Problem [on hold]

in following Encoder, the priority of bigger number is bigger. if the initial state is 0, ...
1
vote
1answer
28 views

Ring counter in verilog

I have the task of designing a ring counter in verilog using shift operator. Here is the code so far along with test bench : ...
0
votes
3answers
49 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?
0
votes
1answer
59 views

Realisation of asynchronous decade counter

Here is the illustration of the counter: Can you please explain in detal what happens here? Why are J and K inputs always 1 and how does CLR reset these flip-flops?
4
votes
1answer
51 views

AVR: Timer overflow flag in TIFR [duplicate]

I have a little question about the TOVn flag located in the TIFRn register. The datasheet says, if the ...
0
votes
1answer
27 views

Freq. measurement using pin change interrupt + 4024 counter?

I have an oscillator which I need to measure using an AVR MCU running on an 8MHz Xtal. The output from the oscillator is driving the clock input of a 4024 counter. The freq. range on Q6 (input signal ...
0
votes
1answer
47 views

Binary Counter IC Counting Incorrectly

I'm currently trying to use 74HC163 in a project, and it appears I have it wired up correctly, but it counts in a very strange sequence. I wrote down the sequence as follows: ...
0
votes
2answers
107 views

Frequency Counter Using a PIC16F648A

I wonder if someone could help me with some general suggestions on a frequency counter project. I'm trying to modify a 6 digit LED frequency counter that uses an integral PIC16F648A, a 13 Mhz ...
0
votes
1answer
58 views

Making a clock cp for counter, using a photodiode

I need to make a device that counts light impulses, basicly a light detector counter, i need help with my counter cp, how to implement a photodiode(can't find phototransistors in the stores) to do ...
0
votes
1answer
97 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 ...
0
votes
1answer
73 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 ...
1
vote
1answer
67 views

Using a Counter to Determine next MSB position in polynomial division

I am working on implementing a polynomial divider the operation is as follows: Check MSB of Numerator: if 1 XOR with Denom then shift Denom right if 0 Num is the same and Denom also shift right When ...
1
vote
5answers
149 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
2answers
175 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 ...
1
vote
1answer
65 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 ...
0
votes
1answer
116 views

I'm looking to create a simple circuit that will have 8 randomized “pulsing/fading” LED's

I am looking to make a simple (cheap, small spaced) circuit that will light 8 LEDs in a random order AND have a pulsing/fading in and out effect. I was originally going to program a randomized effect, ...
1
vote
1answer
76 views

Improving my impulse counter circuit

I just started studying electrical engineering this semester, and I'm currently working on following impulse counter: The circuit is basically a power supply regulated to 5V, a pendulum acting as ...
0
votes
4answers
155 views

Shift Register Counter

I am working on a project with my MBED microcontroller and I'm running into some snags, because I'm new to it and getting myself confused with how exactly everything works. I have my MBED hooked up ...
0
votes
1answer
65 views

How to toggle a reset in a counter made up of JK flip flops

I have been playing around with a small circuit which at the moment consists only of a counter made up of 3 JK flip flops. Like so: What I want to add is a reset input pin that will set the 3 LEDs ...
2
votes
2answers
340 views

Why are synchronous counters synchronous?

Doesn't the input signal having to propagate through the AND gates cause a propagation delay anyway? With the asynchronous counter the delay was caused by the clock signal - with the synchronous ...
0
votes
1answer
271 views

What is reset, preset and clear in a counter circuit?

I know this is a basic question. But I want to know the use of Reset, Preset and Clear in a Counter circuit. How do I use them? An example would be appreciated.
3
votes
4answers
334 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 ...
0
votes
1answer
65 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 ...
1
vote
1answer
87 views

Count number of hours elapsed

It's been a long while since I played with circuits, I'd appreciate a sanity check of the following design; I'm trying to count the number of hours since the reset button was last pressed. Ideally ...
1
vote
1answer
338 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
3answers
86 views

How to stretch high frequency digital signals (e.g., MIDI) into the audio range

I'm curious about the possibility of sonifying MIDI data, which has a bitrate of 31250. The range of human hearing extends to about 20kHz, which means that the fastest bits of the signal would lie ...
0
votes
2answers
67 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 ...
2
votes
2answers
269 views

Is there difference between Timer vs Counter in ATmega328P?

Is there difference between Timer vs Counter in ATmega328P? Or is it the same thing?
0
votes
3answers
495 views

How to make 7-segment display count up ?

I've connect 7447 decoder and 74193 counter as shown in the picture but I have not used 555 timer yet. Is there any way to test the circuit before using 555 ? I've connected the pins (up and down) ...
1
vote
2answers
1k views

How to connect 7447 decoder to 7-segment display?

I've connected a 7447 decoder to 7-segment display as shown in figure. When I connect an input, the LEDs doesn't form numbers but they light up randomly. I just want to know the right way to ...
0
votes
2answers
101 views

Signal-driven 3 output logic gate decoder or switch?

I need to build a simple logic gate circuit such that when a single input signal or switch goes low it alternately activates one of three outputs as high. That is, every time it goes low the currently ...
-1
votes
1answer
82 views

Microcontroller to be used as period counter

I have a sensor module whoose purpose is to detect speed of moving target. I need to analyse the dat coming out from the sensor . The frequency output from sensor is 5 Khz and then I want to use ...
4
votes
2answers
295 views

CD4029 does not initialize at 0

I am attempting to build a very simple 4 bit counting machine using a CD4029 ic and a 555 timer. I have built my circuit on a breadboard and everything seems to be working perfectly, however on the ...
2
votes
5answers
1k 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 ...
0
votes
0answers
68 views

Very high speed counter (2GHZ) [duplicate]

I'm trying to build a high speed counter to measure the time delay between two radio waves . I'm thinking of using a MC100EP016A counter which works at a maximum frequency of 1.4 GHz but I cannot find ...
0
votes
0answers
48 views

Relation between Digital frequency counter and temperature

This is a homework question, I can normally solve the problems on freqeuncy counter but I never did with temperature related frequency counter problems. A digital frequency counter has these ...
1
vote
1answer
62 views

What's the benefit of Upcounting or Downcounting or Center-aligned mode of timer/counter?

I have done several project (3-4 project) via Timers/Counters but I'm curious to know Why do they have three mode for counting? Also I know that in Upcounting mode it count from zero to 0xff... or ...
2
votes
3answers
212 views

Counter is missing an output signal

I used a 4040 counter to count the pulses from an encoder. I then connected two counter output signals to an AND gate, and after that one way is go to reset 4040 counter. The issue is that when I ...
4
votes
4answers
1k 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, ...
1
vote
1answer
85 views

giving output bits of counter to logical gates in system generator

I have a counter block in system generator which has a 3 bit output. The block is shown below: As is apparent from the figure, it's output is represented by a single line not three. I need to give ...
0
votes
3answers
110 views

Synchronous 4-Bit Up/Down Counters preset

I have a synchronous 4-bit up/down counter, and in the data sheet it stands that there are 4 pins where I can enter a 4 bit preset number, but it doesn't say what this number represents. I believe ...
0
votes
1answer
143 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
1answer
129 views

How to Modify the Bidirectional Visitor Counter Circuit?

I have recently seen the circuit diagram of an interesting concept in the page - Bidirectional Visitor Counter using Microcontroller. I am planning to do this project circuit on next week with few ...
2
votes
1answer
94 views

Use counter's output to reset itself

I have SN74HC4040 12 bit counter, however, I need only 10 bits and then reset it back to 0. Would it be reliable to use 11th bit as an input to the CLR (reset pin)? Basically, when the counter ...
1
vote
1answer
180 views

Counting PIC18F46K20 internal clock edges using MPLAB C18?

I am trying to create a countdown timer using the PIC18F46K20 and display the time on the OLED. I have set up TIMER0 to create a delay of 1 second ( T0CON = 0b00000001 ) so the variabe intCLKsecs ...
0
votes
2answers
82 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 ...
3
votes
2answers
134 views

What does this dash mark in a DIP 4-bit counter IC indicate?

I have seen a dash mark in 74LS193 4-bit counter IC while working with it in a project. What does this dash mark indicate?
2
votes
1answer
746 views

Johnson Counter VHDL

I have a problem given to me that states: Design a 4-bit Johnson counter and decoding for all eight states using just four flip-flops and eight gates. Your counter needs not be ...
0
votes
0answers
170 views

Ring counter vhdl

UPDATE: CODE IS FIXED AND CORRECT (AT LEAST I THINK) I am trying to design an 8-bit self correcting ring counter whose states are 11111110, 11111101,.......,01111111. This includes reset and enable ...
0
votes
0answers
87 views

VHDL up/down counter explanation?

I've basically got a test soon and I was looking at a past paper and can't make sense of one of the questions. It's asking to make a up/down bit slice counter with async clear using VHDL. Why is ...