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
0
votes
2answers
133 views

How can i make my mod 10 up/down counter wrap from 0 to 9 when counting down?

I know there is something wrong with my reset logic because when counting down it starts from 5 and changes if i have any wires connected to the reset of the flip flops. I don't know how to fix this ...
0
votes
0answers
42 views

Desiging mod counter

I came across following question The 3 bit ripple counter is to be designed as MOD 4 counter. What should be the architecture of the ‘Logic gate’? A. a 3 bit input AND gate B. a 2 input AND ...
0
votes
1answer
37 views

Curious Behavior In Logisim while trying to mimic a halt instruction

I'm in the process of trying to simulate a halt instruction based on some arbitrary value. My circuit design may not follow best practices as I'm disabling the overall or master clock sign with a ...
0
votes
1answer
48 views

8-bits synchronous up counter with arbitrary sequence

My question is about logic design, that's a subject that I'm studying now, especifically counters and registers. I designed a 8-bit counter using 2 4-bit counters (with load, count and enable signal) ...
0
votes
1answer
28 views

Starting and stopping of a Mod N Counter for a FSM in Logisim

I'm working on a circuit for control logic. I'm using a 3 bit down counter. There is a control signal that when it goes high starts the counter by presetting it with a value of 5. The counter is ...
0
votes
2answers
52 views

How to choose resistors in a decade counter circuit?

I'll start off by stating that I am a novice. I'm trying to figure out how to use a decade counter, so I've constructed this circuit: It worked fine, but now I'm wondering how it was decided to ...
1
vote
1answer
89 views

4-bit Self-correcting Johnson Counter on D flip-flops

I had a task assigned by my teacher to implement self correcting Johnson Counter. The task goes this way: Design a self-adjusted 4 bit Johnson counter. Counter must be implemented on d flip flops ...
0
votes
3answers
85 views

Why is my seconds counter in verilog jumping values behaviour?

I am implementing a seconds counter on the Altera DE-1 Educational Board powered by the old Cyclone 2 FPGA. My plan is to make a 'down-clocker' that takes the on-board 50 MHz clock and produces a 1 Hz ...
0
votes
3answers
66 views

74LS74AN Binary Up-Counter

I have an issue with my binary up-counter using a 74LS74AN D-Flip Flop The issue is the following: I am trying to toggle the flipflop state by sending it a 1Hz Square wave (5V Peak) to make it toggle ...
0
votes
1answer
72 views

A 4bit counter that goes up and down

I am kinda new to the website, I just came across it after looking for answers for such a long time. I have an assignment that asks to add an input bit to your circuit from the circuit I created that ...
1
vote
1answer
76 views

8-Bit Program Counter Implementation

I'm trying to construct an 8-Bit Program Counter, in Logisim. It currently has functions LOAD, which makes the 8-Bit input (A0-A7) appear at the output (S0-S7) on the clock pulse: Loading 1 as input: ...
0
votes
1answer
51 views

Designing a counter

I want to design a counter which doesn't increments value every rising clock pulse(assuming positive edge triggered). Say I have a FSM which has 4 states . Only after traversing of the 4 states , I ...
0
votes
3answers
60 views

How can I improve my 3 decade counter design so that it counts sequentially in Verilog [closed]

I am attempting to build and simulate a 3 decade BCD counter by cascading 3 decades counters that produce an output to indicate when the count of 9 is reached. My design works, in that it counts ...
-1
votes
2answers
32 views

Counter and elementary logic gates

I need to create a counter that counts down from 59 to zero. For that, i created a simulation in Proteus software where i used 4510 IC as a down counter and created the following circuit. Now, i ...
1
vote
0answers
35 views

LED Chaser using counting IC

Total beginner here, I'm trying to build an "LED Chaser" circuit using an IC (CD4022BE) that counts to eight (from zero to seven, and then it wraps around and goes back to zero). Before trying to ...
0
votes
1answer
31 views

Parallel 4221-BCD counter on D-triggers

