Tagged Questions

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 ...

I'm making a frequency divider and the easiest way is to use a johnon's counter with D flip flop. The point is that if I make the clk start high, the counter has undefined output, while if I make the ...

I have a circuit with a 74ls93 counter and I want to use one of its outputs to switch between two analog output, i.e., when the output of the counter is HIGH, the output of the circuit must be V1 and ...

For a project I am working on, I require a counter whose value increases as soon as the increment control goes high (i.e. on the rising edge). However, I have had trouble implementing this in VHDL.
...

I need a design for a synchronous decade counter that can have no more than 3 gates, excluding the JK's. I do not need to design this myself as it is considered above the level of course I am doing, I ...

I have a 3 bit ripple counter (using t flip flops) and I want the counter to reset to one when it reaches 7 i.e. the counter counts from 1 to 6. My idea was that I could hook the three outputs from ...

The counter is supposed to go from 1>3>4>7>6 and use JK flip flops.
While filling out the state table I'm a bit confused about what to do with invalid states. Since I think this is 3 bits and should ...

I designed a Binary Counter using Basys-2 FPGA Board.Its working on the Basys-2 board,but my test bench is giving me some errors.I couldn't figure out what's the problem,since the timing diagram is ...

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 ...

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. ...

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 ...

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 ...

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 ...

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 ...

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 ...

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 ...

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 ...

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 ...

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, ...

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 ...

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 ...