Sci.Electronics.Basics

on Electronics-Related.com

  Home  |  Books  |  Sci.Electronics.Design  |  Sci.Electronics.Basics  |  Resources  |  Contact  | 
Sign in
username:

password:

Remember Me

Not a member?
Search Sci.Electronics.Basics

Search Tips

Sci.Electronics.Basics -> Need to generate sequence 001, 010, 100, 001, 010, 100, ...

There are 20 messages in this thread.
You are currently looking at messages 1 to 20.






Author: jalbers@bsu.edu
Date: 15:38 28-04-08


I am looking for the simplest collection of logic chips that would
produce the sequence 001, 010, 100, 001, 010, 100, ...

I know that a PIC could be programemd to do this.

Any help would be greatly appreciated. Thanks

Author: Eeyore
Date: 15:49 28-04-08



"jalbers@bsu.edu" wrote:

> I am looking for the simplest collection of logic chips that would
> produce the sequence 001, 010, 100, 001, 010, 100, ...
>
> I know that a PIC could be programemd to do this.

Yes a PIC.

Graham


Author: James Beck
Date: 16:01 28-04-08

In article <48162A5F.A3AC6363@hotmail.com>,
rabbitsfriendsandrelations@hotmail.com says...
>
>
> "jalbers@bsu.edu" wrote:
>
> > I am looking for the simplest collection of logic chips that would
> > produce the sequence 001, 010, 100, 001, 010, 100, ...
> >
> > I know that a PIC could be programemd to do this.
>
> Yes a PIC.
>
> Graham
>
>
Yep, one of the little 8 pin jobs could do it with no external parts,
short of a decoupling cap.


Author: Fleetie
Date: 16:07 28-04-08

<jalbers@bsu.edu> wrote
>I am looking for the simplest collection of logic chips that would
> produce the sequence 001, 010, 100, 001, 010, 100, ...

A 4000-series 4017 decade counter could be configured to do this.

It has 10 output lines. IIRC, only one of these lines is ever high at
a time. Normally, as you clock it, the high line moves along by line.
After the 10th line has been high, the sequence starts again with
the first line being high again, and so on:

0000000001
0000000010
0000000100
0000001000
0000010000
. . .
1000000000
0000000001
0000000010

etc.

I used to use these as a teenager. You can use them as a divide-by-N
counter, for N up to 10.

You can make "LED chasers" with up to 10 LEDs. That was fun.

ANYWAY, by connecting one of the outputs to a "reset" pin, you can
configure sequences of fewer than 10 states. Here, you want 3 states
as follows:

001
010
100
001
010
100
etc.

If you use a 4017, you also have the opportunity to extend the sequence
beyond 3, and up to 10 states.


Martin
--
M.A.Poyser Tel.: 07967 110890
Manchester, U.K. http://www.livejournal.com/userinfo.bml?user=fleetie



Author: JeffM
Date: 18:08 28-04-08

>jalbers@ bsu.edu wrote
>>I am looking for the simplest collection of logic chips that would
>>produce the sequence 001, 010, 100, 001, 010, 100, ...
>>
Fleetie wrote:
>A 4000-series 4017 decade counter could be configured to do this.

What grade do you expect you'll get
from his instructor at Ball State University?

Author: Varactor
Date: 18:57 28-04-08

On Apr 29, 7:38=A0am, "jalb...@bsu.edu" <jalb...@bsu.edu> wrote:
> I am looking for the simplest collection of logic chips that would
> produce the sequence 001, 010, 100, 001, 010, 100, ...
>
> I know that a PIC could be programemd to do this.
>
> Any help would be greatly appreciated. =A0Thanks

A simple shift register and the output changes with the clock input.
How you clock it is up to you. The last bit is wired back to the first
data in...

Cheers

Author: John Fields
Date: 20:02 28-04-08

On Mon, 28 Apr 2008 12:38:37 -0700 (PDT), "jalbers@bsu.edu"
<jalbers@bsu.edu> wrote:

>I am looking for the simplest collection of logic chips that would
>produce the sequence 001, 010, 100, 001, 010, 100, ...
>
>I know that a PIC could be programemd to do this.
>
>Any help would be greatly appreciated. Thanks


