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 
go to the radio page Live at electro-music.com radio 1 Please visit the chat
  host / artist show at your time
<on air> Various Artists March Equinox concert
poster
 Forum index » DIY Hardware and Software
R/2R - Me Heartys - Yo Ho Ho
Post new topic   Reply to topic Moderators: jksuperstar, Scott Stites, Uncle Krunkus
Page 2 of 3 [75 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Goto page: Previous 1, 2, 3 Next
Author Message
Uncle Krunkus
Moderator


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

PostPosted: Mon Jul 02, 2007 9:42 pm    Post subject: Reply with quote  Mark this post and the followings unread

I take it that the deathly silence on this idea means: -
a) Someone has called the nuthouse and it just takes a while for them to arrive.
b) Nobody understands what I'm going on about.
or
c) Giving a nice cosy home to so many CMOS cockroaches is not generally supported/encouraged.

So, I'm just going to test it out and then we'll see who's "crazy" won't we?

Just wait until me and my 5 ton sub-oscillator take over the world! Shocked Won't be laughing then will we? Laughing

_________________
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: 24603
Location: The Netherlands, Enschede
Audio files: 309
G2 patch files: 320

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

Uncle Krunkus wrote:
So, I'm just going to test it out and then we'll see who's "crazy" won't we?


Designing hardware is a bit of a lonely thing ...

_________________
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: Wed Jul 04, 2007 4:56 am    Post subject: Reply with quote  Mark this post and the followings unread

Here it is!
It now has 5bit voltage resolution and 16 timeslices. Samples 9-16 are 1-8, in reverse order, inverted, and dropped into the -ve side of the wave.
I'm pretty impressed with this so far. The sample is recorded from the breadboarded version. I still haven't added any de-coupling caps, and it already sounds pretty smooth.

In the sample we have about 3sec each of: -
1. All counters slow
2. 1 up/down fast
3. 2 up/down fast
4. 4 up/down fast
5. 1 up fast
6. All fast
And then the clock is turned down at the end.

I've also included the schem as it is on the breadboard. (counters not shown)


DACillator-Jul07.gif
 Description:
 Filesize:  58 KB
 Viewed:  6483 Time(s)

DACillator-Jul07.gif



DACillator-Jul07.mp3
 Description:

Download (listen)
 Filename:  DACillator-Jul07.mp3
 Filesize:  221.41 KB
 Downloaded:  1535 Time(s)


_________________
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: Thu Jul 05, 2007 5:59 pm    Post subject: Reply with quote  Mark this post and the followings unread

I found out last night that all my counters, (there are 8 of them) were sometimes miss-clocking, which meant 1, 2, or 3 counts were being skipped over because of noisy clocks. A 100nF bypass cap added to the back of each 556 has cleaned everything up. This does make a big difference, as skipping counts causes a lot more jarring in the timbre morphing. I'm going to change all of them to up/down counters as well, becuse the up only ones suffer the same problem of inducing a big shift in the harmonic content when they reset to 0000. If I want the sudden change, I can get it back later with the addition of triggered "resets".
_________________
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
crazeydazey



Joined: Feb 15, 2007
Posts: 303
Location: England
Audio files: 4

PostPosted: Fri Jul 06, 2007 12:50 am    Post subject: Reply with quote  Mark this post and the followings unread

Shocked that's a scary avatar change there uncle K...
Back to top
View user's profile Send private message
Uncle Krunkus
Moderator


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

PostPosted: Fri Jul 06, 2007 1:19 am    Post subject: Reply with quote  Mark this post and the followings unread

Yeah, well, I'm a scary kinda guy! Shocked

This is actually Maria's half cousin Boris. He's animated through the use of a power other than electricity. The power of beer! Wink
At a birthday party a few years ago, after about 15 of said beers, it was deemed that Boris would look better if he put his mask back on! Very Happy
This picture was taken about 5 mins later. Laughing

_________________
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
richardc64



Joined: Jun 01, 2006
Posts: 679
Location: NYC
Audio files: 26

PostPosted: Fri Jul 06, 2007 8:20 am    Post subject: Reply with quote  Mark this post and the followings unread

I don't see why you need the 4050s. There's no level translation, since everything runs off 12V, and the output low and high voltages are the same as the 4030s. Buffer the MSB with a left over 4081 and you can eliminate one chip.

Or am I missing something?
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: Fri Jul 06, 2007 2:47 pm    Post subject: Reply with quote  Mark this post and the followings unread

