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 (you can have different count sequences). Sometime it's sufficient that the counter counts to some value and then stops. Examples are Gray code, up/down counter.
616
questions
3
votes
2
answers
445
views
Ripple counter from as few transistors as possible
I am making a CPU from discrete transistors using nmos logic. As a first step I would like to build a binary counter.
The following design seems to be optimal in terms of logic gates but my question ...
3
votes
2
answers
89
views
Verilog: Assignment not working as expected
I'm working on building a simple processor in Verilog. I'm now implementing the branch related instructions, but I'm observing some wrong (or at least unexpected) behavior. When I reach a branch ...
0
votes
0
answers
69
views
Counting up/shifting right, counting down/shifting left 4164 DRAM addresses using TTL/CMOS
I'm working on a design that uses 4164 (64kb x 1 bit) DRAM with 8 addresses (0-7), and I would like to be able to utilize a TTL/CMOS counter or shift register to make the data output count down/go in ...
2
votes
1
answer
59
views
Clarification on getting 1 Hz from a 32.768 kHz input using 74HC4060BQ-Q100
I'm working on a project where I need to divide a 32.768 kHz signal down to 1 Hz. I initially thought I needed a Q14 output from a counter, similar to the CD4060 circuit where Q14 is passed to a D ...
1
vote
0
answers
53
views
I need help with the 4:1 MUX select probes? [closed]
I am making a DC motor (motor A) that is working under the following conditions:
a) We have a 5 Hz clock signal,
b) stops for 2 seconds,
c) turns right for 4 seconds,
d) stops for 3 seconds,
e) turns ...
0
votes
1
answer
56
views
PMOS PWM Negative Level Shifting
I'm working on two PMOS PWM circuits and need some help understanding the differences and functionalities of each. The goal is to achieve better wave transients for a PWM signal generated by a 3.3V ...
1
vote
2
answers
70
views
function generator outputs - difference between 50 ohm and 600 ohm
I am trying to use a PCI-Quad04 board to count pulses (from a rotary encoder). In order to test out counting, I have a 1000Hz square-wave signal from a signal generator (BK Precision, 3011B) as ...
-2
votes
1
answer
142
views
3 bit Asynchronous Counter
> Blockquote
In our lab, using digital trainer kit, we designed the 3 bit asynchronous counter using JK flip flops by connecting clock to pin 1, following this circuit:
We had three inputs that ...
0
votes
2
answers
116
views
Start counting from 1 and go up to 9 | 7-segment Display
so I have this circuit in Falstad that counts up to 9 (from 0 to 9) but I need to it to count from 1 to 9. In falstad I am using a counter, 7 segment decoder and a 7 segment display. Any thoughts on ...
0
votes
1
answer
50
views
Using a 555 Timer to Connect to An Asynchronous Counter in Proteus
I'm trying to drive a binary asynchronous counter via the following setup though usually if I see binary counters they are connected to a 'CLK' source of some sort. In an ordinary case, the circuit ...
0
votes
0
answers
108
views
High-speed counter for Arduino
I need to count electronic pulses that last around 3 ns with an amplitude of 1 V. They arrive at random times, with usually a separation of more than 100 ns.
The counted signal should not have a high ...
0
votes
1
answer
28
views
Vivado and simulation for a 4-bit up counter
I am creating a 4-bit up counter using Verilog in Vivado.
For this counter, I would like to use flip-flops to represent each bits from Q0 to Q4.
For simplification, I used D flip flop to represent Q3, ...
0
votes
2
answers
58
views
What type of registers/timers do PIC MCUs use?
Timer1 has the following features:
16-bit timer/counter register pair
(TMR1H:TMR1L)
What I can't understand is that I couldn't find on the Internet what actual sequential circuit is hiding beneath ...
0
votes
0
answers
26
views
Impulse period measurement using NUCLEO-F401RE board and input capture mode
I have an encoder sensor, which produces high and low levels. I want to capture the period (or frequency) of these levels using NUCLEO-F401RE board and input capture mode for TIM1. I don't want to use ...
0
votes
1
answer
64
views
How can I implement my binary countdown from the output of JK flipflops to two seven segment displays from 15-0?
I am currently making a 2-way traffic stoplight. The stoplight signals are now fully functional. I have no idea how I can implement the 4 bits (not including my MSB because I just need to display 15-...
0
votes
1
answer
71
views
Counting relay circuit
I'm looking at making a circuit that activates a 12 V momentary relay a settable number of times with a settable wait time between each activation.
At the moment I'm using a Jaycar KA1732 kit, but it'...
0
votes
1
answer
85
views
Resetting and advancing counter using same line [closed]
For a project, I need to use one analog signal to control a binary counter -- to both advance and reset, e.g. +1 V square pulse goes to clock and -1 V pulse resets the counter, or 1 V goes to clock ...
0
votes
1
answer
321
views
Trying to design a synchronous sequential counter circuit with a given sequence
I'm trying to design a counter circuit that counts 6 → 4 → 2 → 0 →
2 → 5 → 3 → 1 using T flip flops and I haven't been able to achieve it. I tried the steps below and designed the circuit below in ...
1
vote
1
answer
85
views
6 to 0 count down timer
I'm making a 60 second timer. I already made the 1st digit in my previous question. I want it to start at 6 not 0, basically 6,5,4,3,2,1,0. I made the flipflop state table and followed the similar ...
2
votes
1
answer
892
views
Making a 9-0 synchronous down counter using flip-flops
I've been trying to make a timer that starts from 0 then counts down at 9 to 0. I've been struggling to make it. I made state tables and diagrams and for the flipflops, but when implementing to a ...
-2
votes
2
answers
146
views
How to make my 74LS90N BCD counter to start from 0?
I need this BCD counter to start at 0000. I have the circuit below, but for some reason it starts at 1000 (the QA output starts at 1). I have tried adding a reset ...
0
votes
3
answers
147
views
Words on 7-Segment Displays [closed]
I'm working on a project that uses three 7-segment displays. My aim is to show the words 'CAT', 'DOG', and 'FOX' using the 3 displays, one word at at time with a 1 second delay in between.
To achieve ...
1
vote
1
answer
207
views
Verilog- Why is my state machine output arriving one clock cycle earlier?
I'm writing a Verilog code for a state machine with 4 states. state 0 is buffer time of 1 microsecond. state 1 is trig pulse for 10 microseconds. in state 2, the input is read. If the input is high ...
1
vote
2
answers
55
views
Low power low speed pulse divider?
I have a digital input which receives irregular pulses. I want a circuit that takes that input and generates an output pulse for every 100 (or so) input pulse. The expected input speed is 10-300 Hz. I ...
0
votes
3
answers
496
views
How design a 5 minute down counter using counter integrated circuit?
I'm trying to design a 5-minute countdown timer, but it has some bugs to work with. First of all (just to clarify) the last counter has its presettable start at 4 because the counter starts in 4:59.
...
1
vote
4
answers
162
views
Dual edge detector with binary counter doesn't count correctly
I want to build a circuit that counts the on and off of a reed switch in a CD4040 binary counter.
I wired the circuit below in a breadboard. This has a debounced switch connected to a 74HC86 that when ...
0
votes
3
answers
182
views
How to make a 5-minute down counter using flip-flops? [closed]
Is it possible to make a 5-minute counter that counts from 5:00 to 0:00 and restarts? How many flip-flops (bits) would I need?
0
votes
0
answers
56
views
Is this a working way to design a sequencer and an oscillator connected to each other?
I would like to build a sequencer that controls an oscillator. I attached the schematics. The basic principles are that R_1 and R_2 are chosen, so that they yield a voltage of 0.7V at point D ...
0
votes
1
answer
75
views
Will this circuit work as a selectable frequency random-looking LED flasher?
I am trying to create a frequency selectable LED flasher that looks random. The purpose is to make a lightning effect for a project I am working on. The voltage can be adjusted if it is insufficient. ...
0
votes
2
answers
105
views
Why can’t I find fast transistors and same fast diodes?
I am trying to make a 30 GHz 32 (or 64 bit) counter on flip flops.
Ready counters do not satisfy me due to max frequency and price, so I decided to make it on my own from flip-flops.
Ready flip-flops ...
0
votes
1
answer
152
views
How do I limit a down counter so that it counts from 3 to 0?
I've been studying binary counters and learned how to build an up counter that starts at 0 and counts to a set value before resetting. Now, I need to learn how to build a down counter that starts at a ...
1
vote
3
answers
290
views
Why isn't my counter reseting in VHDL?
For a project, I need to write a binary counter in VHDL that starts at zero, counts to nine, and then resets to start at 0 again.
I wrote the file below, which seems like it should function correctly.
...
0
votes
0
answers
91
views
Which of the modern transistors could be a substitute for 2N709?
I need to replace the damaged Q1 transistor, but I don't have a 2N709. I was thinking about 2N2222 because of the similar case type. However, this transistor differs in frequency. In this follower ...
1
vote
0
answers
57
views
Does measuring voltage drops between the EBC terminals guarantee the functionality or non-functionality of a BJT?
Do voltage drops across the terminals of a bipolar transistor, which fall within the catalog data, guarantee that such a transistor is working properly?
I am in the process of repairing and restoring ...
1
vote
3
answers
713
views
Flip Flop D Asynchronous Counter Timing Issue
I have a counter made of several FFDs (see image below and please ignore R wire):
Def: N(t) - Signal N at time t, where t is a real value and 1 CLK cycle = 2t units. This will be important further.
...
1
vote
0
answers
28
views
Spec sheet diagram re: NEC u7225PD LCD Driver (14 segments)
This question is in regards to figure 6 of the uPD7225 Programmable LCD Controller/Driver data sheet. My use case is typical: a 14 segment driver clocked at 147k in divide-by-four mode.
From the ...
0
votes
2
answers
47
views
Name and generator for no-repeating-substring bit strings
While solving a different problem I stumbled across an interesting class of bit patterns: a 2n-bit cyclic sequence, all of whose n-bit subsequences are unique. With n=3, for example, the bits ...
1
vote
1
answer
78
views
Delay in cycle while making 3-bit up/down counter
simulate this circuit – Schematic created using CircuitLab
I am trying to make a 3-bit up/down counter, after failing to use xor IC I resorted to AND and NOR ICs, but the result of the IC starts ...
1
vote
1
answer
75
views
Trigger (Flip-flop) with under 3 ns delay?
I want to make nanosecond clock timer as a 64-bit counter.
There is a scheme (4-bit):
I am trying to find JK-trigger, or other, that can work with 300 Mhz clock speed, at least, i.e. 3.3 ns at most, ...
0
votes
1
answer
475
views
Hidden pins in Proteus
I'm implementing the following scheme and I have trouble with IC4 element (7430: 8-pin NAND) that have 7 and 14 pins, as I understand, VCC and GROUND respectively. But in Proteus 8 NAND don't have ...
1
vote
3
answers
104
views
Counter showed 50Hz when I put it across my body. Why?
I was messing with my new counter when I connected it to fingers and it showed 50Hz (the AC frequency in my country.)
Why?
4
votes
4
answers
476
views
Very low frequency counter
I currently teach an introductory course to electronics that is mostly analog, but can incorporate some digital circuits. On our function generators, we have an arbitrary heartbeat shaped waveform and ...
0
votes
1
answer
143
views
Digital Counter not initializing to 0 or rolling over to 0
I'm trying to make a 3-bit counter using D flip flops that loops through the sequence (0,3,4,5,7) repeatedly.
So far, I've made a timing trace, block diagram, operation table, Karnaugh maps, rough ...
2
votes
2
answers
308
views
Turning on an alarm after counter reaches 99
So I'm working on a 2 month design project with the following description
I'm trying to exhaust the possible ways to design this without using microcontrollers or ready-made chips.
Some of the ...
0
votes
0
answers
114
views
How can I use a 555 timer and a binary counter to determine the frequency of a square wave pulse?
I'm trying to build a circuit to determine the frequency of a given square wave pulse. The pulse will be generated by a function generator.
I have a 555 timer, a binary counter, a seven-segment ...
0
votes
1
answer
39
views
How to read the VMZ 08 magnetic inductive flow sensor?
We are in a near-emergency situation where we must read a VMZ08BS1PEG24CV0 flow sensor. You may see more information including the datasheet here.
...
0
votes
0
answers
234
views
Can a CD40110 start counting from 1?
I have a small assignment to made a century clock (which includes year, month, day, hour, minute, and second) without using a microcontroller.
I decided to use a CD40110 to drive a common-cathode 7-...
0
votes
1
answer
395
views
Need to build a counter circuit using D-type flip flops [closed]
I can only learn by examples it seems. I feel I've understood my classes well... but I cannot for the life of me decide where to begin, or link my understanding to anything practical right now.
I need ...
1
vote
1
answer
200
views
What are these pins on a counter chip?
I use EveryCircuit as a simple circuit simulator. For my very novice-level fumblings it has served me well. I have been using this chip, which is called Counter IC. It has 4 output pins A-D, which ...
1
vote
1
answer
121
views
Why does the up down counter with 7-segment simulation always show X output? [closed]
Why does the counter output remain unknown (x)? I expect the counter to increment.
...