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.

Simulataneous Stepwise ramping reference voltages from a PIC micro (DAC outputs)

Status
Not open for further replies.
T

treez

Guest
Hello,
We need two stepwise ramping reference voltages from a PIC micro (as in the attached waveform).
Is this possible?
Originally I was going to do it with analog circuitry so I posted this…………..
https://www.edaboard.com/showthread...o-zero-volts-over-200us&p=1671191#post1671191

..but now we need to do it from a micro….so…….

We need two stepwise ramping (reference) voltages as in the attached. (the ramping is over 200us). One ramp goes up whilst the other simultaneously goes down. The ramps may go up to or down from a level which may not always be the same for every “ramp episode”.
Do you know if its possible to do this from the two DAC outputs of say a PIC16F18856?..or any other PIC micro?
LTspice sim and waveform schem attached.

PIC16F18856 datasheet
https://ww1.microchip.com/downloads/en/DeviceDoc/40001824B.pdf
 

Attachments

  • micro DAC outputs.jpg
    micro DAC outputs.jpg
    52.9 KB · Views: 73
  • slope.txt
    1.3 KB · Views: 47

if you can't do it with a micro and their DAC outputs,
a pair of DAC08s will do, as you can adjust the reference

note these are current DACs so you'll need an op amp and
a resistor to get voltage.

https://www.analog.com/media/en/technical-documentation/data-sheets/DAC08.pdf

as near as I can tell, the PIC you provided the link to
has only 1 DAC
you'll need 2 DAC to meet the specification you wrote
(need two different scales)
 
Last edited:
  • Like
Reactions: treez

    T

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top