If you don't care about startup states, I think this clears itself in
3 clocks max: (View in Courier)

B-------------+----------->B
+-------Y NOR |
| A--+----------|----------->A
| | |
| +----+ | +----+ | +----+
+-----|D Q|--+--|D Q|--+--|D Q|--->C
| | | | | |
CLK>--+--|> | +--|> | +--|> |
| +----+ | +----+ | +----+ C B A
+----------+----------+ --+-+--
0 0 1
0 1 0
1 0 0
0 0 1

JF

Author: Rich Grise
Date: 20:19 28-04-08

On Mon, 28 Apr 2008 20:49:51 +0100, Eeyore wrote:
> "jalbers@bsu.edu" wrote:
>
>> I am looking for the simplest collection of logic chips that would
>> produce the sequence 001, 010, 100, 001, 010, 100, ...
>>
>> I know that a PIC could be programemd to do this.
>
> Yes a PIC.

You're not allowed to say "use a pic" without providing a schematic
and full code listing.

My first thought was a 3-bit shift register.

Cheers!
Rich


Author: Eeyore
Date: 21:13 28-04-08



Rich Grise wrote:

> Eeyore wrote:
> > "jalbers@bsu.edu" wrote:
> >
> >> I am looking for the simplest collection of logic chips that would
> >> produce the sequence 001, 010, 100, 001, 010, 100, ...
> >>
> >> I know that a PIC could be programemd to do this.
> >
> > Yes a PIC.
>
> You're not allowed to say "use a pic" without providing a schematic
> and full code listing.

OK, use an '8051' then. 63 cents indicative price for this one. I don't
do PIC code but I could ask my nephew to do that !.
http://www.nxp.com/pip/P89LPC901_902_903-05.html


> My first thought was a 3-bit shift register.

Far too many parts !

Graham


Author: John Fields
Date: 05:06 29-04-08

On Tue, 29 Apr 2008 02:13:15 +0100, Eeyore
<rabbitsfriendsandrelations@hotmail.com> wrote:

>
>
>Rich Grise wrote:
>
>> Eeyore wrote:
>> > "jalbers@bsu.edu" wrote:
>> >
>> >> I am looking for the simplest collection of logic chips that would
>> >> produce the sequence 001, 010, 100, 001, 010, 100, ...
>> >>
>> >> I know that a PIC could be programemd to do this.
>> >
>> > Yes a PIC.
>>
>> You're not allowed to say "use a pic" without providing a schematic
>> and full code listing.
>
>OK, use an '8051' then. 63 cents indicative price for this one. I don't
>do PIC code but I could ask my nephew to do that !.
>http://www.nxp.com/pip/P89LPC901_902_903-05.html
>
>
>> My first thought was a 3-bit shift register.
>
>Far too many parts !

---
Note that the OP was aware that a PIC could be used, but asked for
"the simplest collection of logic chips" which would do the job.


JF

Author: Eeyore
Date: 07:32 29-04-08



John Fields wrote:

> Eeyore wrote:
> >Rich Grise wrote:
> >> Eeyore wrote:
> >> > "jalbers@bsu.edu" wrote:
> >> >
> >> >> I am looking for the simplest collection of logic chips that
would
> >> >> produce the sequence 001, 010, 100, 001, 010, 100, ...
> >> >>
> >> >> I know that a PIC could be programemd to do this.
> >> >
> >> > Yes a PIC.
> >>
> >> You're not allowed to say "use a pic" without providing a
schematic
> >> and full code listing.
> >
> >OK, use an '8051' then. 63 cents indicative price for this one. I don't
> >do PIC code but I could ask my nephew to do that !.
> >http://www.nxp.com/pip/P89LPC901_902_903-05.html
> >
> >
> >> My first thought was a 3-bit shift register.
> >
> >Far too many parts !
>
> ---
> Note that the OP was aware that a PIC could be used, but asked for
> "the simplest collection of logic chips" which would do the job.

Oh, OK. A counter with auto-reset is the answer then.

Graham


Author: James Beck
Date: 10:08 29-04-08

