Home
Prox / RFID
Verichips
Ladder Logic
[interfacing] †
Tube Joints
Key Code From Photo
SolveSpace (3d CAD)
SketchFlat (2d CAD)
Photographs
Miscellany
Resume / Consulting
Contact Me

LDmicro Forum - It is possible to do a 0-10V analog output

(you are viewing a thread; or go back to list of threads)

It is possible to do a 0-10V analog output (by Ilie Constantin)
It is possible to do a 0-10V analog output ?
Thank you.
Wed Sep 9 2009, 07:59:20
(no subject) (by Jonathan Westhues)
The PIC or AVR itself runs from a maximum of ~5 V, so this is not directly possible.

One way to do it might be to use the PWM output, and put it in to an RC low-pass filter. This is usually the best way to improvise a low-speed DAC with the hardware available on a typical micro.

If the micro is running at 5 V, then this produces a DC voltage between 0 and 5 V, according to the PWM duty cycle. If the PWM frequency is 10 kHz, then you might choose R = 33k, C = 10 uF; that would give RC = 330 ms. Faster time constants give faster response time, but more ripple.

Then you can use a higher-voltage opamp to amplify the signal with gain +2 V/V. That will also buffer the signal, so that it doesn't get loaded down by whatever you're driving. Something like an LM324, configured as a non-inverting amplifier and running from +12 V (since it can swing up to V+ - 1.5 V) might do the job, depending on the impedance of your load.
Wed Sep 9 2009, 08:10:54
(no subject) (by Ilie)
Thank You very mach , but I need , example output 0-5V liniar modified , not variable freqvency I know that.
Thu Sep 10 2009, 13:11:15
(no subject) (by Ilie)
Please show my an schematic example.
Thank you
Thu Sep 10 2009, 13:12:41
(no subject) (by Ilie)
I understand.
See atash fille.
Tue Sep 15 2009, 14:36:32, download attachment Analogic output.bmp
More the one analog outputs is possible? (by Carlos Torrez)
Es posible adicionar mas de una salida analogica?, puedes poner un ejemplo con 3 salidas analogicas?
Wed Jul 21 2010, 20:30:42
Post a reply to this comment:
Your Name:
Your Email:
Subject:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):