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
1answer
15 views

Where should I include the instantiation in top module(counter)

I am doing a counter module in Basys-2 board.This is my instantiation of the debouncing circuit ...
0
votes
3answers
41 views

Delay function using timer/counter 1

i have made a function called _MY_Delay() which use 16bit timer/counter1 in ATMEGA16 , and used this function to blink a LED . the problem is i didn't work and i don't know the reason , here is my ...
0
votes
1answer
51 views

aquaculture fish counting

in fish farming the fish are fed at a percentage of their weight. i measured the weight of the fish that i put into the tank, and i can remove the fish once in a while to reweigh them but that is very ...
-1
votes
0answers
60 views

Using Pic18F timer for external pulse count assembly code

I am new to using a Pic18f2550 micro-controller. I have been searching for examples on how to setup and use the 16 bit timer Tmr1 and Tmr2 to count the number of pulses from an external motor opto. ...
1
vote
2answers
44 views

johnson counter sine wave resistor network

I saw one schematic which uses an 8-bit shift reg to produce a sine wave with a resistor network. I am guessing the resistors will be voltage dividers, but how are the values calculated? I tried to ...
0
votes
2answers
57 views

74LS163 Counter Exhibits Constant Voltage on an Input Pin

I built a circuit that uses the 74LS163 synchronous counter. I am using in such a way that I reset the counter, using the /clear input pin, externally via and LPF connected to a tactile switch. The ...
0
votes
3answers
40 views

Why is it when I set up a Johnson counter, the number sequence rotates fine, but I can't get a ring counter right (explanation below)?

With a Johnson counter, I hook up every flip flop's Q output to the following flip flop's D input, for D flip flops. And then the final Q' output is hooked into the first flip flop's D input. When I ...
0
votes
2answers
34 views

Reset pin (15) behaviour of 4026 counter

I'm trying to play with CD4026BE counter and I'm unable to solve the problem with reset pin (15 according to datasheets and numerous examples). In my case, if pin 15 (reset) is grounded with the ...
0
votes
0answers
20 views

JK flip-flop and sequence network

State diagram of the sequence network S looks like the following for a jk flip-flop: Is this the right truth table for it? ...
0
votes
1answer
55 views

What's the difference between a decade counter and a “Divide by 10 counter”(MOD 10 Counter)?

I have a project of creating a digital clock out of multiple 7-segments. In order to display digits 0 to 59 in 2 7-segments which is better and easier to use: cascaded decade counters or a "divide by ...
1
vote
1answer
49 views

Ring counter in verilog

I have the task of designing a ring counter in verilog using shift operator. Here is the code so far along with test bench : ...
0
votes
3answers
57 views

Keypad to set a counter

Is there a way to use a standard Matrix Keypad to set a synchronous counter IC without having to use a micro controller?
0
votes
1answer
92 views

Realisation of asynchronous decade counter

Here is the illustration of the counter: Can you please explain in detal what happens here? Why are J and K inputs always 1 and how does CLR reset these flip-flops?
4
votes
1answer
78 views

AVR: Timer overflow flag in TIFR [duplicate]

I have a little question about the TOVn flag located in the TIFRn register. The datasheet says, if the ...
0
votes
1answer
29 views

Freq. measurement using pin change interrupt + 4024 counter?