In article <48170746.FEB83BA9@hotmail.com>,
rabbitsfriendsandrelations@hotmail.com says...
>
>
> John Fields wrote:
>
> > Eeyore wrote:
> > >Rich Grise wrote:
> > >> Eeyore wrote:
> > >> > "jalbers@bsu.edu" wrote:
> > >> >
> > >> >> I am looking for the simplest collection of logic chips that
would
> > >> >> produce the sequence 001, 010, 100, 001, 010, 100, ...
> > >> >>
> > >> >> I know that a PIC could be programemd to do this.
> > >> >
> > >> > Yes a PIC.
> > >>
> > >> You're not allowed to say "use a pic" without providing a
schematic
> > >> and full code listing.
> > >
> > >OK, use an '8051' then. 63 cents indicative price for this one. I don't
> > >do PIC code but I could ask my nephew to do that !.
> > >http://www.nxp.com/pip/P89LPC901_902_903-05.html
> > >
> > >
> > >> My first thought was a 3-bit shift register.
> > >
> > >Far too many parts !
> >
> > ---
> > Note that the OP was aware that a PIC could be used, but asked for
> > "the simplest collection of logic chips" which would do the job.
>
> Oh, OK. A counter with auto-reset is the answer then.
>
> Graham
>
A PIC isn't a logic chip?
It might not be a "discrete" logic chip, but I'm pretty sure there is
some kinda' logic in there. :)




Author: John Fields
Date: 10:37 29-04-08

On Tue, 29 Apr 2008 12:32:22 +0100, Eeyore
<rabbitsfriendsandrelations@hotmail.com> wrote:

>
>
>John Fields wrote:
>
>> Eeyore wrote:
>> >Rich Grise wrote:
>> >> Eeyore wrote:
>> >> > "jalbers@bsu.edu" wrote:
>> >> >
>> >> >> I am looking for the simplest collection of logic chips that
would
>> >> >> produce the sequence 001, 010, 100, 001, 010, 100, ...
>> >> >>
>> >> >> I know that a PIC could be programemd to do this.
>> >> >
>> >> > Yes a PIC.
>> >>
>> >> You're not allowed to say "use a pic" without providing a
schematic
>> >> and full code listing.
>> >
>> >OK, use an '8051' then. 63 cents indicative price for this one. I don't
>> >do PIC code but I could ask my nephew to do that !.
>> >http://www.nxp.com/pip/P89LPC901_902_903-05.html
>> >
>> >
>> >> My first thought was a 3-bit shift register.
>> >
>> >Far too many parts !
>>
>> ---
>> Note that the OP was aware that a PIC could be used, but asked for
>> "the simplest collection of logic chips" which would do the job.
>
>Oh, OK. A counter with auto-reset is the answer then.

---
More specifically, a 4017, which is one chip less than shown in my
earlier post.

JF

Author: John Fields
Date: 10:41 29-04-08

On Tue, 29 Apr 2008 10:08:17 -0400, James Beck
<jim@reallykillersystems.com> wrote:

>In article <48170746.FEB83BA9@hotmail.com>,
>rabbitsfriendsandrelations@hotmail.com says...
>>
>>
>> John Fields wrote:
>>
>> > Eeyore wrote:
>> > >Rich Grise wrote:
>> > >> Eeyore wrote:
>> > >> > "jalbers@bsu.edu" wrote:
>> > >> >
>> > >> >> I am looking for the simplest collection of logic chips
that would
>> > >> >> produce the sequence 001, 010, 100, 001, 010, 100, ...
>> > >> >>
>> > >> >> I know that a PIC could be programemd to do this.
>> > >> >
>> > >> > Yes a PIC.
>> > >>
>> > >> You're not allowed to say "use a pic" without providing
a schematic
>> > >> and full code listing.
>> > >
>> > >OK, use an '8051' then. 63 cents indicative price for this one. I
don't
>> > >do PIC code but I could ask my nephew to do that !.
>> > >http://www.nxp.com/pip/P89LPC901_902_903-05.html
>> > >
>> > >
>> > >> My first thought was a 3-bit shift register.
>> > >
>> > >Far too many parts !
>> >
>> > ---
>> > Note that the OP was aware that a PIC could be used, but asked for
>> > "the simplest collection of logic chips" which would do the job.
>>
>> Oh, OK. A counter with auto-reset is the answer then.
>>
>> Graham
>>
>A PIC isn't a logic chip?
>It might not be a "discrete" logic chip, but I'm pretty sure there is
>some kinda' logic in there. :)

