Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Generating signal from DAC in range of - to +

Status
Not open for further replies.

Max++

Junior Member level 3
Junior Member level 3
Joined
May 24, 2006
Messages
29
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Thailand
Visit site
Activity points
1,495
ุ่I use "STM32 Value line" for generating sinusoids signal by internal DAC. By default the signal from output DAC, it vary from 0(GND) to 3V.
If I want the signal vary in range of -1.5V to 1.5V instead. How can I do?
 

Hello!

Use an opamp, a resistor divider and make a virtual ground at 1.5V.
Seen from this virtual ground, you will se the 0 as -1.5V and the 3V as +1.5V.

Dora.
 

A simple voltage divider using two resistors will do the trick.
 

Attachments

  • VoltDiv.png
    VoltDiv.png
    3.9 KB · Views: 97

Hey Sunny, I agree with you if you're taking into account the impedance. But he's only trying to get a -1.5 to +1.5 sinusoidal output instead of the 0 to 3V output that the DAC of STM32 MCU is generating. The MCU would generate a low impedance output anyway, so the voltage divider wouldn't change anything. That's only a matter of changing the GND point.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top