Go Down

Topic: Analog CV output? (Read 988 times) previous topic - next topic

Rupertt

Hello,

can I use the Arduino to output control voltage that is used in modular synthesizers?
I created a analog style Midi sequencer and would like to add CV output, i still have some PWM Ports free on my Arduinio Mega.


thnx a lot

sciguy

Sure you can, there are many ways to do this.

The simplest way would be to use a lowpass filter on one of your PWM outputs.  You could also do other types of DACs, like an R2R resistor ladder.  You could also use a digital pot chip, and use each pot as a voltage divider.

I'd suggest the PWM option, because of its simplicity, but you could try different things.
Soundcloud page: http://soundcloud.com/beefinator-2
Youtube channel: http://www.youtube.com/user/beefinator14
Old soundcloud page (ran out o

Rupertt

mmh, i dont really got your answer, i would like to send a CV, which is usually a current from 0-8V if i remeber correct to be sent instead
of this midi playnote: 

noteOn(channel2[stepnr], note[stepnr], 0x7F);  //play note+

how would i line for CV out look?


Im not really into the whole IC/electrical stuff, do
you mean that when I connect a lowpasss filter i can adjust the voltage?

Grumpy_Mike

#3
Nov 13, 2011, 09:59 am Last Edit: Nov 13, 2011, 11:02 am by Grumpy_Mike Reason: 1
Quote
Im not really into the whole IC/electrical stuff, do
you mean that when I connect a lowpasss filter i can adjust the voltage?


Then you can't do it. It is not just software you need but so e hardware as well.
If you connect a low pass filter to a PWM pin you will get a DC voltage depending on the analogue output you write. But you need some amplifiers after the filter to get the voltage right.

See:-
http://www.thebox.myzen.co.uk/Tutorial/PWM.html

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy