Thursday, April 21, 2022

Have I shown you the UI yet?

I can't remember if I've actually posted what the XM8 UI looks like? 

I am doing a working midicontroller webapp that is at the same time a millimeter perfect SVG, this makes it possible for me to test the voice cards without having a physical controller, and at the same time decide on what the UI should look like.

Here is the first version:

I initially thought I would have an external screen/pad but decided that would be annoying, so the second version has a built-in 9 inch screen:




I can even develop the code for the screen and run it on my controller, as everything is typescript/react.js based:



Here are some shots from when I presented the synth at a conference. I made a fullsize mockup of the UI (bottom left), complete with a five octave fatar keybed:





The voice circuits. Everything gets better with a bit of bubbles, right?

Not a very good picture, but it does give an impression of the size of this thing:



Tuesday, April 19, 2022

Finally a china version of the Alpha endless pots!

Hah! Finally! I just discovered these:

https://www.globalsources.com/Rotary-potentiometer/Rotary-potentiometers-1148135774p.htm

https://www.globalsources.com/Rotary-potentiometer/Rotary-potentiometers-1148135774p.htm


It's a clone of the Alpha RV112FF-series endless pots, this one is by HongYu and named H111KGP+T4 360°Endless:

http://www.hongh.com/product/291.html


NB: HongYu also sells a non-360°Endless version named H111KGP+T4, so be sure to order the correct one!


Here is the original RV112FF datasheet:




Compared to the one for the H111KGP+T4:


I'd say it's a drop-in replacement.

The specs are almost the same too, it's like they just copied the datasheet ;-)


RV112FF


H111KGP+T4 360°Endless

The MOQ at globalsources is 1000, but for a price of around $0.5-0.8 I get 1000 for the price of around 200 of the Alpha one. Now, I've already ordered the original, but perhaps I should consider this as a backup.

Parts bought

Here is a list of stuff that I've bought in large enough quantities:

ICs:

AS3364 - Quad lin VCA - 115

AS3320 - Filter - 45

AS3340 - VCO - 25

V2164 - quad exp VCA - 16

AS2164 - quad exp VCA - 20

DG412 - quad SPST - 100

DG413 - quad SPST/dual SPDT - 304

DG408 - 8:1 mux - 45

MAX7221 - LED driver - 32

DAC8565 - on breakout board, 20x.


Modules:

CEM3340 VCO - 20

DCO v1.4 - 40

Bitcrusher - 20

Quad exp VCA - 20

Quad exp Mixer - 20

Memory - 76

Reconstruction filter - 60

 

Button/caps:

Pushbutton, no click - SPH2N1 - 200

Pushbutton, click - SPH2S1 - 200

Caps, transparent black 8mm (round) - YCA080C - 100

Caps, ice dome shape 7.4mm - YCA044A - 100

Caps, snow dome shape 7.4mm - YCA044B - 100

Caps, ice flat 7.4mm - YCA043A - 100

Caps, transparent black flat 7.4mm - YCA043C - 100

Caps, transparent black 6mm - YCA045C - 100

Caps, transparent black 5mm (round) - YCA052C - 100

Caps, black 8.1mm - YCA0865 - 100

Caps, black 10mm (round) - YCA1115 - 100


Other parts:

Knobs 15 x 17, black, d-shaft - 500

Knobs 10.5 x 16, black, square hole - 100

Knobs 10.5 x 16, silver, square hole - 20

Knobs 24 x 15, silver, d-shaft - 15

Knob, 17 x 14, black, knurled shaft - 100

Alpha RV112FF-40-25A-0B20K, Endless pot, plastic shaft - 100

Alpha RV112FF-40B1-15F-0B20K, Endless pot, metal shaft - 150

Light pipe, 3 x 15.9, dome shaped - 100

Light pipe, 3 x 6, flat / rear insert - 100

Sunday, April 17, 2022

Waveshapers redone

I redid both waveshapers today. It felt bad pulling apart the breadboarded circuits but in order to verify all fixes and test with full switching I had to do it. I don't have any DG413 switches yet so I can't test it, but I think it will work.


Saturday, April 16, 2022

VCO - work in progress

Next up on my protoboard - the full VCO circuit with FM and all. Happy easter!



Thursday, April 14, 2022

Voice card circuits

Now this is an interesting one. I have mostly completed the voice card layout - it is untested and will surely have a lot of adjustments before I route it and send it to production, but this is what I will base my breadboard testing on going forward. 

PS: There are a lot of comments here and nothing is guaranteed to work! 

