Questions tagged [dac]

A DAC is a Digital to Analog Converter.

Filter by
Sorted by
Tagged with
2
votes
2answers
971 views

Why is my basic DAC incorrect?

I tried to make a basic R2R digital to analog converter in a simulator. Even with all bits set, I get an output of 4.98V rather than the 5V I would expect. I expected 5V since so many online resources ...
0
votes
0answers
66 views

Communications problem between esp32 and AD5763

I am trying to make huzzah32 (ESP32) communicate with AD5763 but I am having some problems with writing and reading in registers. I am sure that the bit sequences I send are actually the ones I wanted ...
0
votes
1answer
89 views

Write ADC data to memory and back to DAC (without MCU)

Is there a way that is not too complex way to implement ADC -> SRAM -> DAC data transmission without the usage of the microcontroller? The application is to implement the audio loop of some sort,...
0
votes
0answers
45 views

Would I use a circular buffer for each frame? [closed]

I am creating a laser projector and am trying to grasp a certain concept. There are 2 main parts in the system, the image rendering and the RGB laser pulse intensity (to get the correct color for the ...
1
vote
1answer
60 views

How does the Yamaha DX7 digital analog converter work?

The Yamaha DX7 keyboard seems to have a quite sophisticated DAC and I wonder how it works. It is mostly specified as 12-bit DAC running at a sampling rate of 50kHz, but this doesn't tell the whole ...
0
votes
3answers
53 views

Can someone explain the mysterious non-behavior of the DAC0808 and DAC0832, is there a difference between them on the output side?

So I have been very happy successful with my R-2R network ladder DAC powered by 74LS245 or similar bus transceivers, with 1% resistors, for nearly perfect output voltage going from 0 to +5 rail, with ...
0
votes
2answers
66 views

How to convert pixel map to voltage/angles?

My end goal is trying to get something rendered using lasers and a MEMS scanning mirror. There are not that many resources online for this, but it seems like the basic idea is pretty applicable to ...
0
votes
2answers
83 views

I need diodes to build a R-2R ladder DAC from original TTL chips (not Arduino) don't I?

I am thinking through how I could turn my analog oscilloscope with X-Y mode and Z input in the back into a simple computer monitor. I am learning about generating a proper sawtooth with a constant ...
1
vote
1answer
151 views

Why does my sine wave signal look like this with a 20kHz sampling rate?

its been a while. Back at it again with another question. My ADC sampling rate is set to 20kHZ. I took pictures of the ouput DAC at three different frequencies at 770Hz * 2 = 1540Hz (Nyquist ...
1
vote
1answer
42 views

STM32G474 signal generation with DMA + DAC using STM32CubeMX HAL

I am trying to generate a periodic signal with the DAC on the STM32G474 using DMA. There are tons of examples of this, and I´ve done the same in the past with an STM32L4 and F4 with no issues. However,...
2
votes
1answer
37 views

Help in understanding Audio line output stage

I was trying to understand the audio line output schematic shown below but couldn't make sense of it. This circuit comes after the output of an Audio DAC PCM1725, followed by an active 1st order low ...
0
votes
1answer
96 views

Can a DAC produce only positive output?

I'm working on a project requiring production of sinusoidal waves. Normally, from my understanding, a DAC can produce a waveform that alternates between a negative voltage and a positive voltage, but ...
1
vote
1answer
41 views

PIC's DAC buffer

I'm designing a circuit that exploits the DAC available in the PIC16F18344 and the datasheet (as well as other Q&A here) suggests to put a buffer on the DAC output because it can provide only a ...
0
votes
1answer
65 views

Using PWM to create DAC

It is my understanding that a square wave can be converted to a smooth analog signal via passive low pass filter. However, this low pass filter acts like an integrator which ideally achieves the same ...
0
votes
1answer
70 views

Can FPGA VGA be used as DAC?

Can a VGA output be used to output an analog signal? I'm using an FPGA to program and control the VGA output. I want to use it as a DAC to control an external circuit (I'll be doing PID control). ...
0
votes
0answers
57 views

DAC “aliasing” of harmonics

While reading articles and application notes regarding DACs and their output spectrum, I stumbled across aliasing of higher harmonics to the first Nyquist band. For example, when generating a single ...
0
votes
0answers
48 views

Any alternative to relay?

I am working on Project which is to make a PID based line follower but the constraints are 1.5 IR Sensors are allowed 2.only 9V battery 3.No Micro controller only discrete components I though of ...
1
vote
1answer
56 views

Which formula is correct for a Digital-Analog-Converter?

I am looking for the formula for an ideal DAC: a device that takes in a digital code and returns an analog value rfwireless-world.com claims $$V_{out} = D\cdot V_{ref}/(2^N-1)$$ where D is the ...
0
votes
1answer
38 views

ADC and DAC center frequency upper limit

I have some RFSoc Evaluation Kit with 12-bit DACs and ADCs that support nearly 4 GSPS I found out that sampling rate is related to bandwidth. From experiment, I found out that this board's DAC and ...
0
votes
1answer
18 views

Is it possible to replace the ref pin of AD620A with a fixed voltage?

I am trying to implement the below circuit (from) without ADuC842, I will use Arduino mega2560 ADC. the circuit generates -5V to 5V rail to rail voltages for ad620a and they control ref voltage via ...
0
votes
0answers
24 views

Mixing Symfonisk high/low-mid output channels

So i've been messing with this issue for a couple of months and it's just that my electronics knowledge isn't reaching far enough. I have a Symfonisk speaker by Ikea, which outputs a low and high/mid ...
0
votes
1answer
26 views

Dual channel DAC - Combined output mode - Possible downsides

Can a Dual channel DAC be operated with both output channels tied together to achieve a higher output current? What would be possible downsides? Background: I require an programmable voltage ...
0
votes
1answer
55 views

How to correctly configure AD9951 for 10Vp-p, 100Mhz sinusoidal waveform

I am trying to build a function generator for sinusoidal waveform with frequencies ranging from 1 Khz to 100 Mhz with amplitude of about 4 Vp-p to 10 Vp-p. I have been looking at AD9951 DDS that takes ...
1
vote
3answers
85 views

Analog voltage control via Microcontroller

I have a BLDC motor driver that's powered at 24v DC. The control for this driver is via a line that modulates speed based on the voltage applied (between 0 and 24v) so a voltage divider using a pot ...
0
votes
1answer
72 views

How to synchronize a DAC?

How can I reduce the delay happening between writes to the DAC (as shown below)? The yellow represents how long the DAC writes last for which is 232.9us The green represents the output from the DAC, ...
0
votes
1answer
76 views

What does this transistor, parallel to the audio output load, do?

I'm reverse-engineering the analog frontend of an SPDIF-to-analog converter. I'd like to increase its output level before feeding the audio (AUX) input of a Bluetooth speaker, which seems to amplify ...
4
votes
3answers
174 views

DAC multiplexer glitch

UPDATE 20th May: Swapped the analog output regulator for an AZ1117-EH based on Peter Smith's suggestion, removed C1306, so now the 3.3VA output should be ok at least based on the datasheet. However, ...
0
votes
5answers
50 views

Converting a digital incremental encoder to an analogue voltage

Is there a way to convert the output of an incremental encoder (50% duty cycle) to an analogue voltage using analogue components? This is because the interface that I'm using doesn't handle a large ...
2
votes
2answers
109 views

Adjusting buck regulator with DAC

I have a buck regulator (say the TPS82085) which I would like to use to regulate a 5V supply to various values ranging from 1.2V to 3.3V. It seems that a DAC is a good way to do it (I initially ...
0
votes
1answer
86 views

Attenuating mid-supply biased audio signal before AC coupled audio amplifier

The context here is simple volume control of a DAC generated audio signal with a potentiometer before an audio amplifier stage in a single supply, battery powered system. Is there any advantage to ...
0
votes
1answer
34 views

ADN8810 control frequency from Arduino Due

Resurrecting a 3 year old project. I'm skilled software engineer but new to electronics so it's a bit of a walk in the wood at night without a flashlight. The pcb has a ADN8810 - 12-bit current source ...
1
vote
2answers
73 views

STM32L432KC: Why is the output of the DAC looking like this?

Just had a quick question as to why the output of the DAC looks different at varying frequencies. Using a STM32L432KC that has a 12-bit ADC and 12-bit DAC. Figure 1. Initial Start Figure 2. I just ...
1
vote
3answers
115 views

Offset and scale a DAC output with opamps

I am trying to make a simple oscillator controller with an arduino and a DAC, to learn electronics. I need to send a voltage between 12V and 17V to my oscillator to control its frequency. I got a 24V ...
0
votes
1answer
41 views

NUCLEO STM32L432KC: How to use its DAC?

Another question yet again. I am having troubles trying to use the DAC on the STLM32L432KC chip. Using PA_4 pin which only has DAC1 (Channel 1.) When I probe the pin nothing appears on it. Pinout ...
0
votes
1answer
41 views

Clock generation on FPGA pin

I am trying to interface an FPGA to a DAC device. The DAC has a JESD204B interface so the data clock is embedded in the serial data lane (it uses the 8B/10B encoding). The DAC still needs a clock ...
0
votes
1answer
83 views

Voltage Reference Resistor Calculation (Shunt)

I am trying to design a circuit using this LM4040-5 Voltage Precision Reference for my DAC8554, but I can't for the life of me figure out how to properly calculate the resistor value to be applied. ...
0
votes
1answer
47 views

ENOB of an ADC or DAC

When calculating an ADC or DAC ENOB, do you use SNDR or SINAD, SFDR, SNR or SDR or something else ? I have see all used in calculating the ENOB, so which one is correct ?
0
votes
1answer
54 views

Absolute and Relative Accuracy of DAC

I'm working on an assignment to design an R2R DAC. The DAC works, however I am asked to find the absolute and relative accuracies. I checked on various sources, the definitions seem a bit vague to me. ...
0
votes
0answers
25 views

Resistive DAC - total equivalent resistance

[Marcel Pelgrom Analog-to-Digital Conversion] Hi, I'm having some trouble doing this problem. I drew out the whole thing by hand, I don't know how to simplify these further.
0
votes
1answer
53 views

DAC update rate vs ADC update rate?

I am building a system for ultrasonic distance measurement that implements CDMA coding access. Therefore, I am using DAC with 3 outputs for generation of three different signals and an ADC for ...
1
vote
1answer
49 views

How to send different data to three DACs at the same time?

I am building ultrasonic system that needs to generate three different signals for three transducers at the same time.The system is controlled via DSP. Currently I have a DAC with 4 outputs, but as I ...
2
votes
1answer
62 views

What's happening to my DAC signal here?

I have an Atmel ATmega328P using a 14-Bit MAXIM MAX544 DAC. I have the ADC configured and running at 38kHz in running mode while the SPI is clocked at 4 MHz. I feel this should be more than equate ...
0
votes
0answers
60 views

How to synchronize TI high precision ADC and DAC via SPI?

I am working with DAC80504EVM and ADS8920BEVM-PKD from TI. I am trying to design a system which uses TMDSEVM6657EVM processor board to communicate with these converters via SPI. However, I am trying ...
1
vote
1answer
87 views

Driving a 8Ω speaker from a 3.3v DAC

I'm looking for some advice on driving an 8Ω 2W speaker near full power from a 3.3v DAC. I've put together a current amplifier using a rail-to-rail op amp and two BJTs, but it's not supplying as much ...
0
votes
0answers
22 views

Bipolar voltage reference for DAC AD5791

I am constructing a circuit utilizing the DAC AD5791 from Analog Devices. As shown in the application example in the datasheet, a bipolar voltage reference with +/- 10 V is needed. In fact, the ...
0
votes
0answers
124 views

How to refresh many capacitors quickly

I'm working in an embedded space, where I need to keep voltages on a bunch of capacitors (RC circuits). Currently, I have an EEPROM with some data value for each capacitor. There is 1 DAC that feeds a ...
1
vote
0answers
46 views

STM32F4 DSP noise with inbuilt ADC and DAC

I'm trying to perform signal filtering with STM32F407VGT. I've set up the ADC and DAC to work synchronously, triggered by a timer at 42kHz, and using DMA. The idea is to process half of the buffer ...
0
votes
0answers
41 views

DAC output signal

Image showing the electrical characteristics of two signal. Can anyone explain what is meant by these electrical characteristics of signal?
0
votes
1answer
35 views

How to connect DAC - MCP4725 to the speaker?

I don't have any experience in hardware. I am writing a simple program in Raspberry pi to write audio samples to the DAC MCP4725. Next, I want to connect to the small speaker. What should be the ...
2
votes
1answer
29 views

Offset Error Changing after Calibration of Output

I have a circuit (shown in figure 1) that is supposed to function as a precision analog output. It outputs a DC voltage in the range of either ±10V or ±5V, depending on which gain resistors are used. ...

1
2 3 4 5
12