Showing posts with label to. Show all posts
Showing posts with label to. Show all posts

Sunday, 5 April 2020

Synthesizer Extra's No. 2: JOYO Instrument Tuner Hack.

This article explains how to connect a JOYO Instrument tuner to the VCO('s) of your modular synthesizer.

Inspired by LookMumNoComputer's Preformance VCO with built in tuner I bought three of these small Joyo tuners on eBay to see if I could adapt them to work with the synthesizer. I managed to do it and it's not difficult to do at all. Many people seem to do this too going by the Facebook reactions I got on this hack. :-)
The JOYO instrument tuner is a very useful bit of kit that you can buy on eBay or AliExpress etc. for around 5 US Dollars including shipping. It's pretty easy to hack these things so you can connect a jack socket to them and so connect it to the VCO's in your synthesizer. It makes tuning VCO's or Sequencers very fast and very accurate.


Now, before we begin I want to mention that the method below is just the way I did it. I've had lots of reactions to this hack and people do it in all sorts of ways, for instance connecting a jack straight to the piëzo wires without a resistor divider and not having the piëzo mic connected. Using a capacitor instead of resistors and it all seems to work so this is just my way of doing it but it's certainly not the only way, or the best way, to do it! Just so this is clear.

Here's what we do. You'll need to carefully open the tuner case by unscrewing 4 little screws at the back and then take out the two screws that hold the little circuitboard in place and now you can lift out the circuitboard. Leave the actual LCD display safely inside the case and make sure not to get fingerprints all over it. On the back side of the circuitboard, you'll find a very thin Piëzo-electric disk-microphone. Carefully push the white display lighting out of harms way and carefully solder a thin wire to the earth connection, which is the solder blob on the outer part of the Piëzo electric microphone. Solder an other wire to the center of the Piëzo disk microphone. Do not disconnect the red wire from the center of the microphone otherwise this won't work. 
Now make some small notches in the side of the plastic tuner case so you can lead the wires outside. Put the little circuitboard back inside the case first, to make sure where the notches need to go, then mark the right spot and take the circuitboard back out and make the notches in the case. Assemble the tuner and put everything back where it was. Now you can solder on the resistors following the diagram beneath. Solder them straight onto the input socket. Now solder the wires to the input jack socket (3,5mm) and the resistor and then hot-glue the input socket, with the resistors and wires attached, to the side of the tuner case. Make sure when glueing that you don't go past the bottom of the tuner case so the underside stays straight and flat. I myself then hot-glued the tuners to my synthesizer case by putting hot glue on the battery cover, which covers about 3 quarters of the backside, so the tuners are held in place by the battery cover. I later carefully drilled a 2mm hole through the covers into the wooden panel of my synthesizer and put a small screw in each one, that sits flush with the battery cover inside surface. That way it won't fall off at some point.

Powering the tuners:
I soldered two wires to the battery connectors. The spring connector in the middle of the battery compartment is the negative pole and the metal contact at the side is the positive pole. I have a 5V power rails in the powersupply of my DIY synthesizer and I connected the wires from the tuner(s) to that. I put three 1N914 diodes in series into the positive voltage rail to get the voltage down to just over 3V which is what the tuners need.
It's much better to give them their own internal power source because if you run them on the batteries the screen will flicker and vary in brightness. This way is all nice and stable.

SCHEMATIC DRAWING:
Here is the way I wired up the audio inputs. I believe the input of the Joyo tuner is capacitive so a resistor voltage divider like this will work fine and there will be no need to use a capacitor. This resistor voltage divider brings signals with an amplitude of 10Vpp down to 2Vpp.



This is the little circuitboard lifted out of the case. The white panel on the left is the LCD back-light. The gray and pink wires are the ones I soldered on myself:



Here's one of the finished hacked tuners without the battery cover because that is glued to my synthesizer. I blackened the glue with a permanent marker. As you can see I cut off the mounting eye for the clamp and made sure it was all sandpapered nice and flat. The fact that this particular model of tuner has a straight back and sides is why I chose this one. There are models out there with curved sides which make mounting more difficult. Bear that in mind when you buy one of these tuners.


Here are two of the three tuners mounted on my synth above two VCO's:



And finally a little video showing the tuners in action. As you can hear at the end, I was really pleased with the result. It looks very cool too on the synth I think.:



Oh and one final thing. You can use the left over clamps, from the backs of the tuners, to make a so called "Third Hand" to help with soldering :)


Leave the little screws in there and take some thick electrical copper wire (about 50 Centimeters long) and bend an eye at each end and mount the clamps to them with the little screws going through the eyes. Then hot-glue them in place and glue and/or tape that to a heavy enough metal base and with the copper wire you can bend them any which way you need them. And there you have it. Super useful! ^___^