Some quick facts:

  • 60 CVs
  • 50 digital control signals
  • 9 trim CVs or alternatively additional trim pots
  • 16-22 SPDT switches
  • 21-31 SPST switches

I have yet to see if I can have both OTA and ladder filters. We'll see.

Anyway, here is the complete voice card - but without the controller and CV generation. When doing the real PCB I suspect the controller/CVs and DCOs will be placed on a separate board just as with the prototype controller, it works very well and keeps most fast moving digital signals away from the analog circuitry.














Tuesday, April 12, 2022

DG/Vishay-switcher

I always wonder what switch does what, so here it is:

Vishay also have switches with the DG3xx prefix (and others)


8p:

DG417: SPST normally closed

DG418: SPST normally open

Dg419: SPDT 


16p:

DG401: 2 x SPST in DIL16

DG403: 2 x SPDT

Dg405: 2 x linked SPST

Dg408: 1:8 mux

DG409: 2 x Linked 1:4 mux

DG411: 4 switches, normally closed

DG412: 4 switches, normally open

DG413: 4 switches, 2 pos and 2 neg logic, May be used as SPDT/DPDT


NB: Max +/-8V men kan funke med single supply opp til 16v:

Dg4051: 1:8 mux

Dg4052: 2 x linked 1:4 mux

Dg4053: 3 x spdt 


28p wide

Dg406: 1:16 mux

Dg407: 2 x Linked 1:8 mux


Dg445 - quad spst - what’s The catch?


Per the 12th of April 2022 I have:

2 x DG403 (dual SPDT)

2 x DG408 (1:8)

1 x DG409 (2 x 1:4)

5 x DG412 (4 x SPST)

1 x DG418 (SPST normally open)

8 x DG419 (SPDT)


Update

I ordered 306 Harris DG413 from Digikey as they were the cheapest I could find (around NOK 8.5). I also ordered 45 DG408 from Farnell, not as cheap, and will order 100 Intersil DG412 from Rs components (around NOK 8.5 too).


Sunday, April 10, 2022

Analog switches and V logic

A quick note on the DG series analog switches:

I've successfully run at least one of these with a V_l (logic level voltage) of 15V while controlling the chip from a 5V MCU.

As I considered doing this for all switches (but with 3.3v logic level), I did a quick search that turned up these three posts:

"How do I connect the DG403 logic supply (VL) pin?"

"switches - VL input on analog switch"

"Analog Switch switching voltage (DG412)"

They don't give the exact same answer though. The Renesas one says to use a 5V supply (even for 3.3v logic), derived from the 15V using a resistor voltage divider with high value resistors.

Now, they may not be talking about the same chip as the DG series are produced by a variety of suppliers, but at least it sort of validates just using a voltage divider.

The stack exchange post starts talking about excessive current draw. 

The modwiggler post suggests using zener diodes or a resistor divider connected to an emitter follower. 

For now, I'll stick with V_l = 5V but I'll test doing it with a resistor divider.

Tuesday, April 5, 2022

Some good looking buttons

I stumbled upon a series of lit switches on Aliexpress. They look fairly similar to the ones I ordered from Shanpu.

The producer is Honyone, and they have a wide range of switches: http://www.honyone.com/en/products/class_7_1.html

The TS5 and TS6 series look very close to what I already have




Here are a few resellers:


https://www.aliexpress.com/item/4001350856334.html



https://www.aliexpress.com/item/33035513753.html




https://www.aliexpress.com/item/4000224636043.html


I found some other switches as well, though they are probably not from Honyone:

https://www.aliexpress.com/item/1005003600101230.html






https://www.aliexpress.com/item/32843003511.html






Another post about knobs

I decided to have a go at sourcing knobs again. This time I've tried to find factories or wholesellers, but it is damn hard. The problem it seems, is that I'm looking for the rarest element known to man - black knobs without a pointer and with D-shaft instead of knurled shaft.

I've been able to get in touch with a couple of vendors and one factory in the UK so far. 

Here is an overview:

Cliff Electronic Components Ltd

They produce and sell a large range of knobs, many of which are white labeled and sold by RS Components (RS Pro brand), Conrad and similar. 

Unfortunately, noone stocks pointerless knobs, much less D-shaft versions.

Example of what IS available

https://www.conrad.de/de/p/cliff-fc7233-drehknopf-schwarz-x-h-30-mm-x-16-mm-1-st-704510.html

From Conrad

From RS
But one thing can be learned from this - There is a series named KMR from Cliff that looks good - slightly rounded compared to what I'm looking for, but that's fine if I could get all knobs from them.

