electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Articles  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links  |  Store
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 » Lunettas - circuits inspired by Stanley Lunetta
Found a bunch of 4013 chips
Post new topic   Reply to topic Moderators: mosc
Page 1 of 1 [7 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
astroman



Joined: Sep 13, 2012
Posts: 44
Location: UK

PostPosted: Fri Jul 05, 2013 6:59 am    Post subject: Found a bunch of 4013 chips Reply with quote  Mark this post and the followings unread

What can I do with them?
Back to top
View user's profile Send private message
corex



Joined: Mar 02, 2010
Posts: 114
Location: Las Vegas

PostPosted: Fri Jul 05, 2013 12:30 pm    Post subject: Reply with quote  Mark this post and the followings unread

This is an extremely simplistic example, but I used the 4013 to create latching pushbuttons in a module I called "manual gate".


manual_gate_v1.3.png
 Description:
Schematic
 Filesize:  9.78 KB
 Viewed:  136 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

manual_gate_v1.3.png


Back to top
View user's profile Send private message
astroman



Joined: Sep 13, 2012
Posts: 44
Location: UK

PostPosted: Sat Jul 06, 2013 7:37 am    Post subject: Reply with quote  Mark this post and the followings unread

Corex........Thanks for the reply but I don't understand what that does? Embarassed
Back to top
View user's profile Send private message
corex



Joined: Mar 02, 2010
Posts: 114
Location: Las Vegas

PostPosted: Sat Jul 06, 2013 10:27 am    Post subject: Reply with quote  Mark this post and the followings unread

The module has four momentary switches, so it outputs a gate when you press (and hold) a momentary switch. I use the flipflops to hold state so that instead when you press a momentary switch, the output signal simply toggles (from on to off or vice versa) and then holds that state until you press the momentary switch again to toggle it.

The trick is to run \Q back to D, and use the momentary switch as the clock -- when the user presses the momentary, they clock the next bit in to the latch. In this mode it is essentially working as a divide-by-two clock divider.

https://en.wikipedia.org/wiki/D_flip_flop#Gated_D_latch
Back to top
View user's profile Send private message
astroman



Joined: Sep 13, 2012
Posts: 44
Location: UK

PostPosted: Sat Jul 06, 2013 11:54 am    Post subject: Reply with quote  Mark this post and the followings unread

Thanks Corex for that explaination!
Back to top
View user's profile Send private message
trav



Joined: Sep 11, 2012
Posts: 75
Location: Auckland
Audio files: 14

PostPosted: Wed Jul 17, 2013 12:35 pm    Post subject: Reply with quote  Mark this post and the followings unread

This is also not a bad chip brought more or less straight out to the panel. Experiment with different clock speeds into the CLK and DATA pins, maybe throw something at SET or/and RESET too, and listen to one of the outputs.

If you really have a lot of them you could build your own shift register, flip-flop by flip-flop, as long as you like! (connect output of one flip-flop into data of next) or combine with a proper shift reg chip to get the right number of bits/taps for a maximal linear feedback shift register...

Likewise, you could build your own binary counter out of a bunch of these: connecting NOT-Q to DATA (like Corex' example) gives a square wave at Q which has half the frequency of the signal at CLK (use this to clock the next flip-flop for division by 4, then 8, and so on...)

This chip isn't amazing, but playing with it is a good way to see how flip flops work, and so how other chips which are basically combinations of flipflop logic work too
Back to top
View user's profile Send private message
astroman



Joined: Sep 13, 2012
Posts: 44
Location: UK

PostPosted: Wed Jul 17, 2013 3:18 pm    Post subject: Reply with quote  Mark this post and the followings unread

Thanks Trav! Hoping to try some of this in a few days!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Moderators: mosc
Page 1 of 1 [7 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 » Lunettas - circuits inspired by Stanley Lunetta
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
e-m mkii

Please support our site. If you click through and buy from
our affiliate partners, we earn a small commission.


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