I`m new on it, consider it please. I have to build a 4-bit counter in 4221 bcd using D triggers. Learning about triggers, and seeking for completed schemes, I made the next one: Took the classic ...
0
votes
1answer
51 views

Enterprise model blinkers - two fast flashes and pause for 3s and repeat LED circuit (with 555 and/or 556 and/or 4017) [closed]

I'm building a Revell Enterprise Into Darkness model with LEDs and I need help with circuit that makes two fast flashes, pauses for 3 seconds, then repeats. as seen in the movie. I have searched and ...
2
votes
1answer
101 views

Directly connecting LEDs to IC outputs

Forgive the amateur question - I don't know anything about electronics. I was not able to find any similar questions on this board, but that probably has to do with the fact that I know so little ...
0
votes
1answer
108 views

Designing a special 4-bit counter with flip flops

This is a normal design of 4-bit counter using D flip-flops The outputs Q0 to Q3 are connected to diodes. I want to modify this counter in such a way that it follows the following counting sequence ...
-1
votes
1answer
51 views

Help using a 555 timer to increment counter that needs to be pulled low

I need a little help with a project. I'm very new to building circuits. I have this NE555 duty-cycle pulse frequency adjustable square wave generator module, which I have connected to a 12V DC source. ...
0
votes
2answers
76 views

Measuring accuracy and counting frequency?

The machines at my workshop have meter counters with hall effect sensor switches, which convert shaft rotation to electronic pulses. The switching signal is send to their PLCs' high speed counter ...
0
votes
2answers
74 views

Need help with a pulse/counter input circuit on hall effect flow sensor

I am having trouble wiring up a flow sensor to my pulse/encoder/counter card. I am using a hall effect flow sensor that works fine when wired to a digital counter display. However, when I try to ...
0
votes
1answer
44 views

How to create continuously incrementing counter in structural modelling?

I made the below counter and stimulus/testbench and it works fine. ...
1
vote
1answer
43 views

karnaugh maps simplification

I'm in the process of making a JK arbitrary sequence counter and I'm now making the k maps to get a logic equation. I was just wondering if this is allowed (looping the bits around the middle bit) as ...
0
votes
2answers
49 views

Calculating voltage drop and current use of an IC

I’m trying to figure out the voltage drop and the current used by a Johnson counter from a data sheet and am feeling a little lost. In particular I’m looking at a CD4022B from TI. I’m looking at ...
1
vote
1answer
45 views

Push button counter from 0-999, but increment in 1, 4 and 6

I would like to create a push-button counter from 0-999 using 'BCD Decade Counter' and a 'BCD to 7 segment Decoder/Driver' the total of button presses will be displayed on 3 x 7 segment displays (...
6
votes
4answers
586 views

Resetting two CD4017 counters simultaneously, only one resets

I am working on a simple 24-hour clock based on the CD4017. To reset when the clock reaches the 24th hour, two diodes are used to produce an "and" logic when the 2 digit and 4 digit LEDs receive a ...
0
votes
0answers
49 views

Driving transistors without using MCUs

I'm trying to drive transistors with just a push of a button without using a MCU. The circuit I drawn drives different transistor on every button push and resets back. First part is a debounce circuit ...
0
votes
1answer
65 views

Micro controller clock speed requirement for delay measurement

I am trying to measure the absolute time between two 1Hz clocks (GPS PPS events) to within 50 nanoseconds. I do not necessarily care which clock occurs first, I am only looking for the delta T between ...
0
votes
2answers
56 views

percision timing ratio of multiple lights blinking with different durations and intervals

I'm learning a lot of this as I go, my background is mostly in programming. I'm trying to setup a timing circuit for two sets of lights going into a model, and am trying to determine the best way to ...
0
votes
0answers
23 views

Tracking ADC Control Logic Not Counting down, only up?

I'm working on trying to build a "tracking" type ADC from individual components. Shown below is my schematic using the parts available in Multisim. The design is based on the 74LS191N 4-bit Up/Down ...
0
votes
1answer
29 views

Timimg of 4060 counter-oscillator

I'm using a CD4060B counter/oscillator and need to know the internal timing of the RESET operation. TI's 4060B datasheet says minimum input reset pulse width is 30nsec at 10V, and the reset ...
0
votes
1answer
170 views

Verilog counter made of 32 bit adder (syntax error)

For a school assignment I have to make a counter, based on a 32-bit adder, that increments with 1 every clockcycle if 'enable = high' and 'reset = low'. When I try to use the adder in my counter ...
0
votes
1answer
69 views

Making a synchronized, rising edge reset signal to a decade counter [closed]

I made a decade counter as in the picture above, but i still would like to build a signal/button that would make the counter reset to 0 after the clocks rising edge when the signal is at 1, and to do ...
0
votes
3answers
342 views

How can I design a finite state machine that counts according to this sequence?

when X is equal to 0 and when X is equal to 1 I don't understand how to write the truth table. I understand that when X=1, it means that the machine counts in the following order: 1,3,2,6,4,C,8,9 ...
0
votes
1answer
33 views

Altera FlipFlop stuck at GND

I'm trying to make a counter that counts: 0,1,2,3,4,5 I need this for a frequency divider of 6 So I made this table: From this I get: J0= 1 K0= 1 J1 = NOT Q0 AND Q1 K1 = Q1 J2 = Q1 AND Q2 K2 =...
-1
votes
1answer
67 views

Arbitrary Sequence Counter Up/Down

I've been having problems with one particular exercise at Digital Logic Design. I can't quite put my finger on it and i can't figure out why. I have to design a up/down counter on a given sequence. ...
0
votes
0answers
20 views

Customized Counter with D-flipflop [duplicate]

How to design a state diagram for a customized counter eg (1 >> 3 >> 5 >> 6 >> 7) and stop at 7, how can i implement the state diagram of this function? what will be the state of the unused state ...
0
votes
0answers
73 views

Problem with using Timer Counter interrupt on Atmel ARM

I'm using an ATSAM4E16C microcontroller and i need to get a 1 millisecond tick. I want to implement this using the timer counter module to trigger an interrupt. The clock frequency is 96 MHz, so using ...
1
vote
1answer
79 views

led chaser with non-mechanical shut-off option

I've seen thousands of standard led chaser circuits online but I haven't seen one in which I can shut off all LED's in a non-mechanical way. I'm wiring one pin of my chaser up to a microcontroller so ...
1
vote
1answer
165 views

Creating a Counter in Verilog for Flashing LED on Lattice Starter Kit

I have a lattic X03LF starter board with 6900C FGPA. There are eight LED available on this board and a push button. The goal of my code is to design a 8 bit counter that increments whenever a button ...
2
votes
2answers
129 views

Problem with adding two counters in series on an FPGA

I am using Verilog in Lattice Diamond IDE with a lattice MachXO2 7000HE breakout board. I built a basic counter with a limit input which generates a variable period clock output. It works fine on its ...
0
votes
1answer
66 views

A problem with counter [closed]

I have PWM generator built on 74HC04BQ inverter. Pulse frequency is changed periodically by analog switch TS5A3153DCUR over 600 ms, frequency values are 44 kHz and 29 kHz. Binary ripple counter ...
1
vote
1answer
91 views

Clock frequency of FPGA circuit and 4-bit counter [closed]

I have implemented a 4 bit counter using HDL. Now I have downloaded the code to an FPGA kit with a 50 Mhz oscillator. This means that the clock period will be equal to 0.02 microseconds and ...
3
votes
1answer
494 views

Why ripple counter increments on each 8th pulse

I have connected the ripple counter CD4020 to an Atmega328, which sends a 50ms (low logic level) pulse to the CD4020's input each second and monitors all of its 12 outputs. However instead of ...
0
votes
1answer
118 views

Implementing a simple counter using VHDL

Hi I'm trying to implement a counter with external control. I'm kinda new to VHDL and I keep getting syntax error for the following code. Can someone help me understand why there's an error here? <...
0
votes
1answer
44 views

How to design a module that counts logic 1s in multiple inputs in Verilog?

For example, I have two inputs, whose value can be either St1 or St0. The changes of states are synchronous to the same clock, say 1MHz of frequency. I want to design a Verilog module that counts how ...
1
vote
3answers
623 views

Resetting CD4017 Counter when power source is OFF

I found the circuit below online and I have two questions about the reset switch. Does it help to click the reset button when power is OFF? I mean, does it clears the memory of the CD4017 chip when ...
0
votes
1answer
424 views

8-bit synchronous up/down counter [Logisim]

I am trying to create an 8-bit programmable up/down counter using D Flip flops. So far, this is what I have: The first 3 flip flops function correctly for both up and down, but the 4th doesn't. I ...
4
votes
1answer
73 views

How to generate a clock for my ring counter?

I want to run a 4 phase switched reluctance motor at low speed. The expected conduction sequence for the motor winding(y, r, b, g) follows the output similar to that of a 4-bit ring counter and thus I ...