---
Of course, but the OP's query rejected it as a viable candidate.

JF

Author: James Beck
Date: 10:56 29-04-08

In article <spce14ht4jbj5cueajldhbq9tuerpejbo1@4ax.com>,
jfields@austininstruments.com says...
> On Tue, 29 Apr 2008 10:08:17 -0400, James Beck
> <jim@reallykillersystems.com> wrote:
>
> >In article <48170746.FEB83BA9@hotmail.com>,
> >rabbitsfriendsandrelations@hotmail.com says...
> >>
> >>
> >> John Fields wrote:
> >>
> >> > Eeyore wrote:
> >> > >Rich Grise wrote:
> >> > >> Eeyore wrote:
> >> > >> > "jalbers@bsu.edu" wrote:
> >> > >> >
> >> > >> >> I am looking for the simplest collection of logic
chips that would
> >> > >> >> produce the sequence 001, 010, 100, 001, 010, 100,
...
> >> > >> >>
> >> > >> >> I know that a PIC could be programemd to do this.
> >> > >> >
> >> > >> > Yes a PIC.
> >> > >>
> >> > >> You're not allowed to say "use a pic" without
providing a schematic
> >> > >> and full code listing.
> >> > >
> >> > >OK, use an '8051' then. 63 cents indicative price for this one. I
don't
> >> > >do PIC code but I could ask my nephew to do that !.
> >> > >http://www.nxp.com/pip/P89LPC901_902_903-05.html
> >> > >
> >> > >
> >> > >> My first thought was a 3-bit shift register.
> >> > >
> >> > >Far too many parts !
> >> >
> >> > ---
> >> > Note that the OP was aware that a PIC could be used, but asked for
> >> > "the simplest collection of logic chips" which would do the
job.
> >>
> >> Oh, OK. A counter with auto-reset is the answer then.
> >>
> >> Graham
> >>
> >A PIC isn't a logic chip?
> >It might not be a "discrete" logic chip, but I'm pretty sure there is

> >some kinda' logic in there. :)
>
> ---
> Of course, but the OP's query rejected it as a viable candidate.
>
> JF
>
The OP stated :
"I know that a PIC could be programemd to do this."
Is that a rejection?

Naturally, the info provided doesn't really give us the full domain of
the problem, and I'm just yanking your chain.......

Jim





Author: Eeyore
Date: 11:06 29-04-08



John Fields wrote:

> Eeyore wrote:
> >John Fields wrote:
> >> Eeyore wrote:
> >> >Rich Grise wrote:
> >> >> Eeyore wrote:
> >> >> > "jalbers@bsu.edu" wrote:
> >> >> >
> >> >> >> I am looking for the simplest collection of logic chips
that would
> >> >> >> produce the sequence 001, 010, 100, 001, 010, 100, ...
> >> >> >>
> >> >> >> I know that a PIC could be programemd to do this.
> >> >> >
> >> >> > Yes a PIC.
> >> >>
> >> >> You're not allowed to say "use a pic" without providing
a schematic
> >> >> and full code listing.
> >> >
> >> >OK, use an '8051' then. 63 cents indicative price for this one. I
don't
> >> >do PIC code but I could ask my nephew to do that !.
> >> >http://www.nxp.com/pip/P89LPC901_902_903-05.html
> >> >
> >> >
> >> >> My first thought was a 3-bit shift register.
> >> >
> >> >Far too many parts !
> >>
> >> ---
> >> Note that the OP was aware that a PIC could be used, but asked for
> >> "the simplest collection of logic chips" which would do the job.
> >
> >Oh, OK. A counter with auto-reset is the answer then.
>
> ---
> More specifically, a 4017, which is one chip less than shown in my
> earlier post.

You still need a clock source of course. The 89LPC901 can do the lot.

Graham


Author: John Fields
Date: 13:35 29-04-08

