Author |
Message |
CHRISKELLY
Joined: Apr 08, 2018 Posts: 103 Location: England
Audio files: 3
|
Posted: Tue May 01, 2018 6:12 am Post subject:
4051 in reverse |
|
|
Picked up some 4051 chips to use, and thought that i could send 1 of 10 inputs in to get a binary out. The plan was to use a 4017 to cycle through 1 to 10, so that the binary outs could switch on/off three tones to create a little melody.
Didnt seem to work so i'm guessing that it works by binary input with 1 to 10 outputs
Is this true or can it be used either way?
If not, is there another chip that will do this for me?
Chris |
|
Back to top
|
|
|
Steveg
Joined: Apr 23, 2015 Posts: 182 Location: Perth, Australia
|
Posted: Tue May 01, 2018 6:45 am Post subject:
|
|
|
Hi Chris,
The 4051 is a bi-directional analog switcher. So it should work like you want although it is 8:1 not 10:1. Not sure how you would drive the addresses from a 4017. I suspect that isn't working like you might have thought. You need 3 digital inputs for the a, b & c address selectors. You can use three oscillators or three outputs of a counter or a shift register.
Steve |
|
Back to top
|
|
|
PHOBoS
Joined: Jan 14, 2010 Posts: 5591 Location: Moon Base
Audio files: 705
|
Posted: Tue May 01, 2018 7:36 am Post subject:
|
|
|
If I understand correctly what you are trying to achive you might be looking for a priority encoder like the CD4532.
However using a 4017 + 4532 to get a binary count seems a bit silly as you can just use an binary counter instead.
But with the 2 chips you can easily mix up the order so maybe that's what you want. _________________ "My perf, it's full of holes!"
http://phobos.000space.com/
SoundCloud BandCamp MixCloud Stickney Synthyards Captain Collider Twitch YouTube |
|
Back to top
|
|
|
CHRISKELLY
Joined: Apr 08, 2018 Posts: 103 Location: England
Audio files: 3
|
Posted: Tue May 01, 2018 7:51 am Post subject:
|
|
|
Thanks guys
Sorry Steve i meant 8 inputs not 10!
What i was hoping for was to cycle 3 notes in binary:
A, B and C
First step - C (0 0 1)
2nd - B (0 1 0)
3rd - B + C (0 1 1)
4th - A (1 0 0)
5th - A + C (1 0 1)
etc
If that makes sense? |
|
Back to top
|
|
|
PHOBoS
Joined: Jan 14, 2010 Posts: 5591 Location: Moon Base
Audio files: 705
|
|
Back to top
|
|
|
CHRISKELLY
Joined: Apr 08, 2018 Posts: 103 Location: England
Audio files: 3
|
Posted: Tue May 01, 2018 9:30 am Post subject:
|
|
|
Ahh yes of course a 4040 would work! Thanks for the suggestions
I've got an APC to create a tone, then made the 3rd and 5th of that same tone produced using 4046 PLL's. They feed into the inputs of a 4066 and i was thinking of ways fo switch them on and off in a more interesting way. |
|
Back to top
|
|
|
|