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
20 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
27 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
151 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
265 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
41 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
56 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
82 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
50 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
36 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 ...
1
vote
1answer
77 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
106 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
54 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
120 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
217 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
88 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
60 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 ...
2
votes
3answers
149 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
243 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
134 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
563 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
174 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
95 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
419 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
150 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
91 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 ...
2
votes
3answers
301 views

Counter: pulse every 8 clocks

I have a square signal (fixed but can be between 12MHz and up to 48MHz) and I would like to create every 8 clocks a pulse as brief as possible, no more than 1/4 of the period. First, a couple of ...
1
vote
2answers
146 views

Issues with 4-bit counter when porting to PCB

I need help or maybe an explanation on a particular issue I am experiencing when porting a small and relatively simple circuit from a breadboard to a PCB. The circuit is for a school project used to ...
0
votes
2answers
100 views

High speed counter with step control

I am trying to build my own DDS. I want to make a lookup table (eeprom)that controls steps of a counter and then feed it into a DAC to make a wave form ( something like that Direct Digital ...
1
vote
2answers
244 views

How to get 460.8KHz from 1.8432Mhz oscillator using counters?

I need to supply 460.8kHz clock to IC (NCR20C12). However, I can only get 1.8432MHz Oscillator. How can generate clock divided by 4 from it? I have a couple of SN74LS393 counters and want to ask, is ...
0
votes
1answer
692 views

How to reset a 4026 counter IC when it reaches 6 for electronic dice

I'm trying to build a circuit to simulate a dice roll using a 555 in astable as it's heart. The output pulses are counted by a 4026 and then fed into a 4511 BCD to 7 segment decoder. It works ...
0
votes
1answer
186 views

Where to put the unused states in synchronous counter that counts Even numbers?

Suppose if we have a counter that counts only Even numbers and the unused states(odd numbers) treated as don't-care condition. ...
-1
votes
3answers
302 views

Decimal counter in VHDL?

I would like to implement a decimal counter that will count from 0 to 9999 on the LED display on a Digilent BASYS2 board. Can somebody help me how to solve this problem?
1
vote
2answers
539 views

How does the 4017B Decade Counter work?

I am currently looking at a 4017B Decade Counter Data Sheet. As I look at the Logic Schematic for this IC (http://www.ti.com/lit/ds/symlink/cd4017b.pdf) I can see several sqaure boxes label D, C, ...
0
votes
2answers
70 views

Should I use Counter1 to record time series data?

My Atmega328 will record data from an external sensor at around 100Hz over several minutes. Communication is done through I2C requests to the sensor. I need to store the time of measurement (relative ...
2
votes
2answers
319 views

Any sequence asynchronous counter

While I can understand the logic behind synchronous counters that can implement 'any-sequence',I'm not sure how I would go about doing that with an asynchronous counter. For example one that produces ...
2
votes
2answers
635 views

Designing a synchronous counter with d flip flops

I have to design a counter with two inputs: x and y. If y = 0, the counter behaves like a ...
0
votes
1answer
169 views

Sequential logic counters

I have an assignment to create a counter that counts in the following way depending on input y if y = 0 -> 0, 6, 3, 2, 1, 0... if y = 1 -> 0, 5, 4, 7, 2, 1, 0... Also it has another input x if x = ...
-2
votes
1answer
911 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
3answers
500 views

five month countdown timer circuit?

I'm a beginner in electronics, so I just have an idea in my head and don't know how to actually make it. I want to make a countdown circuit, for an event in next 5 month. The display format is like ...
2
votes
2answers
529 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 ...
0
votes
1answer
65 views

Any Ideas for Understand one of the 3 phases has powered

I want to ask you about a situation which i couldnt find the exact solution or better way to do the job. The situation is i have 3 phase (380V) induction motor and one of the phases to the motor had a ...
4
votes
3answers
92 views

Creating a Sequenced Array of 3 Mosfets with Adjustable Timings

I am comfortable with rudimentary 555 circuits and other basics, but I have something a little bit beyond me now. I need to have three separate mosfets A, B, and C all turn on and off in sequence. I ...
0
votes
1answer
330 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 ...
2
votes
3answers
226 views

how to create a square wave with large duration and high duty cycle

For a "plant waterer circuit" I would like to add a safety feature that prevents watering for over ~3 minutes, and delays the next watering from occurring for ~12 hours. Currently the circuit is ...
0
votes
1answer
638 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
80 views

Eco-roof flow meter with “counter channel” output - what is that?

Some background: I'm working on an eco-roof flow monitoring project and we want to hook up a Unidata 6506G tipping bucket flow gauge (our effluent flow is in a strange low range range where we needed ...
0
votes
3answers
321 views

Revolutions (pulse) per minute counter circuit?

Does anyone know how to set up a circuit by using counters, decoders, 7 segment displays and a 555 timer to show the revolutions (pulses) per minute from a photo-transistor? I'm doing this as part of ...
-4
votes
2answers
1k views

How do I build a 4-bit synchronous direct counter using only D Flip-Flops? [closed]

I have to build a counter using only D Flip-Flops and wires. What's the approach?
-1
votes
2answers
628 views

Learn CPLD from zero [closed]

a) Should I learn VHDL or Verilog? Is one excel in some area while the other better fit another area? For simple "glue logic", says, 5 to 30 TTL chips equivalant, which is better? b) First ...
-6
votes
1answer
932 views

Is it possible to attach PNP counter to an NPN encoder? [closed]

As a follow-up of my previous too generic question I have a signal generator (shaft encoder) that has 2 NPN outputs. I have a high speed counter that needs PNP signals. How can I convert the encoder ...