On Tue, 29 Apr 2008 10:56:53 -0400, James Beck
<jim@reallykillersystems.com> wrote:

>In article <spce14ht4jbj5cueajldhbq9tuerpejbo1@4ax.com>,
>jfields@austininstruments.com says...
>> On Tue, 29 Apr 2008 10:08:17 -0400, James Beck
>> <jim@reallykillersystems.com> wrote:
>>
>> >In article <48170746.FEB83BA9@hotmail.com>,
>> >rabbitsfriendsandrelations@hotmail.com says...
>> >>
>> >>
>> >> John Fields wrote:
>> >>
>> >> > Eeyore wrote:
>> >> > >Rich Grise wrote:
>> >> > >> Eeyore wrote:
>> >> > >> > "jalbers@bsu.edu" wrote:
>> >> > >> >
>> >> > >> >> I am looking for the simplest collection of
logic chips that would
>> >> > >> >> produce the sequence 001, 010, 100, 001, 010,
100, ...
>> >> > >> >>
>> >> > >> >> I know that a PIC could be programemd to do
this.
>> >> > >> >
>> >> > >> > Yes a PIC.
>> >> > >>
>> >> > >> You're not allowed to say "use a pic" without
providing a schematic
>> >> > >> and full code listing.
>> >> > >
>> >> > >OK, use an '8051' then. 63 cents indicative price for this
one. I don't
>> >> > >do PIC code but I could ask my nephew to do that !.
>> >> > >http://www.nxp.com/pip/P89LPC901_902_903-05.html
>> >> > >
>> >> > >
>> >> > >> My first thought was a 3-bit shift register.
>> >> > >
>> >> > >Far too many parts !
>> >> >
>> >> > ---
>> >> > Note that the OP was aware that a PIC could be used, but asked
for
>> >> > "the simplest collection of logic chips" which would do
the job.
>> >>
>> >> Oh, OK. A counter with auto-reset is the answer then.
>> >>
>> >> Graham
>> >>
>> >A PIC isn't a logic chip?
>> >It might not be a "discrete" logic chip, but I'm pretty sure
there is
>> >some kinda' logic in there. :)
>>
>> ---
>> Of course, but the OP's query rejected it as a viable candidate.
>>
>> JF
>>
>The OP stated :
>"I know that a PIC could be programemd to do this."
>Is that a rejection?

---
Well, of course!

By mentioning it and asking for another way to do it he was tacitly
rejecting it.
---

>Naturally, the info provided doesn't really give us the full domain of
>the problem, and I'm just yanking your chain.......

---
Have fun, I yank back! ;)

JF

Author: John Fields
Date: 14:38 29-04-08

On Tue, 29 Apr 2008 16:06:58 +0100, Eeyore
<rabbitsfriendsandrelations@hotmail.com> wrote:

>
>
>John Fields wrote:
>
>> Eeyore wrote:
>> >John Fields wrote:
>> >> Eeyore wrote:
>> >> >Rich Grise wrote:
>> >> >> Eeyore wrote:
>> >> >> > "jalbers@bsu.edu" wrote:
>> >> >> >
>> >> >> >> I am looking for the simplest collection of logic
chips that would
>> >> >> >> produce the sequence 001, 010, 100, 001, 010, 100,
...
>> >> >> >>
>> >> >> >> I know that a PIC could be programemd to do this.
>> >> >> >
>> >> >> > Yes a PIC.
>> >> >>
>> >> >> You're not allowed to say "use a pic" without
providing a schematic
>> >> >> and full code listing.
>> >> >
>> >> >OK, use an '8051' then. 63 cents indicative price for this one. I
don't
>> >> >do PIC code but I could ask my nephew to do that !.
>> >> >http://www.nxp.com/pip/P89LPC901_902_903-05.html
>> >> >
>> >> >
>> >> >> My first thought was a 3-bit shift register.
>> >> >
>> >> >Far too many parts !
>> >>
>> >> ---
>> >> Note that the OP was aware that a PIC could be used, but asked for
>> >> "the simplest collection of logic chips" which would do the
job.
>> >
>> >Oh, OK. A counter with auto-reset is the answer then.
>>
>> ---
>> More specifically, a 4017, which is one chip less than shown in my
>> earlier post.
>
>You still need a clock source of course. The 89LPC901 can do the lot.

