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
62 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 ...
0
votes
1answer
47 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 ...
-2
votes
0answers
27 views

Counting PIC18F46K20 internal clock edges using MPLAB IDE C18? [on hold]

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
38 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
106 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
80 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
64 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
50 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
2answers
98 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
161 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
118 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
279 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
109 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
72 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
160 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
97 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
86 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
272 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
119 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
89 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 ...
0
votes
0answers
92 views

IC for pulse frequency

I'm trying to get RPM from spark pulses ranging from 100-40k pulses per minute. Currently I use a counter to reduce total pulses and then measure the time between rises and convert that to RPM. Is ...
1
vote
2answers
218 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
455 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
125 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
265 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
428 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
57 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
269 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
506 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
151 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
636 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
474 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
425 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
64 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
91 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
304 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
197 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
605 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
78 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
294 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
550 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
799 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 ...
1
vote
1answer
162 views

Intersection Turning Movement counts

Civil Traffic Engineers have a perpetual data gathering problem. They need intersection turning movement counts to do their studies. This has historically been a manual task. Someone sits by the ...
0
votes
1answer
196 views

How can I emulate the PS/2 protocol without a microcontroller?

I am trying to emulate the PS/2 keyboard protocol with a custom piece of hardware, without using a microcontroller. The said piece of hardware will consist of 13 momentary push buttons. ...
11
votes
4answers
2k views

Lengthening a 5 ns pulse

I have a 5 ns pulse width High coming out of a comparator that is asynchronous. I am attempting to count this pulse. My current microcontroller (dsPIC33FJ) has an asynchronous counter on board, ...
1
vote
2answers
1k views

Design a 4-bit synchronous counter using D filp-flops and 16 x 4 ROM that can generated any arbitrary counting sequence

What are the restrictions on the counting sequence? Give the ROM contents for the following sequences: a) 12, 13, 14, 15, 5, 6, 7, 0, 1, 2, 3, 4, 11, 10, 9, 8, 12, 13, etc... b)8, 9, 0, 1, 8, 9, ...
0
votes
2answers
414 views

HEF4060B counter doesn't count

I'm building (on a breadboard) a 16Mhz oscillator (part of another circuit) with the HEF4060B using an external xtal. Schematic I'm using is that's not so different from the example on the ...
1
vote
2answers
441 views

Regarding Arduino Uno - Counter

I am new to Arduino so, bear with me. I am trying to make a project for a counter countdown using my Arduino Uno whereby any of the 1 out of 14 pushbutton has been pressed, it decreases a digit number ...
2
votes
1answer
474 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 ...