Friday, July 19, 2019

3.5mm Breakout Board--No More Sequencer Flipping!

Hello again! I don't work for these guys and here's a plug for what I think is a very good and affordable (not DIY) sequencer:

It's an Arturia Beatstep Pro. I have used all sorts of sequencers, from cheesy/crappy/cheap to homemade to buggy to the really high end ones, and I go back to the Beatstep, it's extremely affordable for what you get, surprisingly well made, and has best of all, has awesomely musical "swing"settings.  Does it do everything you can think of? Of course not. But for $250 or so USD new in the box, it's a damn amazing bit of kit.

So what is so DIY about this? (Hello?)  Nothing yet--Go ahead--build a better sequencer for $250--when you do let me know and I will most-definitely post it.

By George no sequencer has everything! Not a feature, a bug: all the Beatstep Pro's 3.5" jacks are all on the back. That makes plugging this sequencer into other modules, at least in my rack, a bit of a pain--lift it up, turn things over, plug in your patch cables, wiggle the cable to see if it's in all the way, etc.

DIY to the rescue!

To connect the front TS to back, solder jumpers in the box in the middle. The remaining pads are for whatever else I might think up for this PCB....

The PCBs used in my prototype are super simple--it's 10x Switchcraft 35RAP2CAV 3.5" PCB mounted jacks mounted end to end, 5 per side. Two PCBs make 10 front to back connections good to go, ready to plug into whatever 3.5 gizmo you have in your rack, for easy front panel access.

Note that I had to create the eagle device for 35RAP2CAV for this (how to do create new parts in Eagle is posted here), I couldn't find it on the net, and it worked. Anyone interested? I am happy to get you the Eagle part description. Comment below.

The 35RAP2CAV is a useful jack for all sorts of DIY, solidly built, not too expensive--I find myself using them more and more. The jack has a switch built in, which is wired up on my breakout board, but not used in this application.

For my Beatstep Breakout board: here is what I came up with so far:

The front panel, which now has p touch labels, will be, after a shakeout and some more noodling, replaced by a 2mm thick frac panel from Front Panel Express.

Cables used to connect from the back of this panel to the sequencer are 6' Euro color thin patch cables, I bought them from Modular Addict, here.

The only hitch, to get everything to fit I had to Dremel off about 1/4" from the front of the PCB.  Oh well.  Maybe next run I'll fix this, but it wasn't hard to just cut off a bit of the PCB. UPDATE: easy fix. Change the Eagle's DRC rules to match JLCPCB's requirements. Turns out Eagle default DRC is much more conservative about how close a trace can be to the edge of a PCB vs. what JLCPCB supports. I figure a lot of other PCB makers are the same. 

Beyond that, this is another "Simple as it can be" sort of project.

UPDATE 9-26-19 I created another version of the same board, with 3x jacks per side instead of 5x. Since I have 6 more cables to run for this project.  Why not?  

You can get Eagle files, PDFs etc. for the breakout board on my website, go here. If you modify it (use different jacks, more jacks, less jacks, whatever) please let me know in the comments below. I will probably cook up variations myself and post more down the road.

OK back to the studio! Now that this breakout panel is mounted to my frac case I can get clocks, CV's etc quickly, no more having to flip the sequencer around! Yeh!

Saturday, July 13, 2019

Electronotes Sample-Hold Modded with SMT

Continuing from last time--it's time to keep holding my nose and fab using SMT (surface mount technology).  It's not 1980 any longer!