EDIT: 6th of May 2022: Today I did two more of these hacks to have some tuners for my Eurorack system and they work fine :)
These were of a different make but they turned out to be even easier to hack. Here's a picture. I did use a lot of hot-glue to secure the sockets in place but it all works fine. In these I used a 120K resistor and a 6K8 resistor. which reduces a 10V input signal to a 0.54V output signal going into the tuner, making sure it's not damaged by the high synthesizer voltages.


In this case I left the clamps on the tuners because I can then clamp them to the powersupply wire of my Behringer Go Eurorack case. I drilled some holes in that case and connected the powerbrick straight to it so it won't dangle off the case which is very annoying.

Finally I want to show how one of our Facebook members (Martin Nyborg Sørensen) turned this idea into a very cool Eurorack Tuner module. He buffered the in and output so he can route signals through the tuner without any problems. I think you'll agree he did a very professional job.


The other side:



Okay, that's it for this one. If you have any questions please put them in the comments below or post them in the FaceBook Group for this website.
Please feel free to share this or any other article on social media. There are buttons for that underneath every article.

Friday, 15 November 2019

Synthesizer Build part-3: TRIANGLE TO SINEWAVE CONVERTER

This article has been re-written at 11-11-2020.

After I had finished the VCO I wanted to add a Sinewave option to it. The first design I had posted here was a bit sketchy so I now present a new layout here. This layout has been made using the schematic of the Thomas Henry CEM3340 Deluxe VCO, which has a sinewave output. Btw, you can find that schematic in the 'files' section of the 'Synth DIY for non engineers Facebook Group'.
This circuit needs the Triangle input wave to be +/-5 Volt peak-to-peak. You can input a Trianglewave of 0V to +10Vpp but then the input must first go through the 1µF electrolytic capacitor to take away the offset voltage. The Triangle to Sinewave converter will not work properly if you input a 0/+10Vpp Trianglewave without first filtering out the DC offset voltage.
I altered the feedback resistor (Rf on layout) from 10K to 15K to get the amplitude correct with the waveform standard of my synthesizer project which is 0 to +10Vpp. This had the effect that the +/-5V output got a negative offset voltage. What I should have done is change the other 10K that goes from the + input to ground into a 15K also, so everything is in balance again but I put a 1µF capacitor in series with the output of the +/-5Vpp sinewave. The negative pole of the electrolytic capacitor is facing the direction the signal is coming from because I had a negative offset voltage to deal with. Make sure you match the 10K resistors so they all have the same value and if you change the feedback resistor to a 15K make sure you change the other 10K to ground also. Match the transistors too. (Matching them on hfe is good enough). If after all that you still have an offset voltage on the output (unlikely) then you can put a 1µF cap in series with the +/-5V output.
The output amplitude on a dual 12V powersupply is +/-4.2Vpp or 0 to 9.4Vpp. For a dual 15V power supply it is +/-5Vpp or 0 to 10Vpp.

Here is the new stripboard layout. This converter offers a +/-5Vpp output and a 0/+10Vpp output. 



Here is the schematic drawing. I did not include any de-coupling capacitors but if you want to include them then just add two 100nF ceramic capacitors to the voltage rails as close to the chip as possible. One going from +15V to ground and the other from ground to -15V.



Here are two pictures from the oscilloscope. One without offset from the +/-5Vpp output and one with offset from the 0/+10Vpp output. If you look closely at the pictures you see that the scope is set to 2V per division and therefore that the amplitude of the sinewave is 8V. But now that I changed the feedback resistor Rf, that has changed to 10V (even a tiny bit over):



As you can see they are beautiful sinewaves and you can set the symmetry and distortion very accurately with the trimpots on the stripboard. 
It will be easy enough to mount this little stripboard on one of the M3 bolts used to mount the print of the 'Really Good VCO' and thus add a Sinewave output to that VCO. You can tap the Trianglewave straight from pin 10 of the AS3340 (or CEM3340) chip or from pin 12 of the TL074 quad opamp chip. I think that will be even easier. On those pins the Trianglewave is not yet given a +5V offset voltage so it is still +/-5Vpp and therefore doesn't need to go through the 1µF electrolytic capacitor on the layout of the Triangle- to Sinewave converter. 

Okay that's the new version of this article done. If you have any questions please put them in the comments below or on the EddyBergman Facebook Group page.

Btw, all the comments below upto August 2020 refer to the original Tri- to Sinewave converter article and not to this one. So please disregard those comments.