![]() |
|
|||||||
| Homework Help Stuck on a textbook question or coursework? Cramming for a test and need help understanding something? Post your questions and attempts here and let others help. |
|
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
I need some help with a problem I'm facing. I'm to design a 5-bit asynchronous counter in multisim using 74LS76 (JKs). Here's the catch. It must count from 9 (01001) to 27 (11011) continuously. When the circuit is started up, it has to start counting from "0". It only passes through "0" once upon initialization.
Now I've figured out how to count from 0 to 27, you just connect all the Q outputs to the next sequential JK flip-flop's clock input. Then connect the Q0,Q1,Q3 and Q4 outputs to a 4-input AND gate which is connected to each JK flip-flop's reset. When the count reachs 11011, the flip-flops get reset back to zero. I would like them to reset to nine AFTER the initial count starts at zero Does anyone know how I can start the circuit at zero, then count from 9 to 27? I can't really get it to start counting on anything but zero. I know there's some logic gates involved here, but I'm not sure where their outputs go. I know this is complicated and my explanation may not be the best, but any help would be much appreciated, thanks. |
|
#2
|
|||
|
|||
|
That's why I use microcontrollers!
![]() Hint: Take a look at the 74xx76's PRESET inputs, and their effect on the outputs. --Rich |
|
#3
|
|||
|
|||
|
Thanks for the tip Rojori. I've set the PRESET inputs so that the counter counts from 9 to 27, but I'm having trouble initialize the count at zero. Essentially, this counter should count like this (in HEX): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 1A, 1B, 9, 10, 11...1B, 9...
Currently, my counter starts at 9, counts to 27 (1B), then starts over at 9 again. I want it to start at 0, count to 27, start again back at 9, then continuously repeat. I built a detection circuit so that when the counter hits 27, all of the flip-flops are cleared and, simultaneously, the presets on the first and fourth bit are set low, thus enabling the count to start at 9. The hardest part is making this count correctly from 0 to 27 the first time, then count from 9 to 27 everytime other than the first. Any more help would be appreciated, thanks. |
|
#4
|
|||
|
|||
|
I want it to start at 0, count to 27, start again back at 9, then continuously repeat. I built a detection circuit so that when the counter hits 27, all of the flip-flops are cleared and, simultaneously, the presets on the first and fourth bit are set low, thus enabling the count to start at 9.
Hmmmm, sounds like we're getting to the "show me the schematic" stage. But before that, I would look at what the detector is doing at power-up; that is, why is it detecting a 1B instead of a 00? Disconnect the clock circuit, tie the input to the counter LOW, power up the circuit and snoop around, checking voltage levels. --Rich |
|
#5
|
|||
|
|||
|
Can Any of you teach me how to design a 5 bit binary counter that counts from 0 to 27 then resets?
|
|
#6
|
|||
|
|||
|
0 to 25 sorry!
|
|
#7
|
|||
|
|||
|
Hello Ahmedthabet
This binary counter, will be developed with Flip-Flip-s? What would identification number? What to do when the counter reaches 25? Reset to zero and stop?? Reset to zero and continue counting from 0 to 25? regards at your service |
|
#8
|
||||
|
||||
|
Quote:
__________________
Zapper Curmudgeon Elektroniker |
|
#9
|
||||
|
||||
|
Seems simple enough. What determines the "first time"? Is it a switch closure or power-on? Either way you use that to reset all the counters to zero. Then when it detects 27 it presets the counters to 9.
__________________
Zapper Curmudgeon Elektroniker |
|
| Tags |
| 5bit, asynchronous, counter, counts, flipflops |
Related Site Pages
|
||||
| Section | Title | |||
| Worksheet | Counters | |||
| Worksheet | Flip-flop circuits | |||
| Worksheet | Digital codes | |||
| Textbook | Finite-state machines : Principles Of Digital Computing | |||
| Video Lecture | Asynchronous Counters - Digital | |||
| Video Lecture | Counters - Digital | |||
| Textbook | Finite State Machines : Sequential Circuits Counters | |||
| Textbook | Asynchronous counters : Sequential Circuits Counters | |||
| Textbook | Synchronous counters : Sequential Circuits Counters | |||
| Textbook | Asynchronous flip-flop inputs : Multivibrators | |||
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Up/down counter with master slave flip flops | saltykarp | General Electronics Chat | 0 | 11-10-2008 08:05 PM |
| Designing a 3-bit counter with D flip flops | Mearyk81 | Homework Help | 4 | 05-31-2008 10:44 PM |
| 3 minute timer circuit using 74LS163 counter and flip flops circuit help | zeneez | Homework Help | 8 | 03-22-2008 03:16 PM |
| How to design Asynchronous circuit (microcontroller (16 bit to 64)) | Brian | The Projects Forum | 3 | 02-14-2007 11:07 PM |
| 4bit synchronous counter using D Flip Flops | dankipiti | Homework Help | 1 | 02-14-2005 08:21 AM |
| Thread Tools | |
| Display Modes | |
|
|