---
Not without a programmer it can't.

_And_ it's not what the OP asked for.

Here's a single-chip solution with no clock needed:

(View in Courier)



V+--+-------------+---------------+---------------+
| | | |
[100k] 1/4 553 [R] 1/4 553 [R] 1/4 553 [R]
| +-------+ | +-------+ | +-------+ |
| | T|--+ | T|--+ | T|--+
| | | | | | | | | |
| | | [C] | | [C] | | [C]
| |__ | | |__ | | |__ | |
+-O|TR OUT|--|-+-O|TR OUT|--|-+-O|TR OUT|--|-+
| +-------+ | | +-------+ | | +-------+ | |
| | | | | | |
+--[1N4148>]--|-|---[0.1µF]---|-|-------------|-+
| | | | | | |
[100nF] | | | | | |
| | | | | | |
| | | | | | |
GND>+-------------+-|-------------+-|-------------+ |
| | |
OUTA OUTB OUTC


JF

Author: Jamie
Date: 17:40 29-04-08

James Beck wrote:
> In article <48170746.FEB83BA9@hotmail.com>,
> rabbitsfriendsandrelations@hotmail.com says...
>
>>
>>John Fields wrote:
>>
>>
>>>Eeyore wrote:
>>>
>>>>Rich Grise wrote:
>>>>
>>>>>Eeyore wrote:
>>>>>
>>>>>>"jalbers@bsu.edu" wrote:
>>>>>>
>>>>>>
>>>>>>>I am looking for the simplest collection of logic chips that
would
>>>>>>>produce the sequence 001, 010, 100, 001, 010, 100, ...
>>>>>>>
>>>>>>>I know that a PIC could be programemd to do this.
>>>>>>
>>>>>>Yes a PIC.
>>>>>
>>>>>You're not allowed to say "use a pic" without providing a
schematic
>>>>>and full code listing.
>>>>
>>>>OK, use an '8051' then. 63 cents indicative price for this one. I don't
>>>>do PIC code but I could ask my nephew to do that !.
>>>>http://www.nxp.com/pip/P89LPC901_902_903-05.html
>>>>
>>>>
>>>>
>>>>>My first thought was a 3-bit shift register.
>>>>
>>>>Far too many parts !
>>>
>>>---
>>>Note that the OP was aware that a PIC could be used, but asked for
>>>"the simplest collection of logic chips" which would do the job.
>>
>>Oh, OK. A counter with auto-reset is the answer then.
>>
>>Graham
>>
>
> A PIC isn't a logic chip?
> It might not be a "discrete" logic chip, but I'm pretty sure there is
> some kinda' logic in there. :)
>
>
>
Yes, that sounds logical!


--
"I'd rather have a bottle in front of me than a frontal lobotomy"

"Daily Thought:

SOME PEOPLE ARE LIKE SLINKIES. NOT REALLY GOOD FOR ANYTHING BUT
THEY BRING A SMILE TO YOUR FACE WHEN PUSHED DOWN THE STAIRS.
http://webpages.charter.net/jamie_5";


Author: Clint Sharp
Date: 17:42 30-04-08

In message <htae14t79jt93cqk43n290l81amrrhdjij@4ax.com>, John Fields
<jfields@austininstruments.com> writes
>More specifically, a 4017, which is one chip less than shown in my
>earlier post.
Spot on, clock source? Personally if I was using a 4017 I'd have to use
a 555 but that's because they were the very first chips I bought as
separate components and I'm a sentimental git. (I saved for months for a
Radio Shack 200 in 1 electronics lab which had a couple of TTL chips
before I discovered the delights of solder and stripboard at the tender
age of 12)
>
>JF

--
Clint Sharp

1


      Contact  |  Electronic Portal


Sci.Electronics.Basics by Keywords
ADC
Antenna
CAD
Coil
Generator
IDE
LCD
Modulator
MOSFET
NiMH
Opamp
Oscilloscope
PID
RS232
Telephone
Transformers
TTL
USB

Sci.Electronics.Basics By Author