No, you're right, I don't really need them. They were there before the XORs showed up, and I left them there to keep all the bits coming off the same chip.
_________________
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: Fri Jul 06, 2007 4:22 pm    Post subject: Reply with quote  Mark this post and the followings unread

The problem is that I'm gonna lose the 4081 anyway. I need a set of NANDs to build a little flip-flop, and the other two are to re-create the AND on the 4017s. Then I'm gonna need the 4050 to buffer the MSB.
But that could all change before anything gets set in stone.

Hey,... The flip-flop is gonna supply the MSB, so that won't need buffering anymore will it? Thanks for getting me thinking about that Richard. Very Happy

_________________
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: Thu Jul 12, 2007 6:35 am    Post subject: Reply with quote  Mark this post and the followings unread

It seems now that I'm going to need a separate Flip-flop chip. Now that is going to drive the MSB and sit across the XORs. So I assume it wil need buffering on the MSB line.
If I continued to use a 4081 for the AND gate on the 4017s, I could just tie one of the ANDs up as my MSB buffer yeah?
This way, I at least get rid of the buffer chip (4050).

BTW this is exactly what Richard said in the first place! Man! I think I'm missing something! Laughing

_________________
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
richardc64



Joined: Jun 01, 2006
Posts: 679
Location: NYC
Audio files: 26

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

Uncle Krunkus wrote:
Man! I think I'm missing something! Laughing


You're not alone. I'm lost, but glad I could help...I think.
scratch
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 7:38 am    Post subject: Reply with quote  Mark this post and the followings unread

Here's the latest schem. It's working very well. On breadboard. Once I've sussed the PLL front end I'll put both on a stripboard.


DACillator-07-07.gif
 Description:
 Filesize:  55.51 KB
 Viewed:  6474 Time(s)

DACillator-07-07.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
Uncle Krunkus
Moderator


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

PostPosted: Sat Jul 14, 2007 6:46 am    Post subject: Reply with quote  Mark this post and the followings unread

I want to drive this DAC with a clock derived from a frequency multiplier based on Scott Gravenhorsts PLL design for the FatMan, which can be found here: - http://home1.gte.net/res0658s/fatman/4046pll.html

I'm not sure how to deal with the fact that his design references everything off -V though. It would mean that the output would be a series of negative going pulses, and this circuit I've been playing with triggers off positive going pulses. Of course I could put an inverter/buffer in there, but could I just bump the reference up to the 0V line instead? Did he do that just because it's for the FatMan?

_________________
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: 24603
Location: The Netherlands, Enschede
Audio files: 309
G2 patch files: 320

PostPosted: Sat Jul 14, 2007 8:12 am    Post subject: Reply with quote  Mark this post and the followings unread

Uncle Krunkus wrote:
but could I just bump the reference up to the 0V line instead?


Yes, and connect the signals now connected to ground in the schema to your +V, stuff like Vdd (pin 16 of 4046, and various flip-flop inputs in the div 12 circuit).

edit: assuming you are not using the pots of the output circuitry, as those should go to your new ground instead of the old ground ...

_________________
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: Sat Jul 14, 2007 2:50 pm    Post subject: Reply with quote  Mark this post and the followings unread

No, I won't be using the pots. Just a rotary to choose which multiplier.
_________________
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 Aug 07, 2007 4:06 am    Post subject: Reply with quote  Mark this post and the followings unread

Here's the schem I'm going to use to build up this output section on stripboard. I think.
Have a look at the bottom right hand corner. Does that little 10R*2 and a 1uF make for a good digital filter. Can anyone see any problems with it?
Also, the AGnd which goes to pin3 on the TL071, if I put a divider on that, could I use it to centre the wave around 0V?


DACillator-070807.gif
 Description:
 Filesize:  59.55 KB
 Viewed:  6474 Time(s)

DACillator-070807.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
fonik



Joined: Jun 07, 2006
Posts: 3950
Location: Germany
Audio files: 23

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

i am totaly lost! all that logic. could you explain in plain words what that circuit actually does? what are the data inputs 1-4 are fed with?
_________________
Posted Image, might have been reduced in size. Click Image to view fullscreen.
cheers,
matthias
____________
Big Boss at fonitronik
Tech Buddy at Random*Source
Back to top
View user's profile Send private message Send e-mail 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 Aug 07, 2007 5:22 am    Post subject: Reply with quote  Mark this post and the followings unread

