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 
Live streaming at radio.electro-music.com

  host / artist show at your time
  EdisonRex Edison's Electronic Review
Please visit the chat
 Forum index » DIY Hardware and Software » Lunettas - circuits inspired by Stanley Lunetta
Led's on sequencer not sequencing
Post new topic   Reply to topic Moderators: mosc
Page 1 of 1 [13 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
acidblue



Joined: Jun 26, 2009
Posts: 192
Location: The Darkside

PostPosted: Fri Nov 19, 2010 8:07 pm    Post subject: Led's on sequencer not sequencing Reply with quote  Mark this post and the followings unread

I made this sequencer from sea-moss and replaced the 22k resistors with pots and got it working fine--yippie!
http://milkcrate.com.au/_other/sea-moss/04_seq.gif

But now I want to add led's to flash in sequence.
But it dosen't work when I add a led and it's resistor to the corresponding pins on the 4051 IC in parallel, (pins 13,14,15,12 etc.).

In fact the whole sequencer stops sequencing.
Some of the led's are fully lit and some just barely.
I have the led and resistor connected in parallel from the pin to ground.
Like you would do on a 'Baby Ten' sequencer.

What am I doing wrong?
Back to top
View user's profile Send private message AIM Address
rich decibels



Joined: Apr 01, 2010
Posts: 59
Location: Wellington, NZ
Audio files: 1

PostPosted: Sat Nov 20, 2010 5:18 pm    Post subject: Reply with quote  Mark this post and the followings unread

The 4051 is a multiplexer - it works like an 8-way switch. It takes whatever is on X and connects it to one of the pins X0-X7, depending on the state of the control inputs A, B, and C. In this case the 4040 is used to cycle through every combination of A, B, and C, so X gets connected to X0, X1, X2... in sequence.

Connecting LEDs to the output pins X0-X7 unfortunately won't do what you want it to do. If you redraw the schematic with the 4051 replaced with an 8-way switch, you'll see why: switching from one output to the next doesn't actually take any of the LEDs out of the circuit.

As far as I know, the only way to get indicators on a sequencer of this type is to use another 4051 whose A, B, and C, inputs are connected to the original 4040. Connect the X input to V+ via a limiting resistor (100-3k, depending on your LED), then connect each of the X0-X7 outputs to your 8 LEDs, which are then wired to ground.

There are probably more efficient ways of doing this. For instance, there are other kinds of multiplexers that have additional channels, so you could have the oscillator on one channel and the indicators on another. I've not done it myself though, so I can't tell you exactly where to look.

Good luck!
Back to top
View user's profile Send private message
acidblue



Joined: Jun 26, 2009
Posts: 192
Location: The Darkside

PostPosted: Sat Nov 20, 2010 7:23 pm    Post subject: Reply with quote  Mark this post and the followings unread

rich decibels wrote:


As far as I know, the only way to get indicators on a sequencer of this type is to use another 4051 whose A, B, and C, inputs are connected to the original 4040. Connect the X input to V+ via a limiting resistor (100-3k, depending on your LED), then connect each of the X0-X7 outputs to your 8 LEDs, which are then wired to ground.
Good luck!


That sort of works, The led's blink but they blink in unison not in sequence.
I might have it connected wrong, so let me be sure.

I have a second 4051 A, B, C pins connected to the original 4040 9, 7, 6 pins.
Plus pin 6 of the 4051 to ground.
Back to top
View user's profile Send private message AIM Address
rich decibels



Joined: Apr 01, 2010
Posts: 59
Location: Wellington, NZ
Audio files: 1

PostPosted: Sat Nov 20, 2010 8:47 pm    Post subject: Reply with quote  Mark this post and the followings unread

Yeah it sounds as if it's wired up wrong. Rip everything out and start again! With multiplexers I always start with LEDs to indicate that everything is working before I move on to audio signals, which can be trickier to debug.
Back to top
View user's profile Send private message
acidblue



Joined: Jun 26, 2009
Posts: 192
Location: The Darkside

PostPosted: Sat Nov 20, 2010 8:56 pm    Post subject: Reply with quote  Mark this post and the followings unread

Funny thing is the audio part works fine.
It sequences like it should, just the led's just don't sequence.
Back to top
View user's profile Send private message AIM Address
rich decibels



Joined: Apr 01, 2010
Posts: 59
Location: Wellington, NZ
Audio files: 1

PostPosted: Sun Nov 21, 2010 12:46 am    Post subject: Reply with quote  Mark this post and the followings unread

you can verify your wiring by connecting A, B, and C to ground. only one LED should be lit. Now connect just A to V+, a different LED should light. and so on, one LED should light for each combination of GND and V+ on A, B, and C
Back to top
View user's profile Send private message
acidblue



Joined: Jun 26, 2009
Posts: 192
Location: The Darkside

PostPosted: Sun Nov 21, 2010 11:13 am    Post subject: Reply with quote  Mark this post and the followings unread

rich decibels wrote:
you can verify your wiring by connecting A, B, and C to ground. only one LED should be lit. Now connect just A to V+, a different LED should light. and so on, one LED should light for each combination of GND and V+ on A, B, and C


Do I do this on the original 4051 or the second?
Back to top
View user's profile Send private message AIM Address
rich decibels



Joined: Apr 01, 2010
Posts: 59
Location: Wellington, NZ
Audio files: 1

PostPosted: Sun Nov 21, 2010 1:20 pm    Post subject: Reply with quote  Mark this post and the followings unread

On the second. The one with the LEDs...
Back to top
View user's profile Send private message
stolenfat



Joined: Apr 17, 2008
Posts: 430
Location: Sunny Oakland California
Audio files: 1

PostPosted: Sun Nov 21, 2010 2:14 pm    Post subject: Reply with quote  Mark this post and the followings unread

this is what i had to do for my 4051 wacky sequencer...

pin->resister->led->output

just put the led in series. See if it that helps.

_________________
home made noise and electronic ill-logic
Back to top
View user's profile Send private message Visit poster's website
Scott Stites
Janitor
Janitor


Joined: Dec 23, 2005
Posts: 4121
Location: Mount Hope, KS USA
Audio files: 96

PostPosted: Sun Nov 21, 2010 2:56 pm    Post subject: Reply with quote  Mark this post and the followings unread

This will work. R is the current limiting resistor for the LED (whatever value you are using). You only need one resistor. Make sure all the ground connections are made on the CD4051 (6, 7 and 8 ) - you don't want any input to float on CMOS. Ever.

Cheerios,
Scott


4040_4051_LED.JPG
 Description:
 Filesize:  71.76 KB
 Viewed:  124 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

4040_4051_LED.JPG



_________________
My Site
Back to top
View user's profile Send private message
rich decibels



Joined: Apr 01, 2010
Posts: 59
Location: Wellington, NZ
Audio files: 1

PostPosted: Sun Nov 21, 2010 4:33 pm    Post subject: Reply with quote  Mark this post and the followings unread

Good idea stolenfat - I assume that would mess with the sound somewhat? In a good way, obviously...
Back to top
View user's profile Send private message
acidblue



Joined: Jun 26, 2009
Posts: 192
Location: The Darkside

PostPosted: Sun Nov 21, 2010 4:59 pm    Post subject: Reply with quote  Mark this post and the followings unread

AHA! That works.
Thanks guy's.
Back to top
View user's profile Send private message AIM Address
stolenfat



Joined: Apr 17, 2008
Posts: 430
Location: Sunny Oakland California
Audio files: 1

PostPosted: Tue Nov 23, 2010 3:18 am    Post subject: Reply with quote  Mark this post and the followings unread

rich decibels wrote:
Good idea stolenfat - I assume that would mess with the sound somewhat? In a good way, obviously...


yessire.. the ol LED filter trick.

_________________
home made noise and electronic ill-logic
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: mosc
Page 1 of 1 [13 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