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
1answer
46 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 =...
0
votes
0answers
149 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
195 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
553 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 ...
3
votes
2answers
231 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
69 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
139 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
572 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
254 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
95 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
3k 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
2k 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
85 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 ...
1
vote
1answer
503 views

Why can't I implement a frequency divider using a mux in this way?

I found an interesting interview question for FPGA engineer online - Implement a counter with Mux, so I decided to try to do that. I tried to keep it simple and so implement a counter with two bits, ...
1
vote
1answer
224 views

74193 stops working after compilation on another PC (QUARTUS)

I got a Quartus project with a mod 22 counter using 74193 from a friend. It works just fine when I run a simulation before a compilation on my PC, but after I compile it on my PC, it stops working ...
2
votes
0answers
94 views

I’m having trouble solving this digital circuit. Help!

I need to design sequential logic circuit from this state diagram using only 2 D-latches. And this is my attempt: If I put it in the simulator it just gives me error and wont count. I assumed that ...
0
votes
4answers
95 views

Multiple sensor circuits connecting to one counter and a 555 timer IC [closed]

I have to use a 555 timer in a context where I have multiple sensor circuits connecting to one counter circuit. The idea is that the counter should indicate how many activated sensor circuits are ...
0
votes
4answers
130 views

Frequency Ratio Circuit

I'm attempting to design a circuit that will determine the frequency ratio between a known reference frequency \$f_\text{ref}\$, and an unknown signal frequency \$f_\text{sig}\$. The signal frequency ...
0
votes
1answer
367 views

Blocking and nonblocking statements for counter

Is there any difference between nonblocking and blocking assignment for the following counters? ...
2
votes
2answers
155 views

how do I implement a start timer in a digital circuit

In vhdl, I know how to code a start timer behavorially. However, if I have to implement such a counter to start based on a trigger, how could I implement such a counter? My trigger is another signal ...
-1
votes
1answer
188 views

Resettable counter using JK flip

I want to design a binary counter in Cadence that counts pulses in every consecutive 50 nano seconds but i want it to be reset at the end of each 50 ns and shortly - so that it doesn't miss any pulse -...
0
votes
1answer
114 views

Is there such 555 timer circuit?

I was wondering if there is a simple 555 Timer circuit, or even simple transistors circuit, that has a HIGH output for 1sec, 2sec, or more seconds when I trigger the input switch and will remain HIGH ...
1
vote
1answer
445 views

CD4017 Count up to 8

I'm using a CD4017 to control 8 Mosfets. But my problem is that I only get a output from just 1 pin, this pin is random every time i power up the ic. I wired it up like that I shorted reset and ...
1
vote
1answer
86 views

circuit that disconnects a connection

I'm designing a circuit that will disconnect a connection when 5 consecutive square wave pulses are missing. If less than 5 consecutive pulses are missing then I want to reset the counting process. <...
0
votes
1answer
48 views

Digital Counter signal oscillation

I've a digital counter (Kubler Codix 908) with integrated 30Hz interference input filter integrated, but sometimes (when the contact that will increment the counter is closed) it counts two pieces... ...
0
votes
1answer
373 views

Operation of a 74LS191 Counter

I would like to confirm if the implementation of my 74LS191 counter is correct. Here is a diagram of my circuit: The purpose of the circuit is to count from binary 0011 to binary 1111. However, the ...
1
vote
2answers
107 views

Synchronous burst generator circuit

Ok, this is my very first question here so please forgive me if I'm asking a too broad question or if my problem description is too imprecise. I have a 13.56 MHz (RFID) pierce-type quartz oscillator ...
1
vote
1answer
63 views

Which edges does this counter count? [closed]

This board has two counter inputs. But is there a way to figure out whether the counter counts each rising or falling edges? Rising or falling edges?
4
votes
2answers
398 views

Unable to trigger NPN Transistor from 4017 decade counter output

I am trying to make a unipolar stepper motor driver circuit. As a development landmark, I am trying to first run LEDs using the driver. Attached is my circuit. My 555 timer generates regular pulses ...
0
votes
2answers
31k views

Design a 3-Bit Up Synchronous Counter Using JK Flip Flop (odd vs even numbers)

I have to design 3-Bit Up Synchronous Counter Using JK Flip Flop counters. The first one should count even numbers: 0-2-4-6-0 The second one should count odd ...
0
votes
1answer
146 views

Overvoltage at input causes small jump at IC input pins

I have a PCB with voltage regulator (5V), op-amps, 2 multiplexers, 1 counter, several pots, caps, and resistors. I supply 9V. The voltage regulator converts it to 5V. Without connecting any ...
-2
votes
2answers
130 views

Why does my counter doesnt do my desired sequence? [closed]

Hey there guys i have to built up a counter with the following sequence : 1-2-5-6-7-8-11-12-15, my Multisim schematics works like a charm, but when i'm about to build it on my breadboard it doesn't ...
0
votes
0answers
175 views

Jk Flip Flop( Counter not Working)

I am having problems with simulation for this particular counter. below are all my diagram including truth table and multisim simulation. the problem is its only going from 0-4 and vice versa. It ...
0
votes
2answers
662 views

Making a mod-13 counter

What is the most optimum way of making a mod-counter that is not a power of 2? The counter increment is a variable My approach on a mod-13 counter for example: ...
0
votes
1answer
1k views

Async counter that starts counting from 2

I have to make an async counter that counts from 2 to 8. This is what I've done so far: It counts from 0 to 8 and I don't know how to make it start counting from 2.
-5
votes
1answer
146 views

frequency counter [closed]

I am an amateur in electronics and am going to make an RF frequency counter. So after searching, I selected this circuit but my input signal is RF while the input of the circuit is a pulse. For ...
0
votes
1answer
67 views

Async counter that counts up to 10

I am trying to make a counter that counts up to 10. I have used 4 flip flops and I added an AND port so that when the counter reaches 10 it goes back to 0. The problem is that after 10 it goes ...
0
votes
4answers
330 views

Making a counter that goes from 1 to 6

How do I make a counter that goes from 1 to 6? I have a 555 Timer connected to a 74LS390N counter which is connected to a 7 segment display module. I can't figure out how to make the counter's output ...
1
vote
1answer
631 views

Erratic behavior from 16-bit counter IC SN74LV8154 [duplicate]

My test circuit is shown below. I've tried various configurations but keep getting jumps in the output counts. Seems to be repeatable and consistent. For instance, the first jump always occurs ...
1
vote
3answers
159 views

How do I activate a counter?

I'm trying to build an electronic lock that takes a 4 digit password and if the password is inserted wrong three times in a row, a logic display is activated. Below is the lock, it works fine, but I ...
0
votes
0answers
47 views

Is this a new type of ripple counter?

Ripple counters have output bits not change states in synchronism. On the other hand, synchronous counters have their bits connected to the same CLK pulse. However, I ran into circuits, which I ...
1
vote
2answers
207 views

What is a dc reset?

I read this sentence from a book: "MR is a dc reset". It said about master reset leg in a counter IC. I have been searching but found nothing related to this terminology. I wonder what a dc reset is?...
2
votes
5answers
1k views

Reciprocal Frequency Counter Mean

I have designed a high precision frequency counter circuit. I am using it to measure a frequency of around 35kHz that is stable to 0.1mHz. I can measure the frequency using a Stanford Research Systems ...
3
votes
1answer
904 views

74190 counter problem

So, I got my 74190 counter shows number like this 9-8-7-6-5-4-3-2-1-0-5-4-3-2-1-0-5-4-3-2-1-0-5-4-3-2-1-0 and so on. My questions: What can I do to change the output count down into 5-4-3-2-1-0-5-4-...
0
votes
1answer
1k views

74190 up/down decade counter starts from 5 [duplicate]

I've been connected pins input A and C into VCC so the logical number is 1 and input B and input D with 0. The counter starts with 5, but it doesn't clock or change from number 5 into 0 (5,4,3,2,1,0,5,...
1
vote
1answer
282 views

How can I implement this function with JK Flip Flop + NAND Gates

I have a problem about logic design. I need to design MOD 5 Up/Down Counter with control input x, when x=0 it will count down and when x=1 it will count up. I'm allowed to use only JK flip flop and ...
1
vote
1answer
142 views

How to send to pulses to a CMOS Counter

I have tried to find answers to this many times, and the only solution I have been able to find is having two 555 Timers (or a 556) one in astable, and one in monostable. I could easily do this with ...
0
votes
2answers
269 views

Decimal Counter with PWM

I'm searching for a decimal counter ic which I can controll with PWM or another signal. The basic counting ic is a 4017 I think, but in the Datasheet you can see that every new clock high pulse the ic ...
1
vote
2answers
244 views

Looking for multi-channel event counter IC to verify switch operation

As part of a project, I'd like to test the correct operation of a set of SPST switch ICs (maybe 8 or 16 or so). Each device contains six independent switches, and they are controlled through an SPI ...
2
votes
1answer
61 views

Design of A Counter Circuit

I want to build a counter circuit which to count from from 0-7, during some pulseswidth. The problem I am having is that it has to do the whole count sequence during one PW and that is where I am ...

1 2 3
4
5
11