electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
 Forum index » DIY Hardware and Software
A basic flip flop using dual input AND gates?
Post new topic   Reply to topic Moderators: jksuperstar, Scott Stites, Uncle Krunkus
Page 1 of 1 [12 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
Uncle Krunkus
Moderator


Joined: Jul 11, 2005
Posts: 4761
Location: Sydney, Australia
Audio files: 52
G2 patch files: 1

PostPosted: Tue Jul 03, 2007 4:47 am    Post subject: A basic flip flop using dual input AND gates? Reply with quote  Mark this post and the followings unread

Does anyone know how to make a basic flip flop using dual input AND gates? Needs to run at up to about 5Khz.
_________________
What makes a space ours, is what we put there, and what we do there.
Back to top
View user's profile Send private message Visit poster's website
EdisonRex
Site Admin


Joined: Mar 07, 2007
Posts: 4579
Location: London, UK
Audio files: 172

PostPosted: Tue Jul 03, 2007 5:01 am    Post subject: Reply with quote  Mark this post and the followings unread

ANDs or NANDs? If I remember my logic correctly you could build damn near anything with NANDs, but it's not so easy with ANDs.
_________________
Garret: It's so retro.
EGM: What does retro mean to you?
Parker: Like, old and outdated.


Home,My Studio,and another view
Back to top
View user's profile Send private message Visit poster's website
EdisonRex
Site Admin


Joined: Mar 07, 2007
Posts: 4579
Location: London, UK
Audio files: 172

PostPosted: Tue Jul 03, 2007 5:06 am    Post subject: Reply with quote  Mark this post and the followings unread

Here's one using NAND gates.

You can lose the clock detector on the bottom if you want a real basic flip flop.

_________________
Garret: It's so retro.
EGM: What does retro mean to you?
Parker: Like, old and outdated.


Home,My Studio,and another view
Back to top
View user's profile Send private message Visit poster's website
Uncle Krunkus
Moderator


Joined: Jul 11, 2005
Posts: 4761
Location: Sydney, Australia
Audio files: 52
G2 patch files: 1

PostPosted: Tue Jul 03, 2007 5:07 am    Post subject: Reply with quote  Mark this post and the followings unread

Yeah, it could be NANDs.
I'm only using one AND, so I could replace that with two NANDs and have two left over for the flipflop hey?

_________________
What makes a space ours, is what we put there, and what we do there.
Back to top
View user's profile Send private message Visit poster's website
Uncle Krunkus
Moderator


Joined: Jul 11, 2005
Posts: 4761
Location: Sydney, Australia
Audio files: 52
G2 patch files: 1

PostPosted: Tue Jul 03, 2007 5:13 am    Post subject: Reply with quote  Mark this post and the followings unread

Would this bit work by itself?


05303.gif
 Description:
 Filesize:  1.04 KB
 Viewed:  4369 Time(s)

05303.gif



_________________
What makes a space ours, is what we put there, and what we do there.
Back to top
View user's profile Send private message Visit poster's website
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24079
Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320

PostPosted: Tue Jul 03, 2007 5:36 am    Post subject: Reply with quote  Mark this post and the followings unread

As long as the input pulses don't overlap it will work.
_________________
Jan
also .. could someone please turn down the thermostat a bit.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
Uncle Krunkus
Moderator


Joined: Jul 11, 2005
Posts: 4761
Location: Sydney, Australia
Audio files: 52
G2 patch files: 1

PostPosted: Tue Jul 03, 2007 5:45 am    Post subject: Reply with quote  Mark this post and the followings unread

They won't overlap.
If they did, would it fry or just get grumpy?

_________________
What makes a space ours, is what we put there, and what we do there.
Back to top
View user's profile Send private message Visit poster's website
Dave Kendall



Joined: May 26, 2007
Posts: 421
Location: England
Audio files: 3

PostPosted: Tue Jul 03, 2007 5:51 am    Post subject: Reply with quote  Mark this post and the followings unread

Hi Uncle.

dunno if this helps, but the "memory module" in this circuit uses a 4081 to give 4 latches.

I built one a while back, and it does work, although the key down reset time may be too slow for your purposes....

It's an interesting circuit though, sort of like a poor man's 74C922 without the "data available" output

cheers,

Dave
(with too much time, and not enough money)
Back to top
View user's profile Send private message
EdisonRex
Site Admin


Joined: Mar 07, 2007
Posts: 4579
Location: London, UK
Audio files: 172

PostPosted: Tue Jul 03, 2007 6:08 am    Post subject: Reply with quote  Mark this post and the followings unread

Uncle Krunkus wrote:
They won't overlap.
If they did, would it fry or just get grumpy?


It's just get grumpy. That's the latch circuit there, so you'd get inconsistent states if you overlap the input pulses.

_________________
Garret: It's so retro.
EGM: What does retro mean to you?
Parker: Like, old and outdated.


Home,My Studio,and another view
Back to top
View user's profile Send private message Visit poster's website
doctorvague



Joined: Mar 14, 2007
Posts: 281
Location: new mexico
Audio files: 2

PostPosted: Tue Jul 03, 2007 8:13 am    Post subject: Reply with quote  Mark this post and the followings unread

EdisonRex wrote:
Here's one using NAND gates.


Good link, thanks!

_________________
doctorvague's youtube channel
Back to top
View user's profile Send private message
EdisonRex
Site Admin


Joined: Mar 07, 2007
Posts: 4579
Location: London, UK
Audio files: 172

PostPosted: Tue Jul 03, 2007 1:54 pm    Post subject: Reply with quote  Mark this post and the followings unread

doctorvague wrote:
EdisonRex wrote:
Here's one using NAND gates.


Good link, thanks!


I can't take credit for that link. I found it within these forums.
But it is a good link Smile

_________________
Garret: It's so retro.
EGM: What does retro mean to you?
Parker: Like, old and outdated.


Home,My Studio,and another view
Back to top
View user's profile Send private message Visit poster's website
Uncle Krunkus
Moderator


Joined: Jul 11, 2005
Posts: 4761
Location: Sydney, Australia
Audio files: 52
G2 patch files: 1

PostPosted: Thu Jul 12, 2007 6:24 am    Post subject: Reply with quote  Mark this post and the followings unread

I just learned that you can't use two NAND gates to create an RS Latch unless the inputs are normally "1" and you want it to latch on "0"s
The situation is fixed by using NORs, which, in the same configuration, make an RS Latch which has inputs normally at "0".

This causes me a pain, as I was hoping to create a simple RS Latch and an AND gate from one chip. The numbers just don't add up. Can't be done.

_________________
What makes a space ours, is what we put there, and what we do there.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic Moderators: jksuperstar, Scott Stites, Uncle Krunkus
Page 1 of 1 [12 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
 Forum index » DIY Hardware and Software
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use