Group Abstract Group Abstract

Message Boards Message Boards

0
|
13.9K Views
|
2 Replies
|
3 Total Likes
View groups...
Share
Share this post:

ModelPlug: Arduino Due DAC Support

Posted 8 years ago

I've been attempting to use SystemModeler to stimulate analog outputs on an Arduino DUE DAC pins (DAC0 & DAC1). Thus far, no joy. At this point, I'm not sure whether my problem is with ModelPlug or the StandardFirmata loaded on the board. Does the ModelPlug provide support for true analog output? Is there a good way to provide true analog output (i.e., not PWM) using these tools?

BTW: I was able to set up the system using an Arduino UNO using PWM. Unfortunately, when reading the PWM signals and converting them back to the analog equivalent, these were not continuous (ie, exhibited discontinuities from time to time).

POSTED BY: rcoggeshall
2 Replies

I am not sure what you are attempting to do. But there is no such thing as a Analog Output .. The analog pins are for read only.

What you mean by Analog output is a simulation using PWM digital pins (virtual analog voltage) . Therefore , if you are seakign to create any special voltage other that 5 volts , then you will need to produce using a voltage regulator circuit with Arduino engaging logic to control the voltage regulator.

Anyhow, you may also reach from the PWM pulse to a steady analog DC voltage using appropriate capacitor rail with protection diode which will deliver a normalized voltage output.

Hope this will help.

POSTED BY: Jose Calderon
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard