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

1
vote
1answer
57 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
96 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 ...
-5
votes
0answers
30 views

Hint for design

I want hint to design below circuit: design a circuit with 74LS164 and 74LS161 and a BCD/7 Seg Decoder that 7 seg indicate number of ones of a binary number.
0
votes
2answers
112 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
48 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
93 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
58 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
135 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
50 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
331 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
126 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
310 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
56 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
69 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
141 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
72 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
51 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
202 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
371 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
740 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
89 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 ...
-2
votes
1answer
75 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
257 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
826 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
67 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
43 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
48 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
2answers
185 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
881 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
73 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
97 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
128 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
105 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 ...
0
votes
0answers
55 views

Characteristic equations for counters

I'm new to Electrical Engineering and need the characteristic equations for a 2- and a 4-bit-synchronous-counter like this one. I need them for the BCD-Code Aiken-Code, the 3-excess-Code, and the ...
2
votes
1answer
91 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
168 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
75 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
133 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
618 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
143 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
84 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 ...
3
votes
3answers
772 views

Can anyone tell me any exclusive application of Johnson counter?

I went through many types of counter in my digital electronics text book. Each one was interesting. When I came across Johnson counter, I was not able to figure out any practical application. Can ...
0
votes
3answers
395 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 ...
1
vote
2answers
206 views

FPGA Input Signal measurement

How to measure input pulse signal's frequency using xilinx toolkit on matlab? Since I'm bad at coding,I use System generator on matlab. I'm doing a project, In which I'll be using a Proximity sensor ...
0
votes
1answer
1k views

How to design a binary counter with 4029 binary counter ic

I am trying to build a circuit that counts up to 15 or 1111 in binary using a 4029 ic and 4 LEDs as demonstrated in this video. I have studied the 4029 datasheet, and I still can't figure out how to ...
-1
votes
1answer
254 views

PIC18 microseconds counter

I want to count microseconds between timer's ON/OFF. My FOSC is 48 MHz. I figured out timer1 would need to be initialized like (I'm programming in mplab): ...
3
votes
2answers
124 views

How to make AC signal's level proper for MCU input?

I'm working on a frequency counter coursework, where I use MSP430 MCU. I have to measure signals with specifications: frequency from 0.1 Hz to 1 MHz and signal's amplitude from 0.1V to 10V. The ...
3
votes
2answers
2k views

VHDL--counter for 7 segment display

I am writing a code that when the key(0) is pressed, the letter shown on the 7-segment display changes from the one to the next, like a to b, b to c. It starts from A. When the letter reaches H, it ...
0
votes
2answers
238 views

How accurate is a ripple counter (using D flip-flop) in measuring the frequency of a signal?

I have two oscillating signals S1 and S2 whose periods are always different by a very tiny amount (~10-50ps). Can I use a D-flip-flop ripple-counter to measure S1 and S2 individually, and then ...
0
votes
1answer
101 views

Is this circuit a viable implementation? [duplicate]

Following on from an earlier question where the implementation was flawed, can anyone advise if the below is a viable implementation of a circuit to handle a matrix keypad? The idea is that one ...