This is about as simple as I can explain it.
Step A through H (from the 4017s) simply scans back and forth sequentially strobing 8 * 4bit counter outputs. As the counter is strobed, it's output (4bits) is applied to the data inputs (1 to 4). The 5th data line is a trick which goes high on the way back and effectively creates a 5 bit DAC with only 4 bit inputs. This data is also inverted by the XORs so that the trough is a mirror of the peak (but backwards Rolling Eyes ).
Of course whether it is inverted or not can be controlled, as this makes a big difference to the harmonic structure. Also, the point where the 5th bit shifts everthing into -ve territory can be controlled with S1 which acts as a strange kind of Pulse Width control.
Does that make sense?
It's an absolute CMOS roach condo, but is proving to be a lot of fun, and has taught me heaps.

_________________
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
fonik



Joined: Jun 07, 2006
Posts: 3950
Location: Germany
Audio files: 23

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

thank you very much, uncle k.

so the counter is not part of the schematic!?
and the clock actually sets the frequency of this oscil... err... DACillator?

(sorry for being dense)

_________________
Posted Image, might have been reduced in size. Click Image to view fullscreen.
cheers,
matthias
____________
Big Boss at fonitronik
Tech Buddy at Random*Source
Back to top
View user's profile Send private message Send e-mail 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 Aug 07, 2007 5:46 am    Post subject: Reply with quote  Mark this post and the followings unread

Well, the 8 * 4bit counters are on other schems/boards yes.
And the clock, as it arrives on this board, needs to be 2, 3, 4 octaves above the fundamental of this circuit's output. (as it is divided by 16 as part of the DAC/strobing process). I plan on building a front end which uses a PLL and divider to bump it up by say 3 octaves first.

_________________
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
fonik



Joined: Jun 07, 2006
Posts: 3950
Location: Germany
Audio files: 23

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

very nice, mon oncle...
i just started to build a 3rd cabinet (despite any contrary decisions i made). so i will have enough space for that dacillator coming.

_________________
Posted Image, might have been reduced in size. Click Image to view fullscreen.
cheers,
matthias
____________
Big Boss at fonitronik
Tech Buddy at Random*Source
Back to top
View user's profile Send private message Send e-mail 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 Aug 07, 2007 6:03 am    Post subject: Reply with quote  Mark this post and the followings unread

I'm very flattered Fonik,
you're the only person who has shown any interest in actually building this little "distraction" so far! Laughing
If you think there's a lot of logic on this board, you should see the counter boards! Shocked It's definitely not for the faint hearted! And keep in mind that I can't gaurantee that it will produce something which justifies the amount of work involved. Still, it's nice to know that someone's watching over me. Very Happy
Have a listen to the sound samples I've posted so far, they're not anything to write home about at this stage, but I'm happy with the progress.
What do you think of the digital power rail filter?

_________________
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
State Machine
Janitor
Janitor


Joined: Apr 17, 2006
Posts: 2810
Location: New York
Audio files: 24

PostPosted: Tue Aug 07, 2007 5:06 pm    Post subject: Reply with quote  Mark this post and the followings unread

Quote:
Also, the AGnd which goes to pin3 on the TL071, if I put a divider on that, could I use it to centre the wave around 0V?


Yes, OR AC couple the output with a capacitor ........... Very Happy Very Happy

Bill
Back to top
View user's profile Send private message Send e-mail
richardc64



Joined: Jun 01, 2006
Posts: 679
Location: NYC
Audio files: 26

PostPosted: Tue Aug 07, 2007 6:08 pm    Post subject: Reply with quote  Mark this post and the followings unread

Uncle Krunkus wrote:
Have a look at the bottom right hand corner. Does that little 10R*2 and a 1uF make for a good digital filter. Can anyone see any problems with it?


Why is there a resistor (R27) between digital ground and Ground? Won't that make logic 0 slightly above 0V? Won't a logic 0 voltage in fact vary, albeit minutely, as supply current through that resistor varies? There will be an offset between your logic ground and the ground of any external clock you apply to this circuit.

I think you only need R26, the resistor between +V and the digital stuff.
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 Aug 07, 2007 9:52 pm    Post subject: Reply with quote  Mark this post and the followings unread

State Machine wrote:

Yes, OR AC couple the output with a capacitor ........... Very Happy Very Happy
Bill


Yeah, that was the original plan, but I thought it might be good to have DC coupling. Maybe it wouldn't matter either way? Thanks for the idea though.

_________________
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 2 of 3 [75 Posts]
View unread posts
View new posts in the last week
Goto page: Previous 1, 2, 3 Next
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