https://www.cliffuk.co.uk/products/knobs/rotary.htm#kmr12

After contacting sales at Cliff I got this:


It looks like I need the US version of D-shaft for my encoders. 

There are two problems - I can't find a small (10mm in diameter) version of the pots, and the MOQ per type is 2000. The 15mm one would cost me GBP 0.526 / each, the 25mm GBP 1.332 / each and the 30mm GBP 0.963.

I could actually see myself buying the 15mm one, if it wasn't for the fact that it differs from my other pots.

PMDWay


PMDWay sells a 40mm knob that looks like the ones I want: https://pmdway.com/products/40x19mm-aluminium-knob




Again, it has a knurled shaft and is also too big. Cindy from PMDWay helped me search for alternatives but were unable to find anything. She suggested commissioning my own from a manufacturer, starting at https://www.globalsources.com/electronic-components

I DID find a knob on globalsources earlier, but the vendor is no longer on there:

https://www.globalsources.com/si/AS/Ningbo-Best/6008852396046/pdtl/aluminum-encoder-knob/1168713794.htm



Action Hardware

https://actionhardware.co.uk keeps popping up in my image searches, particularly two knobs:


Unfortunately,  both are unavailable. They are however willing to help me do custom orders. The MOQ is 1000 and approximate prices between GBP 0.65 and GBP 1.50 /pce.

Ian at Action hardware says they stock parts similar to what I'm looking for and suggests KM-2100 and KM-2600:



CHK is CHK Electronics Ltd, https://www.chk-electronics.com/home.php, but the knobs are sooo similar to the Cliff ones that I amost think they are the same or related. On the CHK site I found these:



This knob looks perfect, so does this, but there are no drawings to tell me the sizes. (KM-2100 is 14mm according to Ian, but KM-2500 remains a mystery)


Aliexpress

All the knobs I've found so far has been from Ali. Here is a list of what I've bought that looks good:

JU-HIVOR

https://www.aliexpress.com/item/32843175222.html


These are perfect - but unfortunately knurled shaft as always. I've bought 100 of these and they are my fallback solution if I can't find anything. 17mm in dia and 14 mm high. JU-HIVOR could not help me find anything.

DIKAVS

I was able to buy a nice knob here, but it is too low and now it's unavailable too.


These are the best large knobs I've found - I snagged four 32mm and one 30mm ones, the last one they had. Knurled shaft of course, and nothing has appeared since. DIKAVS never got back to me when I asked for help either.



Luyu Store

https://www.aliexpress.com/item/4001093464710.html

Luyu has some reeeally good looking knobs, 10.2 x 16mm. Unfortunately, they are for switches and have 3.2mm square holes. It is possible to drill an 8mm hole and 3D print a D-shaft insert which is my fallback solution for smaller pots. Luyu did not get back to me when I tried contacting them.


Best Partner Mall

https://www.aliexpress.com/item/32952829517.html




These look great, but are too big for me and has that damn knurled shaft of course. 

Best partner mall have a lot of great knobs and I've bought a few alternatives from them too:

https://www.aliexpress.com/item/4000900076410.html

These are super nice! A bit costly but solid aluminum. If they had the same knobs in other sizes these would be my choice, even if they are quite expensive.

https://www.aliexpress.com/item/32921539254.html


Massive aluminum knobs with D-shaft. I consider using these for the main rotary encoder but it depends on what I find for the other knobs. Update: I actually bought mine from Warm Textile Home, see below


These are round shaft but that's ok for single pots. I liked that they did not look as much guitar knob.

Warm Textile Home

https://www.aliexpress.com/item/32802055908.html


This is the same knob as from Best Partner Mail and the one I actually bought.

CW Switches Electric Store


This one is a bit of a mystery to me. I think it is the same knob as Best Partner Mail but I can't see that I've ordered from them.

Anyway, They have been super helpfull in finding alternatives. They say they can get me the one in the lower right corner with D-shaft. The MOQ is 500 and price $0.89 which is ok.


The same for 30 x 17, MOQ 500 and $1.68:



Then they suggested 15 x 17 D-axis:



This is a perfect one. I will ask for price and MOQ, and if it is within reach I will most likely buy it. 

I have also inquired about 10 x 16, 17 x 17 and 25 x 17, but that's where the dialogue stopped.

Shenzen Hengda Electronics

While not black, this is an honorable mention: A 24mm alu knob that may be a good alternative for the waveshaper/filter knobs. I have 10 of them.

https://www.aliexpress.com/item/1005003184444519.html