This time I take a classic Electronotes preferred circuit "SH-2" (EN#61, posted online here) designed by legendary Cornell Professor Bernie Hutchins and add the SMT op amp boards discussed here to make the module a bit more compatible with my setup.

I initially laid out the PCB and built this S/H module in 2017. I believe the design to be 35+ years old--all analog; none of this 10 bit Arduino ADC rubbish!  I am impressed how flexible this S/H is, you can sample damn near anything and run very fast clocks into it and get good sonic results. Go Big Red!

A great Electronotes design! You can get the original schematic here or buy the book; I highly recommend Electronotes Preferred Circuits and the entire Electronotes package to any synth DIYer, you will get a lot of ideas from it.

For me, my somewhat simplified version of the Bernie S/H PCB worked first time, but there were a few problems interfacing it to my modular DIY rig: for external clock, as I initially laid it out: only clock signals going a few volts below ground would tell the circuit to sample. But: many of my clock generators go 0V to 5V or more, not 0V to -5V or whatever.

Lots of ways to change that; for me, it is easily corrected with this familiar op amp inverter: could of course use single stage but I have a buttload of dual op amp boards sitting around, leftover from other projects....

I also wanted to add a bipolar LED to indicate if I was using external or internal clock and (extra credit!) have it pulse for each sample held. Again, time to use the SMT op amp proof of concept board from last time:

For both boards I tweaked the 2 100K trims until the LED colors looked the way I wanted.  For internal: bright green, for external flashing red.  Yeh!

So there it is: the main PCB (Green); the two SMT op amp daughter boards are the red ones on the back.

Only the op amps are SMT, I am still a bit chicken to go all in with SMT! And even for the IC, I could have used PDIP I guess, but this mod would have been harder; the boards need to be small to fit the footprint of a 1U frac.

OK that's it, it was a fun morning modding this board and it made a really useful and reliable S/H even better. Not sure where the SMT thing is going to go right now but I'll think about it.

See ya next time!

Saturday, July 6, 2019

Getting Started with SMT

 As my eyesight gets worse, the parts I use for DIY get smaller.  I guess it had to happen?  Pushed into surface mount technology (SMT) and the parts you need to make it go (SMD, "surface mount devices), and perhaps an impending desire to DIY in the Eurorack format, it was time to tool up and solder my first SMT parts.

First off, I needed to be able to see what I was doing, so I bought a microscope used for SMT/SMD work and rework:

There are many scopes to choose so picking one was hard. After some research, I decided to go with AmScope and ultimately the scope recommended by this youtube dude--find it on Amazon here.

(Apparently the YouTube repair dude makes some sort of spiff?  Fine with me. He makes funny, acerbic videos, and has a great NY accent and the NY/NJ screw-you attitude. Someone has to make some money here....)

The microscope it turns out works great....there were no instructions about setting up the stand (I just followed the photos from Amazon but it was still a puzzle at times). I had to wing that. Also, you will need the microscope light (the scope does not come with one; you will need it), a Barlow Lens, and eyepiece eye shields.  And of course: appropriate solder, a good iron, tweezers, flux and most all the rest of the stuff you'd use with through hole. Go to the web page here for links to a lot of what you'll  need.

OK from Tayda I bought the tiny parts, and from JLCPCB I got some Eagle boards fab'd for proof of concept.

Some tiny TL072s.....

Here's the Proof of concept board:

Use 100K resistors for R1-R4 for higher impedance at input.....

So how did it go? Turns out building this board, with the microscope, was easy.  I knew zlich about soldering SMT so I followed the tutorial here. I made a few solder mistakes but as per the tutorial it's easily cleaned out and fixed up with solder wick. 

Let's motorize this pursuit? I whipped up 4 boards:

And then built one out enough to test that a bipolar LED works.  It does!  

Input -5V relative to ground: blue

And 5V relative to ground--red.  Works!

UPDATE 7-13-19: to further shake out this SMT op amp board I modded my trusty Electronotes sample and hold, more in this post.

OK onward!

As with many things in life, this was all much easier than I thought; plunking down the dough for the Microscope helped a lot, although it was a pretty big investment.  But, this would have been hard to do without it.  I am serious: don't breathe the fumes.  See you next time

ProMicro HID Keyboard Emulator

Quick one this time. The Arduino ProMicro (examples here and here ) is based on an Atmel 16u4 MCU and has HID keyboard emulation ready to go...