<div dir="ltr">Thank you all! That's a lot of information to chew through. Yay research! </div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 14, 2017 at 8:14 AM, <span dir="ltr"><<a href="mailto:paula@synth.net" target="_blank">paula@synth.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Elaine,<span class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Here's the problem: how do I get a pitch CV from a sequencer or other module converted to the 0-5 volt input necessary for the microcontroller ADC.<br>
</blockquote>
<br></span>
so, for this you need to understand what the resolution of the micro's ADC is, and also the error (in number of bits).<br>
for example, you could have a 14 bit ADC (awesome) but it could have 5 bits of error (booo), giving you a "reliable" 9 bit ADC.<br>
<br>
If you're doing Pitch CV from a modular this is typically 1v/oct. Let's assume you have a 10 octave range (same as MIDI), then you'll need 7 bits to get every semitone.<br>
But these need to be a REALLY accurate 7 bits. Typically I'd look to use a minimum of a 12 bit ADC with an error no greater than 1 bit to give an accurate CV.<br>
<br>
Now, to go back a step, 10 octaves at 1V/oct will mean a maximum input of 10V to your ADC, which runs the risk of frying your micro if it runs from 5V.<br>
You can use a simple resistor divider to drop 10V down to 5V (two equal value resistors), again for this it's worth getting high precision (0.1%) resistors.<br>
<br>
You'll also need a filter (can be a simple one) to help reduce aliasing.<br>
<br>
Here is a good paper on ADCs - <a href="http://cache.nxp.com/docs/en/application-note/AN5250.pdf" rel="noreferrer" target="_blank">http://cache.nxp.com/docs/en/a<wbr>pplication-note/AN5250.pdf</a><span class=""><br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
And what sort of DAC should be used to make proper CVs out of the digital signals?<br>
<br>
</blockquote>
<br></span>
For GorF-XL and the 002 I used the MCP4822, same as Tom suggested.<br>
It's a good little DAC at a good price, odds on your micro will also support SPI, so you can control it from that without needing to write your own 'bit banged' spi function.<br>
<br>
In general, I'd go for as a higher quality ADC and DAC as you can afford :)<br>
<br>
Good luck<br>
Paula<br>
</blockquote></div><br></div>