https://www.aliexpress.com/item/4001039507025.html

I reached out to Shenzen and they asked me for pics and details about what I need, but so far they haven't gotten back to me again.

Changshenghong

https://www.aliexpress.com/item/32873353173.html


Changshenghong has two sizes of pots that will go nicely with the ones above, though the 34mm one is a bit tall. Also, they are hideously expensive so I haven't bought any. I have not yet contacted Changshenghong ab out other variations.


HIFIw / HIFIvv / Hifi amplifier spare parts center

While not the same as the other knobs, they have some good looking knobs that MAY go well with my other guitar-ish knob:

https://www.aliexpress.com/item/32620216429.html


I've ordered a couple of these, possibly for the waveshape/filter knobs

SENGTERBELLE HIFI Audio World

https://www.aliexpress.com/item/32819963066.html

These look like smaller versions of the one above. They may be too small for me but I wanted to check them out anyway.





Other producers

Mentor

https://www.mentor.de.com/bauelemente/en/portfolio-2/portfolio-knobs/



Mentor have a few series of good looking knobs. Some are available at Elfa and other vendors, even without pointer: 

https://www.elfadistrelec.no/en/rotary-knob-without-line-aluminium-o30mm-mentor-513-61/p/11077374

https://www.elfadistrelec.no/en/rotary-knob-aluminium-o24mm-without-indication-line-mentor-508-61/p/11077363?trackQuery=&pos=25&origPos=25&origPageSize=50


They seem to be set-screw/round shaft versions.

DuPPa

Not sure how I stumbled upon this, but I found and ordered some cool variations of the guitar knob, this one fits an encoder with transparent shaft and RGB led:




https://www.duppa.net/shop/aluminum-black-knob-with-ring/

I hoped these would look better in real life but they are, especially the gray ones, a bit scruffy. Not TOO bad though. Since the center cap is black I think I would go with the all black ones, so lets see how it compares to the other black guitar-knob-ish ones I have coming.

I did however try the gray one on a black background, and the result is pretty good, better than expected. The pics do not do it justice though



DIY

I posted a question about knobs on the Synth DIY list on facebook, and a friendly soul pointed out that I could have them CNC milled. He payed around 3 euros for the small ones, 4.5 for the middle and 5.5 for the big (in Sweden):



Final notes

Here's a quick comparison of some of the knobs
They all go fairly well with the black knobs. As long as there is some distance between the matte black ones and the guitar-ish ones they go together very well. I still lean towards the grey sandblasted one for waveshape etc as it is exactly the same as the black ones. We'll see.

I did another test on the 17x14mm black caps to see if I could get a tighter fit on a 6mm D-shaft (I have tried drilling a 6mm hole earlier and it slides on but there is no friction. This time I drilled one with a 5.7mm and one with 5.9mm drill bits. The 5.7mm does not work. The 5.9mm can be pressed on but it's too tight and I broke the cap when trying to pull it off. I think my conclusion has to be that it's not viable, which means that I either have to drill a larger hole (8mm) and add an insert, or just have a D-shaped insert, but in that case the small D-shape must create all the friction and I don't think it will work very well. All in all, If I can use the 15x17mm instead, I think that's the better option.



PS: Here is my post about custom D-shaft insert for the 10mm pot: https://atosynth.blogspot.com/2021/03/from-33mm-square-to-d-shaft.html

PPS: There are various inserts available but hard to find something usefull. Search for knob spring, d-shaft inserts, barrel spring, d-shaft knob adapter





https://forums.qrz.com/index.php?threads/retainer-d-shaped-and-flat-springs-for-radio-knobs.643669/
https://www.allelectronics.com/item/spr-14/metal-insert-for-1/4-half-moon-shaft/1.html

Another idea: Buy something like these and cut of the top: https://sharvielectronics.com/product/potentiometer-knob-3mm-d-shaft/



UPDATE:

I tried spraying the 3D-printed insert with rubber spray and it works great! The knob sits firm but is still possible to remove. I will leave it on for some days and then try removing it again.




The grip was actually so good that it pulled the insert out of the cap (it had not been glued). This also showed that the rubber spray leaked through the 3D print. After letting it dry i put the cap back on and now it sits firmly again. 

I also tried spraying the outside of another cap. It adds a good grip but also removes the nice aluminum finish, and as far as I know it's not particularly durable, so I don't think I'll do it. It's nice to fall back to though, should the pots be too slippery. I did a black spray and was not very light handed so the finish was not the best, but I am sure it can be improved. I could also try transparent spray but that was sold out.