If it’s your build and you know why then sure. But repairing work made like this is not easy.
Has anyone actually encountered problems with an audio circuit caused by having bypass caps 2.5 mm away from the pin?
It’s more that I’d like to avoid extravagant use of valuable board space and unnecessary extra traces.
Only with signal generators, timing bricks for old serial comms, some antenna stuff but as you say rarely with audio. But as I said originally ; it’s an old school request.
Now sure which “other side” you mean.
If you mean on the back of the board…then…yes…that could work. Though like @Bitnik suggests if I wanted to do that I’d probably just solder them right to the pins on the other side. Maybe even use some SMD’s if I have them on hand.
But…the 2 decoupling caps on the TL and the timing cap on pin 11 of the 3340 area all as close as I can get them without package collisions on a 2.54mm grid. Yeah…the caps are small enough they’d probably fit despite the footprints slightly overlapping. But I’m ok with this.
And technically they’re more like 5mm away because of the size of the IC socket:
If I move it to that next grid closer I get DRC warnings for breaking my 0.4mm clearance rule:
Yeah…it would probably be ok…but drilling that without destroying the trace could prove tricky. I’m still dialing in my little drill press and not always getting quite the accuracy on my holes that I’d like yet.
If this was high speed digital circuitry…might be worth the effort. But here…I’m willing to accept the 5mm gap.
Superb. You’re right. And as @analogoutput mentions it’s not likely to be any sort of problem. My old Mk1 eyeball just spotted a “thing” that gave me pause. Carry on. Please
Few minor cosmetic blemishes…but it checks out electrically. (there is one blemish that crosses a trace…but the trace still has connectivity. I’ll probably reinforce it with a bit of cut off lead just to be safe though.)
And I got photos of all the steps along the way so I should be able to put together a post detailing my process.
Pretty nice being able to go from idea to a board ready to solder in your hand in <20 hours (including 8 of them spent sleeping)
So…I didn’t write up the PCB etching post yet because I decided to build this up instead and hopefully have a working circuit to show off at the end of that post.
It…didn’t quite go that way. Assembly went off fairly easily:
That one iffy spot on that one trace I patched up…but in the process created a bridge to the nearly ground pour. Fixed that but it left a bit of a “scar” since you can never get ALL the solder off of copper once it’s on there:
Drew up and panel and started printing it…but didn’t want to wait for it so re-used the first Steiner panel instead for now:
Plugged it in…and…I got nothing. Hmmm. Power traces checked out…maybe it’s like my #1222 and the fine tuning is just way out. Turned it a bunch in both directions. Still nothing.
Turned the volume way up and it was doing a bit of clicking. So…it’s not totally dead.
Took a look at the schematic again…and…found a mistake on the CV input circuit. Had a resistor in the wrong place. Whoops. Fixed it on the schematic and on the PCB design…then did the same fix on my board with some bodge wires:
Better. I’m getting SOMETHING at least now. It’s REALLY low frequency though and turning the adjustment trimmer just makes it get lower. The coarse tune and pwm knobs do make a difference…but something still isn’t right.
Took another look at the schematic. And…Yeah…I made some bigger mistakes on the CV circuit
Big enough to requite moving components and more than I think I can patch up with just some bodge wires. So…looks like I get to etch a new board tomorrow and move the parts over But I’m going to sleep on it first. I might be able to bodge this board into working first to confirm things. Just the changes are big enough that will be awfully confusing to implement.
And I want to take another look at the schematic and make sure I’ve got the CV inputs sorted out.
So big PCB post will hopefully happen tomorrow.
oh so I also made the mistake when building mine
Well, woke up to a nice panel on the 3D printer so decided to see if I could figure out a few bodges to bring this up to spec instead of etching another board right away:
It’s getting ugly…but…I’ve seen worse on commercial stuff still so I don’t feel too bad:
And I didn’t make things worse at least
Well, for the most part. I now get a nice spectrum of sounds out of all three outputs. The coarse tuning pot give me everything from deep rumbling up to squeaky dolphin talk.
The PWM knob is a bit touchy…not sure if I have a mistake or if that’s just how this circuit is. But it only really works in the center for about 1/5th of the travel of the pot. Any further in either direction and it goes silent. My 1222 isn’t like that but the circuit on there is a bit different…so I’m guessing that’s an improvement over this basic circuit (looks like a few additional resistors to keep things under control.)
So before I roll a new board I may try and pull that in.
On the downside…my CV in now doesn’t do anything. It could be a bad bodge…or a deeper issue with my schematic since I still have a gut feeling something isn’t right in the CV circuit. So…need to take a closer look at that.
But - have Sunday chores to deal with first.
Enjoyed my day away from the bench.
Started on a new case with 3D printed rails:
Unfortunately the Ply I got this time wasn’t nearly as flat and kept wanted to warp on me…so not sure how well this case will come out. Need to drill the holes for mounting the rails next - they do fit…but…since the case keeps wanting to warp I’m not sure how well it will work out.
And finished a 3D printed printing press - and the low tech fun of pulling prints off plates made from the side of a box of goldfish crackers inspired me to try my hand at some LMNC style artwork:
Didn’t quite get the K for Kosmo right
And the press does kind of fit in here since it was etching circuit boards that reminded me I wanted to try making this. I’m going to try making a nicer plate by etching a PCB to use instead. Will see how that does in a few days.
your small printing are cool!
how are your module rails made?
do you drill them according to the modules or do you have predefined holes?
Thanks, the rails are 3D printed - I posted details about them here: 3D printed Rails
They have slots that hold thin M3 square nuts to secure the modules.
Are you not worried about the music falling out of the cabinet if the modules are all on their sides like that? Do you need to use a special side-to-side power supply instead of the usual +12V and -12V? Imaginary voltages? +12iV, -12iV? How do they work? Is this useful for producing complex music?
So…sitting here working and this 3340 VCO is sitting on my desk. Reach across to grab a pen…and something about the VCO caught my eye.
I see why my CV inputs aren’t working.
Swapped signals and grounds on the jacks and now the CV in is working.
Something still seems off with the PWM control though. It’s VERY sensitive and only works at a very specific setting now. My board seems to match the schematic though and my schematic seems to match the stripboard.
My schematic:
What’s odd is that it was working better before I made the earlier fixes to the CV circuit. But those changes didn’t affect any of the components or traces for the PWM circuit. It was still overly sensitive then…but it did have some range.
But…I see Sam changed the PWM circuit quite a bit on the 1222:
And the CEM3340 datasheet just shows PWM as 0-5v with no suggested circuit.
So it looks like the stripboard circuit isn’t very good at staying within 0-5v - the 1222 circuit looks like it should be more correct here. But…it’s a bigger change than I can just bodge into this board. So probably will roll a revised board at this point.
I’ve been thinking about this for 4 days. I keep meaning to come back to it but got a little distracted typing up that big post on etching PCB’s. And the more I thought about it the more I felt I really wanted to test this change before etching a new board.
And the changes aren’t that bad…so…
This is getting kind of ugly.
But…I really want to confirm this fixes it before I etch another board.
And…it didn’t
Something still seems off with the PWM. The output just seems lower than it did initially and there’s an even smaller zone where PWM actually works now.
I’m just not sure what’s going on now. So I pulled out the scope and the DMM.
I’m only seeing a 0-1v swing on the PWM pin of the 3340. The datasheet says that pin wants 0-5. So…I’m not sure without doing more math than I’m up for at 11PM on a Friday if that’s what Sam’s circuit from the 1222 (which is what I’m now using) is actually designed to do…or if there’s an issue with my bodge job.
And…looking at the square wave output on my scope. I’m seeing a decent (not great it’s got a bit of a spike at the start) square wave and as expected it’s width does change as I change the PWM knob with no jumps or surprises. So I’m not sure why the audio breaks up entirely except for a VERY small range of widths.
So I took a look at my 1222 instead. It looked the same on the scope…so I gave it a listen…And it was doing the same thing. Which…I don’t remember it doing before! I was swinging that PWM knob from one side to the other having fun just the other day. What the hell?
So I gave a listen to my DIY board again…and suddenly the PWM swing was just fine across the whole range.
What?! Now suddenly my 1222 is doing the wonky thing and my diy build is acting like the 1222 used to.
I…I just don’t know now. The good news is my DIY seems to be working quite well - both inputs work, all three outputs work. They sound the same and have the same levels as my 1222. Just…the PWM on both sometimes works and sometimes just gets funky and only works in a very narrow range.
Maybe I just never noticed it on the 1222 before and it’s a matter of being at certain frequencies?
I’m going to have to sleep on this. I’m tempted to call this bodge a success…but there’s just to much that doesn’t make sense for me to fully put this module in the win column just yet.
And I still want to roll another board with the fixes to my layout this weekend.
I also started drawing up kassutronics version of the 3340 - man that’s a lot more resistors! I also decided that since I’m using 75mm wide panels for my oscilators with 70mm wide PCB’s…I should try and use board mount pots to mount the board. So on the kassu3340 I’m trying to design it that way…but…man it’s looking like it will be TIGHT. Pretty sure it won’t be possible with my .5mm traces and .4mm clearances.
We’ll see. I’m really not great at board layout so this is looking like quite a challenge to me. I may just try and redo my simple 3340 to use board mount pot’s before I etch a new PCB since it’s a much more forgiving layout.
I have a feeling I’ll have a tough time fitting the kassu circuit on to a 70x100mm board even without the board mounts pots. I see he uses smaller 1/8w resistors to pack it in. But I really want to give his circuit a try because I like sine output and I like the look of how he’s doing his outputs. HIS PWM circuit is also simpler…but he’s using 5v regulators to add +/- 5v on his design and just doing a simple voltage divider I have an easier time wrapping my head around. I also like the way he uses the switch in the socket to switch one PWM knob between PWM control and pwm CV level control.
We’ll see if I keep going on laying that out or not. I’ll probably put another hour or two into it and if it’s not looking like I can make it all fit I’ll reevaluate my choices.
Mount the resistors vertically… if they still fit between the PCB and panel this way…
Did you by chance change power supplies or power cables in your testing, causing the wonky pwm device to swap?
You know, that should have been obvious to me…one of the bodges on the VCO (not visible since it was on the component side) was to replace a jumper with a resistor and I had to mount it vertically for it to fit.
I think they’d fit vertically…but physical space isn’t looking like quite the issue I was afraid it would be so far:
The big question will be if there’s room for all the traces. Will dig in on that later today and see how things go. And this is just a rough first go at getting everything on the board. I’m sure I’ll find lots of things to shift and reposition once I start adding traces.
Nope, only have one power supply right now (have a second but haven’t finished soldering it up) and I only have one power cable for testing modules with. In fact I have 3 modules just sitting on top of my case right now because I’m out of room to plug them in. Need to get that second power supply going!
The 1222 never even came out of the case. I’m just totally stumped why I’m seeing this behavior sometimes now. I’m guessing it’s been possible all along and I just never noticed. But definitely seems odd.
It could be power supply related though…I do think I’m pushing the limits of my supply. Sometimes when I power it up just the LED on my LFO comes on solid and nothing else…then I have to unplug mains and plug back and then everything comes up normal. Not sure just what’s going on there but I suspect it could be a sign I’m pushing the limits on my supply. I did also have a shorted rail when I first breadboarded up the transistor matching circuit and the supply ran with one of the 12v rails shorted for a few minutes…so there’s a possibility I could have damaged one of the regulators.
Guess my first project today should be finishing that other supply…
The PWM control range is 0−Vcc/3, see e.g. here. The values in the datasheet are for 15 V supplies.