I have an oscillator which I need to measure using an AVR MCU running on an 8MHz Xtal. The output from the oscillator is driving the clock input of a 4024 counter. The freq. range on Q6 (input signal ...
0
votes
1answer
47 views

Binary Counter IC Counting Incorrectly

I'm currently trying to use 74HC163 in a project, and it appears I have it wired up correctly, but it counts in a very strange sequence. I wrote down the sequence as follows: ...
0
votes
2answers
145 views

Frequency Counter Using a PIC16F648A

I wonder if someone could help me with some general suggestions on a frequency counter project. I'm trying to modify a 6 digit LED frequency counter that uses an integral PIC16F648A, a 13 Mhz ...
0
votes
1answer
74 views

Making a clock cp for counter, using a photodiode

I need to make a device that counts light impulses, basicly a light detector counter, i need help with my counter cp, how to implement a photodiode(can't find phototransistors in the stores) to do ...
0
votes
1answer
142 views

I2C-controlled digital counter

I need for a project an IC which should generate a digital signal with a length given by an I2C-signal, i.e. if I send the IC "50" (or something similar with the same meaning), I want to get 50 ...
0
votes
1answer
111 views

Design up counter in VHDL using generate statement

I need to design an 8 bit up counter in VHDL using T flip flop and generate statement. I know how the counter works, but I am not able to design it in VHDL. The main problem is "using generate ...
1
vote
1answer
72 views

Using a Counter to Determine next MSB position in polynomial division

I am working on implementing a polynomial divider the operation is as follows: Check MSB of Numerator: if 1 XOR with Denom then shift Denom right if 0 Num is the same and Denom also shift right When ...
1
vote
5answers
167 views

Understanding D flip flop function - what this thing does

I am trying to understand what a D flip flop does int he context of building a truth table, so I can design a synchronous divide-by-five circuit. That is, count to five and reset. I know I need 3 ...
0
votes
2answers
209 views

Divide By 5 Up Counter 6 to 10

How can I design a divide by 5 counter which counts from 6 and up to 10 then resets to 6. A normal divide by 5 counter is 3 bit counter which counts from 0 to 5 then resets to 0. I think my one should ...
1
vote
1answer
81 views

Implementing a counter in VHLD with edge triggered clear

I'm still giving my first steps learning VHDL and after a couple of days I could not yet find a solution for this problem. What I'm trying to do is to implement an LCD controller on an Altera MAX II ...
0
votes
1answer
132 views

I'm looking to create a simple circuit that will have 8 randomized “pulsing/fading” LED's

I am looking to make a simple (cheap, small spaced) circuit that will light 8 LEDs in a random order AND have a pulsing/fading in and out effect. I was originally going to program a randomized effect, ...
1
vote
1answer
89 views

Improving my impulse counter circuit

I just started studying electrical engineering this semester, and I'm currently working on following impulse counter: The circuit is basically a power supply regulated to 5V, a pendulum acting as ...
0
votes
4answers
164 views

Shift Register Counter

I am working on a project with my MBED microcontroller and I'm running into some snags, because I'm new to it and getting myself confused with how exactly everything works. I have my MBED hooked up ...
0
votes
1answer
79 views

How to toggle a reset in a counter made up of JK flip flops

I have been playing around with a small circuit which at the moment consists only of a counter made up of 3 JK flip flops. Like so: What I want to add is a reset input pin that will set the 3 LEDs ...
2
votes
2answers
344 views

Why are synchronous counters synchronous?

Doesn't the input signal having to propagate through the AND gates cause a propagation delay anyway? With the asynchronous counter the delay was caused by the clock signal - with the synchronous ...
0
votes
1answer
417 views

What is reset, preset and clear in a counter circuit?

I know this is a basic question. But I want to know the use of Reset, Preset and Clear in a Counter circuit. How do I use them? An example would be appreciated.
3
votes
4answers
344 views

Record signal when two items touch each other

I have a Carrera GO!!! race track. There's a plastic mechanical lap counter that adjusts every time a car passes it. What I would like to do is to have some sort of electrical connection that when ...
0
votes
1answer
77 views

Common cathode LED resistor with 4017 decade counter

Is it possible to use a common cathode resistor for all 10 LEDs with 4017 decade counter? I try it but only the first LED (output 0) lights up. EDIT: I got it working. My wiring was wrong. I use a 9V ...
1
vote
1answer
103 views

Count number of hours elapsed

It's been a long while since I played with circuits, I'd appreciate a sanity check of the following design; I'm trying to count the number of hours since the reset button was last pressed. Ideally ...
1
vote
1answer
434 views

Sequential circuit with more than 10 LEDs

I need to build a sequential LED circuit that will have more than 10 LEDs in a sequence. The LEDs should blink only one at a time. I know I can do 10 LEDs with a 4017 decade counter easily, but I dont ...
1
vote
3answers
87 views

How to stretch high frequency digital signals (e.g., MIDI) into the audio range

I'm curious about the possibility of sonifying MIDI data, which has a bitrate of 31250. The range of human hearing extends to about 20kHz, which means that the fastest bits of the signal would lie ...
0
votes
2answers
78 views

Low power ripple pulse counter

I'm trying to find a ripple/pulse/edge counter chip that can record rising edges from a wind anemometer while my AVR sleeps. The signal is typically 0-50 Hz. I want to read it every 10 minutes, so it ...
2
votes
2answers
286 views

Is there difference between Timer vs Counter in ATmega328P?

Is there difference between Timer vs Counter in ATmega328P? Or is it the same thing?
0
votes
3answers
550 views

How to make 7-segment display count up ?

I've connect 7447 decoder and 74193 counter as shown in the picture but I have not used 555 timer yet. Is there any way to test the circuit before using 555 ? I've connected the pins (up and down) ...
1
vote
2answers
2k views

How to connect 7447 decoder to 7-segment display?

I've connected a 7447 decoder to 7-segment display as shown in figure. When I connect an input, the LEDs doesn't form numbers but they light up randomly. I just want to know the right way to ...
0
votes
2answers
111 views

Signal-driven 3 output logic gate decoder or switch?

I need to build a simple logic gate circuit such that when a single input signal or switch goes low it alternately activates one of three outputs as high. That is, every time it goes low the currently ...
-1
votes
1answer
85 views

Microcontroller to be used as period counter

I have a sensor module whoose purpose is to detect speed of moving target. I need to analyse the dat coming out from the sensor . The frequency output from sensor is 5 Khz and then I want to use ...
4
votes
2answers
309 views

CD4029 does not initialize at 0

I am attempting to build a very simple 4 bit counting machine using a CD4029 ic and a 555 timer. I have built my circuit on a breadboard and everything seems to be working perfectly, however on the ...
2
votes
5answers
1k views

Very high speed counter (around 1.5 GHz to 2 GHz)

I am thinking of a device that can measure the distance of an object from a sensor using a radio transmitter and receiver pair. I'm thinking of using a counter at the sensor side, with a ...
0
votes
0answers
69 views

Very high speed counter (2GHZ) [duplicate]

I'm trying to build a high speed counter to measure the time delay between two radio waves . I'm thinking of using a MC100EP016A counter which works at a maximum frequency of 1.4 GHz but I cannot find ...
0
votes
0answers
49 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
64 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
3answers
219 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
1k 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
88 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
120 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 ...